Template:Template link: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{2|}}}|<nowiki>{{</nowiki>[[Template:{{{1|}}}|{{{1|}}}]]<nowiki>|</nowiki>{{{2|}}}<nowiki>}}</nowiki>|<nowiki>{{</nowiki>[[Template:{{{1|}}}|{{{1|}}}]]<nowiki>}}</nowiki>}}</includeonly><noinclude>{{documentation|content={{shortcut|tlink}}Add a link to a template formatted as a template. | <includeonly>{{#if:{{{2|}}}|<nowiki>{{</nowiki>[[Template:{{{1|}}}|{{{1|}}}]]<nowiki>|</nowiki>{{{2|}}}<nowiki>}}</nowiki>|<nowiki>{{</nowiki>[[Template:{{{1|}}}|{{{1|}}}]]<nowiki>}}</nowiki>}}</includeonly><noinclude>{{documentation|content={{shortcut|tlink|tl}}Add a link to a template formatted as a template. | ||
== Example== | == Example== | ||
Line 8: | Line 8: | ||
{{t link|ref}} and {{t link|ref|act1}} | {{t link|ref}} and {{t link|ref|act1}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Link templates]] | |||
== Template data == | == Template data == | ||
<templatedata> | <templatedata> |
Latest revision as of 15:14, 6 January 2024
Template documentation
Add a link to a template formatted as a template.
Example
{{t link|ref}} and {{t link|ref|act1}}
Is displayed as
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Target template | 1 | no description | Unknown | required |
Parameter 1 | 2 | The first parameter of a template. Useful for linking to simple templates. | Unknown | optional |