Difference between revisions of "Template:Extension/en"

Jump to navigation Jump to search
628 bytes removed ,  10:53, 16 April 2020
Updating to match new version of source page
>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:
Anonymous user

Navigation menu