Difference between revisions of "Template:Extension/doc"

→‎Content parameters: added clarification of implementation type vs. use case/purpose (as per Sept-2007 discussion - see talk page)
>Egfrank~mediawikiwiki
(→‎Content parameters: moved id=type to doc column so help goes to top of type documentation)
>Egfrank~mediawikiwiki
(→‎Content parameters: added clarification of implementation type vs. use case/purpose (as per Sept-2007 discussion - see talk page))
Line 85: Line 85:
|-
|-
| '''type1'''<br/>''type2''<br/>''type3''<br/>''type4''<br/>''type5''<br/>''type6''<br/> || <span id="type">'''implementation type'''</span><!-- id here so at top of documentation -->
| '''type1'''<br/>''type2''<br/>''type3''<br/>''type4''<br/>''type5''<br/>''type6''<br/> || <span id="type">'''implementation type'''</span><!-- id here so at top of documentation -->
Legal values are:
 
The  implementation strategy(s) employed in building this extension. This parameter is used to create categories that help programmers find examples of various MediaWiki specific implementation strategies or patterns.  Although the values of this parameter sometimes coincide with the use case or purpose of an extension, that is not reason for this parameter.  If the values you have chosen for this parameter do not adequately identify the [[w:Use case|use case]]/[[w:Requirements|purpose]], we recommend you add additional [[Help:Categories|category links]] as needed.
 
 
Legal values for the '''type1''','''type2''',... parameters are:
* ''[[:Category:Parser extensions|parser]]'' - catchall for uncategorized [[Manual:Extending wiki markup|parser extensions]]. If you have written a parser extension, please use one of the more specific types below:
* ''[[:Category:Parser extensions|parser]]'' - catchall for uncategorized [[Manual:Extending wiki markup|parser extensions]]. If you have written a parser extension, please use one of the more specific types below:
** ''[[:Category:Parser function extensions|parser function]]'' - custom [[Manual:Parser functions|parameterized template markup]], e.g. <code><nowiki>{{</nowiki>''#name:'' ... }}</code>
** ''[[:Category:Parser function extensions|parser function]]'' - custom [[Manual:Parser functions|parameterized template markup]], e.g. <code><nowiki>{{</nowiki>''#name:'' ... }}</code>