Template:NSNFlag

Revision as of 17:05, 23 November 2021 by Zhousheng (Fjana) (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
NationStates link color
#008000
<span style="color: #008000"></span>
{{NSColor|}}
Default flag for this template

NationStates Nation Flag


Australian Aboriginal Flag.svg {{{1}}}

{{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}} Australian Aboriginal Flag.svg Zhousheng
{{NSNFlag|Zhousheng|ZhoushengFlag.png}} ZhoushengFlag.png Zhousheng
{{NSNFlag|Zhousheng|ZhoushengFlag.png|Zhoushi Federal Republic}} ZhoushengFlag.png Zhoushi Federal Republic
{{NSNFlag|Zhousheng|ZhoushiCultureFlag.png|Zhoushi people}} ZhoushiCultureFlag.png Zhoushi people
{{NSNFlag|Silvadum City|SilvadumFlag.png}} SilvadumFlag.png Silvadum City Link is automatically changed to add the underscore
{{NSNFlag|Silvadum_City|SilvadumFlag.png}} SilvadumFlag.png Silvadum City Name is automatically changed to remove the underscore

Links: