Template:NS/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (correct example) |
||
Line 11: | Line 11: | ||
==Examples== | ==Examples== | ||
*<code><nowiki>{{NS| | *<code><nowiki>{{NS|Lord of Darkness}}</nowiki></code> produces: {{NS|Lord of Darkness}} | ||
*<code><nowiki>{{NS| | *<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
{{NS|Lord of Darkness}}
produces: Lord of Darkness{{NS|Lord of Darkness|Lard of Duckness}}
produces: Lard of Duckness