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:
{{#ifeq: {{{name|}}} | {{FULLPAGENAME}}
{{#ifeq: {{{name|}}} | {{FULLPAGENAME}}
| {{#vardefine: round-main | {{roundtop|15px}} 0-1;}}  
| {{#vardefine: round-main | {{roundtop|15px}} }} {{#vardefine: round-contents | {{roundtr|15px}}{{roundbottom|15px}} }}  
| {{#vardefine: round-main | {{round|15px}} 0-2; }}
| {{#vardefine: round-main | {{round|15px}} }} {{#vardefine: round-contents | {{round|15px}} }}  
}}{{#ifeq: {{{1|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }}  
}}{{#ifeq: {{{1|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }}  
| {{#vardefine: round-1 | {{roundtop|15px}} 1-1; }}  
| {{#vardefine: round-1 | {{roundtop|15px}} }}  
| {{#vardefine: round-1 | {{round|15px}} 1-2;}}
| {{#vardefine: round-1 | {{round|15px}} }}
}}{{#ifeq: {{{2|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }}  
}}{{#ifeq: {{{2|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }}  
| {{#vardefine: round-2 | {{roundtop|15px}} 2-1; }}  
| {{#vardefine: round-2 | {{roundtop|15px}} }}  
| {{#vardefine: round-2 | {{round|15px}} 2-2;}}
| {{#vardefine: round-2 | {{round|15px}} }}
}}{{#ifeq: {{{3|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }}  
}}{{#ifeq: {{{3|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }}  
| {{#vardefine: round-3 | {{roundtop|15px}} 3-1; }}  
| {{#vardefine: round-3 | {{roundtop|15px}} }}  
| {{#vardefine: round-3 | {{round|15px}} 3-2;}}
| {{#vardefine: round-3 | {{round|15px}} }}
}}{{#ifeq: {{{4|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }}  
}}{{#ifeq: {{{4|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }}  
| {{#vardefine: round-4 | {{roundtop|15px}} 4-1; }}  
| {{#vardefine: round-4 | {{roundtop|15px}} }}  
| {{#vardefine: round-4 | {{round|15px}} 4-2;}}
| {{#vardefine: round-4 | {{round|15px}} }}
}}<div style="text-align:center">
}}<div style="text-align:center">
{{#if: {{{main|}}} |  
{{#if: {{{main|}}} |  
Line 23: Line 23:
{{#if: {{{4|}}} | {{DivTabs/cell|colorscheme={{{colorscheme}}}|name={{{name}}}|{{{4}}} | round =  {{#var: round-4}} }}  }}
{{#if: {{{4|}}} | {{DivTabs/cell|colorscheme={{{colorscheme}}}|name={{{name}}}|{{{4}}} | round =  {{#var: round-4}} }}  }}
</div>
</div>
<div style="{{round}};clear:both; width:98%; padding:5px; border:2px solid #{{{{{colorscheme|Square Enix}}} 3rd color}}; background-color:#{{{{{colorscheme|Square Enix}}} 1st color}};color:#{{{{{colorscheme|Square Enix}}} text color}};"><noinclude>
<div style="{{#var: round-content}}; clear:both; width:98%; padding:5px; border:2px solid #{{{{{colorscheme|Square Enix}}} 3rd color}}; background-color:#{{{{{colorscheme|Square Enix}}} 1st color}};color:#{{{{{colorscheme|Square Enix}}} text color}};"><noinclude>
</div>
</div>



Revision as of 15:28, 11 March 2012