Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Egfrank~mediawikiwiki
(allowed display of type1,type2,type3, etc in nocat mode)
>Egfrank~mediawikiwiki
(fixed bug: blank type in templatemode=nocats still adds cats)
Line 10: Line 10:
}}
}}
|-
|-
{{#if:{{{type|}}}{{{type1|}}}|
{{#ifeq:{{{templatemode|}}}|nocats
|{{#if:{{{type|}}}{{{type1|}}}|
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Type'''
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Type'''
<!-- -->{{!}}{{#ifeq:{{{templatemode|}}}|nocats
<!-- -->{{!}}{{#ifeq:{{{templatemode|}}}|nocats
|{{Foreach|Extension/TypeSwitchNoCats|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|}}}}}
|{{Foreach|Extension/TypeSwitch|delim=,|{{{type1|{{{type|_missing_}}}}}}|{{{type2|}}}|{{{type3|}}}|{{{type4|}}}|{{{type5|}}}|{{{type6|}}}}}
}}
}}
|{{Extension/TypeSwitch|_missing_}}
|{{#ifeq:{{{templatemode|}}}||{{Extension/TypeSwitch|_missing_}}}}
}}
}}
|-
|-

Revision as of 21:08, 8 September 2007