Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Siebrand
(allow up to 30 hooks, needed for FlaggedRevs)
>Aaron Schulz
(mv down)
Line 17: Line 17:
}}
}}
|{{#ifeq:{{{templatemode|}}}|nocats||{{Extension/TypeSwitch|_missing_}}}}
|{{#ifeq:{{{templatemode|}}}|nocats||{{Extension/TypeSwitch|_missing_}}}}
}}
|-
{{#if:{{{hook1|}}}|
<!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#hook|'''Hooks used''']]
<!-- -->{{!}}{{#ifeq:{{{templatemode|}}}|nocats
|{{Foreach|Extension/HookInUseNoCats|delim=<br/>|{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|{{{hook7|}}}|{{{hook8|}}}|{{{hook9|}}}|{{{hook10|}}}|{{{hook11|}}}|{{{hook12|}}}|{{{hook13|}}}|{{{hook14|}}}|{{{hook15|}}}|{{{hook16|}}}|{{{hook17|}}}|{{{hook18|}}}|{{{hook19|}}}|{{{hook20|}}}|{{{hook21|}}}|{{{hook22|}}}|{{{hook23|}}}|{{{hook24|}}}|{{{hook25|}}}|{{{hook26|}}}|{{{hook27|}}}|{{{hook28|}}}|{{{hook29|}}}|{{{hook30|}}}}}
|{{Foreach|Extension/HookInUse|delim=<br/>|{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|{{{hook7|}}}|{{{hook8|}}}|{{{hook9|}}}|{{{hook10|}}}|{{{hook11|}}}|{{{hook12|}}}|{{{hook13|}}}|{{{hook14|}}}|{{{hook15|}}}|{{{hook16|}}}|{{{hook17|}}}|{{{hook18|}}}|{{{hook19|}}}|{{{hook20|}}}|{{{hook21|}}}|{{{hook22|}}}|{{{hook23|}}}|{{{hook24|}}}|{{{hook25|}}}|{{{hook26|}}}|{{{hook27|}}}|{{{hook28|}}}|{{{hook29|}}}|{{{hook30|}}}}}
}}
}}
}}
|-
|-
Line 65: Line 57:
<!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#example|'''Example''']]
<!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#example|'''Example''']]
<!-- -->{{!}} {{{example}}}
<!-- -->{{!}} {{{example}}}
}}
|-
{{#if:{{{hook1|}}}|
<!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#hook|'''Hooks used''']]
<!-- -->{{!}}{{#ifeq:{{{templatemode|}}}|nocats
|{{Foreach|Extension/HookInUseNoCats|delim=<br/>|{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|{{{hook7|}}}|{{{hook8|}}}|{{{hook9|}}}|{{{hook10|}}}|{{{hook11|}}}|{{{hook12|}}}|{{{hook13|}}}|{{{hook14|}}}|{{{hook15|}}}|{{{hook16|}}}|{{{hook17|}}}|{{{hook18|}}}|{{{hook19|}}}|{{{hook20|}}}|{{{hook21|}}}|{{{hook22|}}}|{{{hook23|}}}|{{{hook24|}}}|{{{hook25|}}}|{{{hook26|}}}|{{{hook27|}}}|{{{hook28|}}}|{{{hook29|}}}|{{{hook30|}}}}}
|{{Foreach|Extension/HookInUse|delim=<br/>|{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|{{{hook7|}}}|{{{hook8|}}}|{{{hook9|}}}|{{{hook10|}}}|{{{hook11|}}}|{{{hook12|}}}|{{{hook13|}}}|{{{hook14|}}}|{{{hook15|}}}|{{{hook16|}}}|{{{hook17|}}}|{{{hook18|}}}|{{{hook19|}}}|{{{hook20|}}}|{{{hook21|}}}|{{{hook22|}}}|{{{hook23|}}}|{{{hook24|}}}|{{{hook25|}}}|{{{hook26|}}}|{{{hook27|}}}|{{{hook28|}}}|{{{hook29|}}}|{{{hook30|}}}}}
}}
}}
}}
|}
|}

Revision as of 05:02, 4 February 2008