Difference between revisions of "Template:Extension"
code: made hook type aware of templatemode=nocats
>Egfrank~mediawikiwiki (expanded the maximum number of hooks to 10) |
>Egfrank~mediawikiwiki (code: made hook type aware of templatemode=nocats) |
||
Line 21: | Line 21: | ||
{{#if:{{{hook1|}}}| | {{#if:{{{hook1|}}}| | ||
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Hooks used''' | <!-- -->{{!}} style="vertical-align: top" {{!}} '''Hooks used''' | ||
<!-- -->{{!}} {{Foreach|Extension/HookInUse|delim=<br/>|{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|{{{hook7|}}}|{{{hook8|}}}|{{{hook9|}}}|{{{hook10|}}}}} | <!-- -->{{!}}{{#ifeq:{{{templatemode|}}}|nocats | ||
|{{Foreach|Extension/HookInUseNoCats|delim=<br/>|{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|{{{hook7|}}}|{{{hook8|}}}|{{{hook9|}}}|{{{hook10|}}}}} | |||
|{{Foreach|Extension/HookInUse|delim=<br/>|{{{hook1}}}|{{{hook2|}}}|{{{hook3|}}}|{{{hook4|}}}|{{{hook5|}}}|{{{hook6|}}}|{{{hook7|}}}|{{{hook8|}}}|{{{hook9|}}}|{{{hook10|}}}}} | |||
}} | }} | ||
|- | |- |