Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Egfrank~mediawikiwiki
(changed delimiters between hooks in use to <br/>)
>Egfrank~mediawikiwiki
(allowed display of type1,type2,type3, etc in nocat mode)
Line 12: Line 12:
{{#if:{{{type|}}}{{{type1|}}}|
{{#if:{{{type|}}}{{{type1|}}}|
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Type'''
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Type'''
<!-- -->{{!}}{{#ifeq:{{{templatemode|}}}|nocats|{{Extension/TypeSwitch|_demomode_}}
<!-- -->{{!}}{{#ifeq:{{{templatemode|}}}|nocats
|{{Foreach|Extension/TypeSwitch|delim=,|{{{type1|{{{type|missing}}}}}}|{{{type2|}}}|{{{type3|}}}|{{{type4|}}}|{{{type5|}}}|{{{type6|}}}}}}}
|{{Foreach|Extension/TypeSwitchNoCats|delim=,|{{{type1|{{{type|missing}}}}}}|{{{type2|}}}|{{{type3|}}}|{{{type4|}}}|{{{type5|}}}|{{{type6|}}}}}
|{{Foreach|Extension/TypeSwitch|delim=,|{{{type1|{{{type|missing}}}}}}|{{{type2|}}}|{{{type3|}}}|{{{type4|}}}|{{{type5|}}}|{{{type6|}}}}}
}}
|{{Extension/TypeSwitch|_missing_}}
|{{Extension/TypeSwitch|_missing_}}
}}
}}

Revision as of 16:48, 8 September 2007