Template:NS/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
m (correct example)
(doc template)
Tag: Replaced
 
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}


This is a shortcut to {{t|gamepage}} for [[NationStates]]. It will link to an "X in NationStates" page, without showing the "in NationStates" part.
{{Gamepage/shortcut doc|NS}}
 
To link to "X (NationStates)" instead, use {{t|NSp}}.
 
==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 (NationStates)" instead of "X in NationStates". {{t|NSp}} does this automatically.
 
==Examples==
*<code><nowiki>{{NS|Lord of Darkness}}</nowiki></code> produces: {{NS|Lord of Darkness}}
*<code><nowiki>{{NS|Lord of Darkness|Lard of Duckness}}</nowiki></code> produces: {{NS|Lord of Darkness|Lard of Duckness}}
 
<includeonly>[[Category:Internal link templates]]</includeonly>

Latest revision as of 04:13, 6 August 2020

This page contains the documentation for Template:NS. 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 NationStates. It will link to an "X in NationStates" page, without showing the " in NationStates" part.

To link to "X (NationStates)" instead, use {{NSp}}.

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 (NationStates)" instead of "X in NationStates". {{NSp}} does this automatically.

Examples