Template:NSNFlag
Jump to navigation
Jump to search
NationStates link color |
---|
#008000 |
<span style="color: #008000"></span> |
{{NSColor|}} |
NationStates Nation Flag
[[File:{{{3}}}|23x15px|link=https://www.nationstates.net/nation={{{1}}}%7Cborder]] {{{1}}}
{{Hover title|dotted=no|{{{2|{{replace|{{{1}}}|_| }}}}} on NationStates|[[File:{{{3}}}|23x15px|link=https://www.nationstates.net/nation={{replace|{{{1}}}| |_}}|border]]}} [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|Flag image (without "File:")}}
If no Display Name is added, the name shows the NS Nation Name
Example:
- {{NSNFlag|Zhousheng|Zhousheng|ZhoushengFlag.png}} produces Zhousheng
- {{NSNFlag|Zhousheng|Zhoushi Federal Republic|ZhoushengFlag.png}} produces Zhoushi Federal Republic
- {{NSNFlag|Zhousheng|Zhousheng|ZhoushiCultureFlag.png}} produces Zhousheng
- {{NSNFlag|Silvadum City|Anterian Papacy|SilvadumFlag.png}} produces Anterian Papacy (Link is automatically changed to add the underscore)
- {{NSNFlag|Silvadum_City|Anterian Papacy|SilvadumFlag.png}} produces Anterian Papacy (Name is automatically changed to remove the underscore)