Template:NS/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
No edit summary
m (correct example)
Line 11: Line 11:


==Examples==
==Examples==
*<code><nowiki>{{NS|New Pacific Order}}</nowiki></code> produces: {{NS|New Pacific Order}}
*<code><nowiki>{{NS|Lord of Darkness}}</nowiki></code> produces: {{NS|Lord of Darkness}}
*<code><nowiki>{{NS|New Pacific Order|NPO}}</nowiki></code> produces: {{NS|New Pacific Order|NPO}}
*<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>
<includeonly>[[Category:Internal link templates]]</includeonly>

Revision as of 08:13, 18 July 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