Template:Torn/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
No edit summary
(doc template)
Tag: Replaced
 
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}


This is a shortcut to {{t|gamepage}} for [[Torn]]. It will link to an "X in Torn" page, without showing the "in Torn" part.
{{Gamepage/shortcut doc|Torn}}
 
To link to "X (Torn)" instead, use {{t|Tornp}}.
 
==Parameters==
*First unnamed parameter: the subject (name of the page).
*(optional) Second unnamed parameter: the text to display for the link.
*p: Define this parameter to link to "X (<game>)" instead of "X in <game>". {{t|Tornp}} does this automatically.
 
==Examples==
*<code><nowiki>{{Torn|Lord of Darkness}}</nowiki></code> produces: {{Torn|Lord of Darkness}}
*<code><nowiki>{{Torn|Lord of Darkness|Lard of Duckness}}</nowiki></code> produces: {{Torn|Lord of Darkness|Lard of Duckness}}
 
<includeonly>[[Category:Internal link templates]]</includeonly>

Latest revision as of 04:17, 6 August 2020

This page contains the documentation for Template:Torn. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.

This is a shortcut to {{gamepage}} for Torn. It will link to an "X in Torn" page, without showing the " in Torn" part.

To link to "X (Torn)" instead, use {{Tornp}}.

Parameters

  • First unnamed parameter: the subject (name of the page).
  • (optional) Second unnamed parameter: the text to display for the link.
  • p: Define this parameter to link to "X (Torn)" instead of "X in Torn". {{Tornp}} does this automatically.

Examples