Difference between revisions of "Template:ContentCell"
Jump to navigation
Jump to search
(Created page with "This template creates table cells, such as on the Main page. Centralizing them into a template allows for global editing of the style in the template without having to edit mu...") |
|||
Line 1: | Line 1: | ||
− | + | <includeonly>|style="{{#if: {{{1|}}}|width:{{{1}}};|}}background: #F9F9F9; border: 1px solid #AAAAAA; vertical-align: top; -moz-border-radius: 5px; -webkit-border-radius: 5px; padding: 7px;" class="notice metadata plainlinks"|{{#if: {{{2|}}}| | |
− | + | {{TitleBar|{{#if: {{{link|}}}|[{{{link}}} {{{2}}}]|{{{2}}} }}}}}}<div style="padding-left: 1em;"> | |
− | + | {{#ifeq: {{{3|}}}||{{:Main Page/{{#replace: {{#replace: {{{2}}}|]|}}|[|}} }}|{{{3}}}}} | |
− | + | </div>{{#if: {{{4|}}}| | |
− | + | {{TitleBar|{{#if: {{{link2|}}}|[{{{link2}}} {{{4}}}]|{{{4}}} }} }}<div style="padding-left: 1em;"> | |
− | + | {{#ifeq: {{{5|}}}||{{:Main Page/{{#replace: {{#replace: {{{4}}}|]|}}|[|}} }}|{{{5}}}}} | |
− | + | </div>}}{{#if: {{{6|}}}| | |
− | : | + | {{TitleBar|{{#if: {{{link3|}}}|[{{{link3}}} {{{6}}}]|{{{6}}} }} }}<div style="padding-left: 1em;"> |
− | : | + | {{#ifeq: {{{7|}}}||{{:Main Page/{{#replace: {{#replace: {{{6}}}|]|}}|[|}} }}|{{{7}}}}} |
− | : | + | </div>}}</includeonly><noinclude>[[Category:Wikistyle templates]]{{documentation}}</noinclude> |
− | |||
− | |||
− | |||
− | : | ||
− | : | ||
− | : | ||
− | |||
− | |||
− | : | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | </ | ||
− | |||
− | |||
− | < |