Difference between revisions of "Template:Templatelink"
From Twinsuniverse
J McKalling (Talk | contribs) (for simplifying links to templates) |
J McKalling (Talk | contribs) (added infobox) |
||
Line 2: | Line 2: | ||
#if: {{{1|}}} | #if: {{{1|}}} | ||
| <tt><nowiki>{{</nowiki>[[Template:{{{1|}}}|{{{1|}}}]]<nowiki>}}</nowiki></tt> | | <tt><nowiki>{{</nowiki>[[Template:{{{1|}}}|{{{1|}}}]]<nowiki>}}</nowiki></tt> | ||
− | }}</includeonly><noinclude> | + | }}</includeonly><noinclude>{{Infobox Template |
+ | |purpose=formatting | ||
+ | |singletag=no | ||
+ | |multiline=no | ||
+ | |gamerelated=no | ||
+ | |suppressible= | ||
+ | |choice= | ||
+ | |cat1= | ||
+ | |var1= | ||
+ | }} | ||
+ | |||
This template simplifies creating a link to a template. The link is wrapped between double curly braces in teletype, to make it appear as if it were written in the editor. | This template simplifies creating a link to a template. The link is wrapped between double curly braces in teletype, to make it appear as if it were written in the editor. | ||
Line 24: | Line 34: | ||
:<tt><nowiki>{{</nowiki>[[Template:nonexisting template|nonexisting template]]<nowiki>}}</nowiki></tt> | :<tt><nowiki>{{</nowiki>[[Template:nonexisting template|nonexisting template]]<nowiki>}}</nowiki></tt> | ||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 09:38, 4 June 2014
Templatelink | |
---|---|
Purpose |
Formatting [list all] |
Single tag |
No [list all] |
Multi-line |
No [list all] |
Protected |
No [list all] |
Game related |
No [list all] |
Categorization | |
Categories |
none [list all] |
Variables | |
Names |
none [list all] |
Subpages |
This template simplifies creating a link to a template. The link is wrapped between double curly braces in teletype, to make it appear as if it were written in the editor.
Parameters
- The name of the template, without namespace prefix (no parameter name, case sensitive, defaults to nothing displayed)
Syntax
{{templatelink|template}}
Examples
{{templatelink|infobox}} {{templatelink|infobox/row}} {{templatelink|infobox user}} {{templatelink|categorylink}} {{templatelink|nonexisting template}}
- {{infobox}}
- {{infobox/row}}
- {{Infobox User}}
- {{categorylink}}
- {{nonexisting template}}