Difference between revisions of "Template:DivTabs"
(KeybladeSpyMaster, Removing "Doc" templates) |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq: {{{name|}}} | {{FULLPAGENAME}} | {{#ifeq: {{{name|}}} | {{FULLPAGENAME}} | ||
| {{#vardefine: round-main | {{roundtop|15px}} | | {{#vardefine: round-main | {{roundtop|15px}} }} {{#vardefine: round-contents | {{roundtr|15px}}{{roundbottom|15px}} }} | ||
| {{#vardefine: round-main | {{round|15px}} | | {{#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}} | | {{#vardefine: round-1 | {{roundtop|15px}} }} | ||
| {{#vardefine: round-1 | {{round|15px}} | | {{#vardefine: round-1 | {{round|15px}} }} | ||
}}{{#ifeq: {{{2|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }} | }}{{#ifeq: {{{2|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }} | ||
| {{#vardefine: round-2 | {{roundtop|15px}} | | {{#vardefine: round-2 | {{roundtop|15px}} }} | ||
| {{#vardefine: round-2 | {{round|15px}} | | {{#vardefine: round-2 | {{round|15px}} }} | ||
}}{{#ifeq: {{{3|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }} | }}{{#ifeq: {{{3|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }} | ||
| {{#vardefine: round-3 | {{roundtop|15px}} | | {{#vardefine: round-3 | {{roundtop|15px}} }} | ||
| {{#vardefine: round-3 | {{round|15px}} | | {{#vardefine: round-3 | {{round|15px}} }} | ||
}}{{#ifeq: {{{4|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }} | }}{{#ifeq: {{{4|}}} | {{#titleparts: {{PAGENAME}} | 1 | 2 }} | ||
| {{#vardefine: round-4 | {{roundtop|15px}} | | {{#vardefine: round-4 | {{roundtop|15px}} }} | ||
| {{#vardefine: round-4 | {{round|15px}} | | {{#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}};"><noinclude> | <div style="{{#var: round-contents}}; 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> | ||
<noinclude> | <noinclude> | ||
Q designed by [[wikisimpsons:User:Simpsons88|Simpsons88]]. | Q designed by [[wikisimpsons:User:Simpsons88|Simpsons88]]. | ||
[[Category:Templates|Tab]][[sv:Mall:Tab]] | [[Category:Templates|Tab]][[sv:Mall:Tab]] | ||
</noinclude> | </noinclude> |