Welcome to Square Enix Wiki! Be sure to check out our To-Do List to see what work we need done!

Difference between revisions of "Template:DivTabs"

From Square Enix Wiki, the Fan-wiki for all things Square Enix
Jump to navigationJump to search
Line 1: Line 1:
<div style="text-align:center">
{{#ifeq: {{{main|}}} | {{PAGENAME}}
| {{#vardefine: round-main | {{roundtop|15px}} 0-1; }}
| {{#vardefine: round-main | {{round|15px}} 0-2; }}
}}{{#ifeq: {{{1|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }}
| {{#vardefine: round-1 | {{roundtop|15px}} 1-1; }}
| {{#vardefine: round-1 | {{round|15px}} 1-2;}}
}}<div style="text-align:center">
{{#if: {{{main|}}} |  
{{#if: {{{main|}}} |  
{{DivTabs/cell|name={{{name}}}|{{{1}}}|main={{{main}}}|main-text={{{main-text}}}}}  
{{DivTabs/cell|name={{{name}}}|{{{1}}}|main={{{main}}}|main-text={{{main-text}}} | round =  {{#var: round-main}} }} 
|}}  
|}}  
{{#if: {{{1|}}} | {{DivTabs/cell|name={{{name}}}|{{{1}}}}} }}
{{#if: {{{1|}}} | {{DivTabs/cell|name={{{name}}}|{{{1}}} | round =  {{#var: round1}} }}   }}
{{#if: {{{2|}}} | {{DivTabs/cell|name={{{name}}}|{{{2}}}}} }}  
{{#if: {{{2|}}} | {{DivTabs/cell|name={{{name}}}|{{{2}}} | round =  {{#var: round2}} }}   }}
{{#if: {{{3|}}} | {{DivTabs/cell|name={{{name}}}|{{{3}}}}} }}
{{#if: {{{3|}}} | {{DivTabs/cell|name={{{name}}}|{{{3}}} | round =  {{#var: round3}} }}   }}
{{#if: {{{4|}}} | {{DivTabs/cell|name={{{name}}}|{{{4}}}}} }}
{{#if: {{{4|}}} | {{DivTabs/cell|name={{{name}}}|{{{4}}} | round =  {{#var: round4}} }}   }}
</div>
</div>
<div style="clear:both; width:98%; padding:5px; border:2px solid #000000; background-color:#FFFDD0"><noinclude>
<div style="clear:both; width:98%; padding:5px; border:2px solid #000000; background-color:#FFFDD0"><noinclude>

Revision as of 14:35, 3 March 2012