Template:TemplateCode/doc

From The Blockheads Wiki
Revision as of 15:46, 6 August 2024 by JarlPenguin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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