Template:t

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(test #ifexist: functionality)
(rv; nevermind. could affect some pages that intentionally link to nonexistent templates.)
 
Line 1: Line 1:
-
&#123;&#123;{{#ifexist:{{{2|Template}}}:{{{1}}}|[[{{{2|Template}}}:{{{1}}}|{{{1}}}]]|{{{1}}}}}}}<noinclude>
+
&#123;&#123;[[{{{2|Template}}}:{{{1}}}|{{{1}}}]]}}<noinclude>
=== Usage ===
=== Usage ===
*<code>&#123;&#123;t|template name to display}}</code>
*<code>&#123;&#123;t|template name to display}}</code>

Current revision as of 19:17, 1 February 2021

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

[edit] Usage

  • {{t|template name to display}}

[edit] Examples

To link to a namespace other than the Template namespace, add an extra pipe after the page name:

Personal tools