Template:NSNFlag
Jump to navigation
Jump to search
NationStates link color |
---|
#008000 |
<span style="color: #008000"></span> |
{{NSColor|}} |
NationStates Nation Flag
{{Hover title|dotted=no|{{{4|{{{3|{{replace|{{{1}}}|_| }}}}} on NationStates}}}|[[File:{{{2|Australian_Aboriginal_Flag.svg}}}|23x15px|link=https://www.nationstates.net/nation={{replace|{{{1}}}| |_}}|border]]}} [https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{4|{{{3|{{replace|{{{1}}}|_| }}}}} on NationStates}}}|{{NSColor|{{{3|{{replace|{{{1}}}|_| }}}}}}}}}][[Category:Pages using NationStates redirect templates]]
This template provides the link to NationStates nation. Its usage is:
{{NSN|NS Nation Name|Flag image (without "File:")|Display Name|Hover title}}
If no Display Name is added, the name shows the NS Nation Name
Example:
Input | Result | Note |
---|---|---|
{{NSNFlag|Zhousheng}} | Zhousheng | — |
{{NSNFlag|Zhousheng|ZhoushengFlag.png}} | Zhousheng | — |
{{NSNFlag|Zhousheng|ZhoushengFlag.png|Zhoushi Federal Republic}} | Zhoushi Federal Republic | — |
{{NSNFlag|Zhousheng|ZhoushiCultureFlag.png|Zhoushi people}} | Zhoushi people | — |
{{NSNFlag|Silvadum City|SilvadumFlag.png}} | Silvadum City | Link is automatically changed to add the underscore |
{{NSNFlag|Silvadum_City|SilvadumFlag.png}} | Silvadum City | Name is automatically changed to remove the underscore |