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
Line 1: Line 1:
<onlyinclude>'''{{((}}'''[[Template:{{{1|}}}|{{{2|{{{1|}}}}}}]]'''{{))}}'''</onlyinclude>
<onlyinclude>'''{{((}}'''[[Template:{{{1|}}}|{{{2|{{{1|}}}}}}]]{{!}}{{{var1|}}}'''{{))}}'''</onlyinclude>


==Purpose==
==Purpose==
Line 5: Line 5:


==Usage==
==Usage==
{{Usage||title||text}}
{{Usage||title||text||var{{=}}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}}.

Revision as of 18:25, January 11, 2023

{{[[Template:|]]|}}

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