Template

Tt

From Dogcraft Wiki

(Created page with "<includeonly>[[{{#if:{{{interwiki|}}}|{{{interwiki|}}}:}}Template:{{{1|}}}|<tt><nowiki>{{{1|}}}</nowiki></tt>]]</includeonly><noinclude> Used in template documentation to link...")
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[{{#if:{{{interwiki|}}}|{{{interwiki|}}}:}}Template:{{{1|}}}|<tt><nowiki>{{{1|}}}</nowiki></tt>]]</includeonly><noinclude>
<includeonly>[[{{#if:{{{interwiki|}}}|{{{interwiki|}}}:|}}Template:{{{1|}}}|<tt>&#123;&#123;{{{1|}}}&#125;&#125;</tt>]]</includeonly><noinclude>
''For template links without the brackets included, see {{t|template link}} (or the {{t|t}} alias)''
 
Used in template documentation to link other templates neatly.
Used in template documentation to link other templates neatly.
<noinclude>
 
 
===Example(s)===
* <tt><nowiki>{{tt|Notice}}</nowiki></tt> generates: {{tt|Notice}}
* <tt><nowiki>{{tt|Sidebar|interwiki=wp}}</nowiki></tt> generates: {{tt|Sidebar|interwiki=wp}}
 
 
===Template data===
<templatedata>
<templatedata>
{
{
Line 29: Line 38:
}
}
</templatedata>
</templatedata>
__NOTOC__
[[Category:Documentation templates]]
</noinclude>
</noinclude>

Latest revision as of 03:56, 4 December 2023

For template links without the brackets included, see {{template link}} (or the {{t}} alias)

Used in template documentation to link other templates neatly.


Example(s)


Template data

Used to neatly link a template page.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Template name1

The name of the target template

Example
Notice
Stringrequired
Interwiki prefixinterwiki

Optional parameter for an interwiki prefix

Example
wp
Stringsuggested