Template:Template link: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (Willowisp moved page Template:T link to Template:Template link over redirect)
No edit summary
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=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}}Add a link to a template formatted as a template.


== Example==
== Example==

Revision as of 03:38, 27 December 2023

Template documentation
Shortcut
Add a link to a template formatted as a template.

Example

{{t link|ref}} and {{t link|ref|act1}}

Is displayed as

{{ref}} and {{ref|act1}}

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Target template1

no description

Unknownrequired
Parameter 12

The first parameter of a template. Useful for linking to simple templates.

Unknownoptional