Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Shirayuki
(Extension:CentralNotice has 15 tables)
>Shirayuki
(wrong markup :()
Line 568: Line 568:


<!--T:160-->
<!--T:160-->
If the status is anything other than the above, it will be ignored and the default value of 'Unknown' will be displayed in the template instead.</translate> <translate><!--T:161--> In cases where the value is omitted, it will be categorized as {{ll|<tvar|url>:category:extensions with unknown status</>|unknown}}.</translate> <translate><!--T:162-->
If the status is anything other than the above, it will be ignored and the default value of 'Unknown' will be displayed in the template instead.</translate>
In cases where the value is invalid, it will be placed in a {{ll|<tvar|url>:category:extensions with invalid status</>|special category}} so that the error can be caught and fixed.
<translate>
<!--T:161-->
In cases where the value is omitted, it will be categorized as [[<tvar|1>Special:MyLanguage/Category:extensions with unknown status</>|unknown]].</translate>
<translate>
<!--T:162-->
In cases where the value is invalid, it will be placed in a [[<tvar|1>Special:MyLanguage/Category:extensions with invalid status</>|special category]] so that the error can be caught and fixed.


<!--T:163-->
<!--T:163-->
* {{ll|<tvar|url>Extension status</>|release status colour scheme}}</translate></td>
* [[<tvar|1>Special:MyLanguage/Extension status</>|release status colour scheme]]</translate></td>
</tr>
</tr>
<tr>
<tr>
Line 578: Line 583:
<translate>
<translate>
<!--T:164-->
<!--T:164-->
The implementation strategy(s) employed in building this extension.</translate> <translate><!--T:165--> This parameter is used to create categories that help programmers find examples of various MediaWiki specific implementation strategies or patterns.</translate> <translate><!--T:166--> Although the values of this parameter sometimes coincide with the use case or purpose of an extension, that is not reason for this parameter.</translate> <translate><!--T:167-->
The implementation strategy(s) employed in building this extension.</translate>
If the values you have chosen for this parameter do not adequately identify the [[w:Requirements|purpose]] or possible [[w:Use case|use case]]s, we recommend you add additional {{ll|<tvar|url>Help:Categories</>|category links}} as needed.
<translate>
<!--T:165-->
This parameter is used to create categories that help programmers find examples of various MediaWiki specific implementation strategies or patterns.</translate>
<translate>
<!--T:166-->
Although the values of this parameter sometimes coincide with the use case or purpose of an extension, that is not reason for this parameter.</translate>
<translate>
<!--T:167-->
If the values you have chosen for this parameter do not adequately identify the [[w:Requirements|purpose]] or possible [[w:Use case|use case]]s, we recommend you add additional [[<tvar|1>Special:MyLanguage/Help:Categories</>|category links]] as needed.


<!--T:168-->
<!--T:168-->
Allowed values for the '''type1''', '''type2''', ... parameters are:
Allowed values for the '''type1''', '''type2''', ... parameters are:
* <tvar|parser>'''''{{ll|Category:Parser extensions|parser}}'''''</> - catchall for uncategorized {{ll|<tvar|url1>Manual:Extending wiki markup</>|parser extensions}}. If you have written a parser extension, please use one of the following more specific types:
</translate>
** <tvar|conthandl>''{{ll|Category:ContentHandler extensions|contenthandler}}''</> - Extensions using <tvar|contenthandler>{{ll|Manual:ContentHandler|ContentHandler}}</>.
 
** <tvar|link>''{{ll|Category:Link markup extensions|link}}''</> - customized {{ll|<tvar|url2>Manual:Extending wiki markup</>|link markup}}, e.g. <tvar|xmp1><code><nowiki>[[</nowiki>...]]</code></>
* '''''{{ll|Category:Parser extensions|parser}}''''' - <translate>catchall for uncategorized [[<tvar|1>Special:MyLanguage/Manual:Extending wiki markup</>|parser extensions]].</translate> <translate>If you have written a parser extension, please use one of the following more specific types:</translate>
** <tvar|parserfunction>''{{ll|Category:Parser function extensions|parser function}}''</> - custom {{ll|<tvar|url3>Manual:Parser functions</>|parameterized template markup}}, e.g. <tvar|xmp2><code><nowiki>{{</nowiki>''#name:'' ... <nowiki>}}</nowiki></code></>
** ''{{ll|Category:ContentHandler extensions|contenthandler}}'' - <translate>Extensions using <tvar|1>{{ll|Manual:ContentHandler|ContentHandler}}</>.</translate>
** <tvar|tag>''{{ll|Category:Tag extensions|tag}}''</> - {{ll|<tvar|url4>Manual:Tag extensions</>|custom XML tag markup}}, e.g. <tvar|xmp4><code><nowiki><</nowiki>''tagname''>...<nowiki></</nowiki>''tagname''></code></>
** ''{{ll|Category:Link markup extensions|link}}'' - <translate>customized [[<tvar|1>Special:MyLanguage/Manual:Extending wiki markup</>|link markup]], e.g. <tvar|2><code><nowiki>[[</nowiki>...]]</code></></translate>
** <tvar|variable>''{{ll|Category:Variable extensions|variable}}''</> - custom {{ll|<tvar|url5>Manual:Variables</>|unparameterized template markup}}, e.g. <tvar|xmp5><code><nowiki>{{NAME}}</nowiki></code></>
** ''{{ll|Category:Parser function extensions|parser function}}'' - <translate>custom [[<tvar|1>Special:MyLanguage/Manual:Parser functions</>|parameterized template markup]], e.g. <tvar|2><code><nowiki>{{</nowiki>''#name:'' ... <nowiki>}}</nowiki></code></></translate>
** <tvar|xtdsyntax>''{{ll|Category:Extended syntax extensions|extended syntax}}''</> - Extensions that add non-standard wiki syntax (i.e. <em>not</em> {{ll|<tvar|url61>Manual:Tag extensions</>|tags}}, {{ll|<tvar|url62>Manual:Parser functions</>|parser functions}}, or {{ll|<tvar|url63>Manual:Variables</>|variables}}).</translate>
** ''{{ll|Category:Tag extensions|tag}}'' - <translate>[[<tvar|1>Special:MyLanguage/Manual:Tag extensions</>|custom XML tag markup]], e.g. <tvar|2><code><nowiki><</nowiki>''tagname''>...<nowiki></</nowiki>''tagname''></code></></translate>
** ''{{ll|Category:Variable extensions|variable}}'' - <translate>custom [[<tvar|1>Special:MyLanguage/Manual:Variables</>|unparameterized template markup]], e.g. <tvar|2><code><nowiki>{{NAME}}</nowiki></code></></translate>
** ''{{ll|Category:Extended syntax extensions|extended syntax}}'' - <translate>Extensions that add non-standard wiki syntax (i.e. <em>not</em> [[<tvar|1>Special:MyLanguage/Manual:Tag extensions</>|tags]], [[<tvar|2>Special:MyLanguage/Manual:Parser functions</>|parser functions]], or [[<tvar|3>Special:MyLanguage/Manual:Variables</>|variables]]).</translate>
*:
*:
<translate>
<translate>

Revision as of 11:22, 1 December 2019

<languages/> Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.[[Category:Template documentation pages{{#translation:}}]] Maintenance: vulnerabilities, archived

[[Category:Info templates{{#translation:}}|Extension]] [[Category:Extension creation{{#translation:}}]] [[Category:Categorizing templates{{#translation:}}|Extension]] [[Category:Extension templates{{#translation:}}]]