Template
Tt
From Dogcraft Wiki
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[{{#if:{{{interwiki|}}}|{{{interwiki|}}}:|}}Template:{{{1|}}}|<tt>{{{{{1|}}}}}</tt>]]</includeonly><noinclude> | <includeonly>[[{{#if:{{{interwiki|}}}|{{{interwiki|}}}:|}}Template:{{{1|}}}|<tt>{{{{{1|}}}}}</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. | ||
Line 37: | Line 39: | ||
</templatedata> | </templatedata> | ||
__NOTOC__ | __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)
- {{tt|Notice}} generates: {{Notice}}
- {{tt|Sidebar|interwiki=wp}} generates: {{Sidebar}}
Template data
Used to neatly link a template page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template name | 1 | The name of the target template
| String | required |
Interwiki prefix | interwiki | Optional parameter for an interwiki prefix
| String | suggested |