Template:NSN: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 27: | Line 27: | ||
!Input !!Result !!Note | !Input !!Result !!Note | ||
|- | |- | ||
|<nowiki>{{NSN|Zhousheng|Zhousheng}}</nowiki> ||{{NSN|Zhousheng|Zhousheng}} || | |<nowiki>{{NSN|Zhousheng|Zhousheng}}</nowiki> ||{{NSN|Zhousheng|Zhousheng}} ||— | ||
|- | |- | ||
|<nowiki>{{NSN|Zhousheng|Zhoushi Federal Republic}}</nowiki> ||{{NSN|Zhousheng|Zhoushi Federal Republic}} || | |<nowiki>{{NSN|Zhousheng|Zhoushi Federal Republic}}</nowiki> ||{{NSN|Zhousheng|Zhoushi Federal Republic}} ||— | ||
|- | |- | ||
|<nowiki>{{NSN|Silvadum City}}</nowiki> ||{{NSN|Silvadum City}} ||''Link is automatically changed to add the [[wikipedia:Underscore|underscore]]'' | |<nowiki>{{NSN|Silvadum City}}</nowiki> ||{{NSN|Silvadum City}} ||''Link is automatically changed to add the [[wikipedia:Underscore|underscore]]'' |
Revision as of 20:51, 21 August 2021
NationStates link color |
---|
#008000 |
<span style="color: #008000"></span> |
{{NSColor|}} |
NationStates Nation
[https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{2|{{replace|{{{1}}}|_| }}}}} on NationStates|{{NSColor|{{{2|{{replace|{{{1}}}|_| }}}}}}}}}][[Category:Pages using NationStates redirect templates]]
This template provides the link to NationStates nation. Its usage is:
{{NSN|NS Nation Name|Display Name}}
If no Display Name is added, the name shows the NS Nation Name
Example:
Input | Result | Note |
---|---|---|
{{NSN|Zhousheng|Zhousheng}} | Zhousheng | — |
{{NSN|Zhousheng|Zhoushi Federal Republic}} | Zhoushi Federal Republic | — |
{{NSN|Silvadum City}} | Silvadum City | Link is automatically changed to add the underscore |
{{NSN|Silvadum_City}} | Silvadum City | Name is automatically changed to remove the underscore |