Template:TemplateCode/doc: Difference between revisions
Template page
More actions
Created page with "{{Documentation header}} {{shortcut|tcode}} == Usage == {{tcode|tcode|''template name''}} Parameters can also be added, to a maximum of 8. Note that <code>=</code>'s must be escaped using <code><nowiki>{{=}}</nowiki></code> == Examples == {{tcode|tcode|subst:autoUnsigned}} gives:<br> {{tcode|subst:autoUnsigned}} {{tcode|tcode|Block|3=2=type=wood}} gives:<br> {{tcode|Block|2=type=wood}} {{tcode|tcode|:Commands/infobox}} gives:<br> {{tcode|:Commands/infobox}} {{tcode..." Â |
(No difference)
|
Latest revision as of 19:39, 16 June 2025
[purge]
This is the documentation page. It should be transcluded into Template:TemplateCode. See Template:Documentation for more information.Shortcut
Usage
{{tcode|template name}}
Parameters can also be added, to a maximum of 8. Note that ='s must be escaped using {{=}}
Examples
{{tcode|subst:autoUnsigned}} gives:
{{subst:autoUnsigned}}
{{tcode|Block|2=type=wood}} gives:
{{Block|type=wood}}
{{tcode|:Commands/infobox}} gives:
{{:Commands/infobox}}
{{tcode|move|Page to move to|Optional reason}} gives:
{{move|Page to move to|Optional reason}}
See also
{{Template link}}{{parameter}}