You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Tabs: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{TabsTop|backgroundcolor={{{backgroundcolor}}}}} | {{TabsTop|backgroundcolor={{{backgroundcolor}}}}} | ||
{{Tab{{ #ifeq:{{{This}}}|1|1|2}}|{{{1}}}}} | {{Tab{{ #ifeq:{{{This}}}|1|1|2#ifeq:{{{Min}}}|1|b|}}|{{{1}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | ||
{{ #if: {{{2|}}} |{{Tab{{ #ifeq:{{{This}}}|2|1|2}}|{{{2}}}}} | {{ #if: {{{2|}}} |{{Tab{{ #ifeq:{{{This}}}|2|1|2#ifeq:{{{Min}}}|1|b|}} |{{{2}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | ||
{{ #if: {{{3|}}} |{{Tab{{ #ifeq:{{{This}}}|3|1|2}}|{{{3}}}}} | {{ #if: {{{3|}}} |{{Tab{{ #ifeq:{{{This}}}|3|1|2#ifeq:{{{Min}}}|1|b|}} |{{{3}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | ||
{{ #if: {{{4|}}} |{{Tab{{ #ifeq:{{{This}}}|4|1|2}}|{{{4}}}}} | {{ #if: {{{4|}}} |{{Tab{{ #ifeq:{{{This}}}|4|1|2#ifeq:{{{Min}}}|1|b|}} |{{{4}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | ||
{{ #if: {{{5|}}} |{{Tab{{ #ifeq:{{{This}}}|5|1|2}}|{{{5}}}}} | {{ #if: {{{5|}}} |{{Tab{{ #ifeq:{{{This}}}|5|1|2#ifeq:{{{Min}}}|1|b|}} |{{{5}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | ||
{{ #if: {{{6|}}} |{{Tab{{ #ifeq:{{{This}}}|6|1|2}}|{{{6}}}}} | {{ #if: {{{6|}}} |{{Tab{{ #ifeq:{{{This}}}|6|1|2#ifeq:{{{Min}}}|1|b|}} |{{{6}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | ||
{{ #if: {{{7|}}} |{{Tab{{ #ifeq:{{{This}}}|7|1|2}}|{{{7}}}}} | {{ #if: {{{7|}}} |{{Tab{{ #ifeq:{{{This}}}|7|1|2#ifeq:{{{Min}}}|1|b|}} |{{{7}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | ||
{{ #if: {{{8|}}} |{{Tab{{ #ifeq:{{{This}}}|8|1|2}}|{{{8}}}}} | {{ #if: {{{8|}}} |{{Tab{{ #ifeq:{{{This}}}|8|1|2#ifeq:{{{Min}}}|1|b|}} |{{{8}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | ||
{{ #if: {{{9|}}} |{{Tab{{ #ifeq:{{{This}}}|9|1|2}}|{{{9}}}}} | {{ #if: {{{9|}}} |{{Tab{{ #ifeq:{{{This}}}|9|1|2#ifeq:{{{Min}}}|1|b|}} |{{{9}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | ||
{{ #if: {{{10|}}} |{{Tab{{ #ifeq:{{{This}}}|10|1|2}}|{{{10}}}}}|}}|}}}}}}}}}}}}}}}} | {{ #if: {{{10|}}} |{{Tab{{ #ifeq:{{{This}}}|10|1|2#ifeq:{{{Min}}}|1|b|}} |{{{10}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | ||
{{TabsBottom}}<noinclude> | {{ #if: {{{11|}}} |{{Tab{{ #ifeq:{{{This}}}|11|1|2#ifeq:{{{Min}}}|1|b|}} |{{{11}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | ||
{{ #if: {{{12|}}} |{{Tab{{ #ifeq:{{{This}}}|12|1|2#ifeq:{{{Min}}}|1|b|}} |{{{12}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | |||
{{ #if: {{{13|}}} |{{Tab{{ #ifeq:{{{This}}}|13|1|2#ifeq:{{{Min}}}|1|b|}} |{{{13}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | |||
{{ #if: {{{14|}}} |{{Tab{{ #ifeq:{{{This}}}|14|1|2#ifeq:{{{Min}}}|1|b|}} |{{{14}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | |||
{{ #if: {{{15|}}} |{{Tab{{ #ifeq:{{{This}}}|15|1|2#ifeq:{{{Min}}}|1|b|}} |{{{15}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | |||
{{ #if: {{{16|}}} |{{Tab{{ #ifeq:{{{This}}}|16|1|2#ifeq:{{{Min}}}|1|b|}} |{{{16}}} |TabColor={{{TabColor|}}}|backgroundcolor={{{backgroundcolor|}}} }} | |||
}} }} }} }} }} }} }} }} }} }} }} }} }} }} }} | |||
{{TabsBottom|backgroundcolor=#f30}}<noinclude> | |||
Usage: 1 to | Usage: 1 to 16 parameters, for each tab to put on the page. After the last item, whichever parameter is the current page is indicated by '''This=''' and the tab number to mark as the current tab, from 1 to 9. '''This=1''' or '''This=5''' etc. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 14:40, 14 March 2015
{{{1}}} |
Usage: 1 to 16 parameters, for each tab to put on the page. After the last item, whichever parameter is the current page is indicated by This= and the tab number to mark as the current tab, from 1 to 9. This=1 or This=5 etc.