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> | <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. | ||
< | |||
===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)
- {{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 |