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
Line 1: Line 1:
<includeonly>[[{{#if:{{{interwiki|}}}|{{{interwiki|}}}:}}Template:{{{1|}}}|<tt><nowiki>{{{1|}}}</nowiki></tt>]]</includeonly><noinclude>
<includeonly>[[{{#if:{{{interwiki|}}}|{{{interwiki|}}}:}}Template:{{{1|}}}|<tt><nowiki>{{{1|}}}</nowiki></tt>]]</includeonly><noinclude>
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 36:
}
}
</templatedata>
</templatedata>
__NOTOC__
</noinclude>
</noinclude>

Revision as of 01:29, 12 July 2022

Used in template documentation to link other templates neatly.


Example(s)

  • {{tt|Notice}} generates: {{{1|}}}
  • {{tt|Sidebar|interwiki=wp}} generates: {{{1|}}}


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


This page was last modified on 12 July 2022, at 01:29. (11 months ago)
Background Valentine's Day Event 2024 by TheWhiteTigerNL