Difference between revisions of "Template:ContentCell"
From MechWarrior: Living Legends Wiki
DragonGod004 (talk | contribs) (Implement ContentCell for Main Page) |
DragonGod004 (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | <includeonly>|style="{{#if: {{{1|}}}|width:{{{1}}};|}} | + | <includeonly>|style="{{#if: {{{1|}}}|width:{{{1}}};|}}" class="notice metadata plainlinks contentcell"|{{#if: {{{2|}}}| |
− | + | <div class="titlebar">{{#if: {{{link|}}}|[{{{link}}} {{{2}}}]|{{{2}}} }}</div>}}<div style="padding-left: 1em;"> | |
{{#ifeq: {{{3|}}}||{{:Main Page/{{#replace: {{#replace: {{{2}}}|]|}}|[|}} }}|{{{3}}}}} | {{#ifeq: {{{3|}}}||{{:Main Page/{{#replace: {{#replace: {{{2}}}|]|}}|[|}} }}|{{{3}}}}} | ||
</div>{{#if: {{{4|}}}| | </div>{{#if: {{{4|}}}| | ||
− | + | <div class="titlebar">{{#if: {{{link2|}}}|[{{{link2}}} {{{4}}}]|{{{4}}} }} </div><div style="padding-left: 1em;"> | |
{{#ifeq: {{{5|}}}||{{:Main Page/{{#replace: {{#replace: {{{4}}}|]|}}|[|}} }}|{{{5}}}}} | {{#ifeq: {{{5|}}}||{{:Main Page/{{#replace: {{#replace: {{{4}}}|]|}}|[|}} }}|{{{5}}}}} | ||
</div>}}{{#if: {{{6|}}}| | </div>}}{{#if: {{{6|}}}| | ||
− | + | <div class="titlebar">{{#if: {{{link3|}}}|[{{{link3}}} {{{6}}}]|{{{6}}} }} </div><div style="padding-left: 1em;"> | |
{{#ifeq: {{{7|}}}||{{:Main Page/{{#replace: {{#replace: {{{6}}}|]|}}|[|}} }}|{{{7}}}}} | {{#ifeq: {{{7|}}}||{{:Main Page/{{#replace: {{#replace: {{{6}}}|]|}}|[|}} }}|{{{7}}}}} | ||
</div>}}</includeonly> | </div>}}</includeonly> |