Template:Temlink: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<onlyinclude>'''{{((}}'''[[Template:{{{1|}}}|{{{2|{{{1|}}}}}}]]{{!}}{{{var1|}}}'''{{))}}'''</onlyinclude>
<includeonly><onlyinclude>'''{{((}}'''[[Template:{{{1|}}}|{{{2|{{{1|}}}}}}]]{{#if:{{{var1|}}}|{{!}}{{{var1|}}}|}}'''{{))}}'''</onlyinclude>
 
</includeonly>
==Purpose==
==Purpose==
This is an easy way to link to template pages. It is often used within template pages and in talk pages. See also: {{Temlink|Catlink}}
This is an easy way to link to template pages. It is often used within template pages and in talk pages. See also: {{Temlink|Catlink}}

Latest revision as of 00:41, January 12, 2023

Purpose

This is an easy way to link to template pages. It is often used within template pages and in talk pages. See also: {{Catlink}}

Usage

{{Temlink| title | text | var1=variable }}

  • title — Title of the Template page, not including the "Template:" namespace.
  • text — Alternate text for the link to display as. (Optional.)
  • variable — Variable to show in the displayed link. (Optional.)

For example, {{Temlink|Usage}} becomes {{Usage}}.

{{Temlink|Usage|Documentation}} becomes {{Documentation}}.