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
 
(One intermediate revision by the same user not shown)
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}}


==Usage==
==Usage==
{{Usage||title||text||var{{=}}variable}}
{{Usage||title||text||var1{{=}}variable}}
{{Usage/Param|title|Title of the Template page, not including the "Template:" namespace.}}
{{Usage/Param|title|Title of the Template page, not including the "Template:" namespace.}}
{{Usage/Param|text|Alternate text for the link to display as.|optional}}
{{Usage/Param|text|Alternate text for the link to display as.|optional}}

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}}.