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.
(Created page with "<onlyinclude>'''{{((}}'''[[Template:{{{1|}}}|{{{2|{{{1|}}}}}}]]'''{{))}}'''</onlyinclude> ==Purpose== This is an easy way to link to template pages. It is often used within t...")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>'''{{((}}'''[[Template:{{{1|}}}|{{{2|{{{1|}}}}}}]]'''{{))}}'''</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}}
{{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}}
{{Usage/Param|variable|Variable to show in the displayed link.|optional}}


For example, <code><nowiki>{{Temlink|Usage}}</nowiki></code> becomes {{Temlink|Usage}}.
For example, <code><nowiki>{{Temlink|Usage}}</nowiki></code> becomes {{Temlink|Usage}}.

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