<translate> [[<tvar|1>Special:MyLanguage/Phabricator</>|Issue tracker]]:</translate> [[phab:tag/{{{phabricator}}}/|#{{{phabricator}}}]]

Difference between revisions of "Template:Extension/en"

From WPRDC Wiki
Jump to navigation Jump to search
>FuzzyBot
(Updating to match new version of source page)
>FuzzyBot
(Updating to match new version of source page)
Line 771: Line 771:
To change/correct/add to the implementation type parameters:
To change/correct/add to the implementation type parameters:
* Check the [[Template_talk:Extension|talk page]] - there have been some extensive discussions about this field.
* Check the [[Template_talk:Extension|talk page]] - there have been some extensive discussions about this field.
* '''{{ll|Template:Extension/TypeSwitch|Template:Extension/TypeSwitch}}:''' Stores the possible values for the type field. Multiple values are implemented by calling this template with [[Template:Foreach]].
* The valid types and what they link to are defined at [[Module:Extension]]
* '''{{ll|Template:Extension/TypeSwitchNoCats|Template:Extension/TypeSwitchNoCats}}:''' Does not need to be modified when adding a new type. Used instead of {{ll|Template:Extension/TypeSwitch|Template:Extension/TypeSwitch}} when this template is used in <code>templatemode=nocats</code>. Templates used with [[Template:Foreach]] can only take one parameter so we need to wrap the call to {{ll|Template:Extension/TypeSwitch|Template:Extension/TypeSwitch}} with another template that sets the mode.


To change the behavior of the hook parameters:
To change the behavior of the hook parameters:

Revision as of 10:53, 16 April 2020

<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/en]] [[Category:Extension creation{{#translation:}}]] [[Category:Categorizing templates{{#translation:}}|Extension/en]] [[Category:Extension templates{{#translation:}}]]