Template:NSN
Jump to navigation
Jump to search
NationStates link color |
---|
#008000 |
<span style="color: #008000"></span> |
{{NSColor|}} |
NationStates Nation
[https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{3|{{{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|Hover title}}
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 |