Difference between revisions of "Template:Extension"

Jump to navigation Jump to search
620 bytes added ,  03:04, 10 February 2007
Added type field
>HappyDog
(Add 'type' field - plus temp category to locate extensions that use it.)
>HappyDog
(Added type field)
Line 12: Line 12:
{{#if:{{{type<includeonly>|</includeonly>}}}|
{{#if:{{{type<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Type:'''
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Type:'''
<!-- -->{{!}} {{{type}}}
<!-- -->{{!}} {{#switch: {{#lc: {{{type}}}}}|special=Special Page[[Category:Special page extensions]]|pfunc=Parser Function[[Category:Parser function extensions]]|hook=Hook[[Category:Parser extensions]]|interface=User Interface[[Category:User interface extensions]]|{{{type}}}<includeonly>[[Category:Category to catch extensions with an unrecognised type]]</includeonly>}}
}}
}}
|-
|-
Line 67: Line 67:
* ''release'' (stable version)
* ''release'' (stable version)
* ''unknown'' (default)
* ''unknown'' (default)
|-
| '''type''' || '''type of extension'''
Can contain any value, but the following special values ensure proper categorisation:
* ''pfunc'' - Parser Function
* ''hook'' - Parser Hook
* ''special'' - Special Page
* ''interface'' - User interface extension (e.g. javascript code).
Please add to this list if necessary.
|-
|-
| author    || author of the extension
| author    || author of the extension
Line 96: Line 104:
|name      =  
|name      =  
|status    =
|status    =
|type      =
|author    =
|author    =
|image    =
|image    =
Line 111: Line 120:
|}
|}


</noinclude><includeonly>{{DEFAULTSORT:{{{name|{{PAGENAME}}}}}}}[[Category:Extensions]][[Category:{{{status|unknown}}} status extensions]]{{#if: {{{type|}}}|[[Category:TEMP - Extension has type]]}}</includeonly>
</noinclude><includeonly>{{DEFAULTSORT:{{{name|{{PAGENAME}}}}}}}[[Category:Extensions]][[Category:{{{status|unknown}}} status extensions]]</includeonly>
Anonymous user

Navigation menu