Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
Update type (made an error)
>HappyDog m ({{#lc: to {{lc:) |
>HappyDog (Update type (made an error)) |
||
Line 12: | Line 12: | ||
{{#if:{{{type<includeonly>|</includeonly>}}}| | {{#if:{{{type<includeonly>|</includeonly>}}}| | ||
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Type:''' | <!-- -->{{!}} style="vertical-align: top" {{!}} '''Type:''' | ||
<!-- -->{{!}} {{#switch: {{lc: {{{type}}}}}|special=Special Page[[Category:Special page extensions]]|pfunc=Parser Function[[Category:Parser function extensions]]|hook=Hook[[Category: | <!-- -->{{!}} {{#switch: {{lc: {{{type}}}}}|special=Special Page[[Category:Special page extensions]]|pfunc=Parser Function[[Category:Parser function extensions]]|parser=Parser Extension[[Category:Parser extensions]]|hook=Hook[[Category:Hook extensions]]|interface=User Interface[[Category:User interface extensions]]|{{{type}}}<includeonly>[[Category:Category to catch extensions with an unrecognised type]]</includeonly>}} | ||
}} | }} | ||
|- | |- | ||
Line 71: | Line 71: | ||
Can contain any value, but the following special values ensure proper categorisation: | Can contain any value, but the following special values ensure proper categorisation: | ||
* ''pfunc'' - Parser Function | * ''pfunc'' - Parser Function | ||
* ''hook'' - | * ''parser'' - Parser Extension (new tag) | ||
* ''hook'' - Hook Extension (new parser hook) | |||
* ''special'' - Special Page | * ''special'' - Special Page | ||
* ''interface'' - User interface extension (e.g. javascript code). | * ''interface'' - User interface extension (e.g. javascript code). |