Difference between revisions of "Template:ContentCell"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
(Implement ContentCell for Main Page)
 
m
Line 1: Line 1:
<includeonly>|style="{{#if: {{{1|}}}|width:{{{1}}};|}}border: 1px solid #250b2d; vertical-align: top; -moz-border-radius: 5px; -webkit-border-radius: 5px; padding: 7px;" class="notice metadata plainlinks"|{{#if: {{{2|}}}|
+
<includeonly>|style="{{#if: {{{1|}}}|width:{{{1}}};|}}" class="notice metadata plainlinks contentcell"|{{#if: {{{2|}}}|
{{TitleBar|{{#if: {{{link|}}}|[{{{link}}} {{{2}}}]|{{{2}}} }}}}}}<div style="padding-left: 1em;">
+
<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|}}}|
{{TitleBar|{{#if: {{{link2|}}}|[{{{link2}}} {{{4}}}]|{{{4}}} }} }}<div style="padding-left: 1em;">
+
<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|}}}|
{{TitleBar|{{#if: {{{link3|}}}|[{{{link3}}} {{{6}}}]|{{{6}}} }} }}<div style="padding-left: 1em;">
+
<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>

Revision as of 02:33, 26 October 2017