Difference between revisions of "Template:Extension"

56 bytes added ,  03:58, 17 September 2007
added documentation links to type and hook labels
>Egfrank~mediawikiwiki
(code: fixedbug)
>Egfrank~mediawikiwiki
(added documentation links to type and hook labels)
Line 11: Line 11:
|-
|-
{{#if:{{{type|}}}{{{type1|}}}|
{{#if:{{{type|}}}{{{type1|}}}|
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Type'''
<!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#type|'''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|}}}}}
Line 20: Line 20:
|-
|-
{{#if:{{{hook1|}}}|
{{#if:{{{hook1|}}}|
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Hooks used'''
<!-- -->{{!}} style="vertical-align: top" {{!}} [[Template:Extension#hook|'''Hooks used''']]
<!-- -->{{!}}{{#ifeq:{{{templatemode|}}}|nocats
<!-- -->{{!}}{{#ifeq:{{{templatemode|}}}|nocats
|{{Foreach|Extension/HookInUseNoCats|delim=<br/>|{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|{{{hook7|}}}|{{{hook8|}}}|{{{hook9|}}}|{{{hook10|}}}}}
|{{Foreach|Extension/HookInUseNoCats|delim=<br/>|{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|{{{hook7|}}}|{{{hook8|}}}|{{{hook9|}}}|{{{hook10|}}}}}