Template:NSRFlag
Jump to navigation
Jump to search
NationStates region link color |
---|
#803000 |
<span style="color: #803000"></span> |
{{NSRColor|}} |
NationStates Region Flag
{{Hover title|dotted=no|{{{4|{{replace|{{{3|{{replace|{{{1}}}|_| }}}}}|_| }} region on NationStates}}}|[[File:{{{2|Australian_Aboriginal_Flag.svg}}}|23x15px|link=https://www.nationstates.net/region={{replace|{{{1}}}| |_}}|border]]}} [https://www.nationstates.net/region={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{4|{{replace|{{{3|{{replace|{{{1}}}|_| }}}}}|_| }} region on NationStates}}}|{{NSRColor|{{replace|{{{3|{{replace|{{{1}}}|_| }}}}}|_| }}}}}}][[Category:Pages using NationStates redirect templates]]
This template provides the link to NationStates factbook. Its usage is:
{{NSN|NS Region Name|Flag image|Display Name|Hover title}}
If no Display Name is added, the name shows the NS Region Name
Example:
Input | Result | Note |
---|---|---|
{{NSRFlag|Anteria}} | Anteria | — |
{{NSRFlag|Anteria|Flag_of_Anteria.png}} | Anteria | — |
{{NSRFlag|Anteria|Flag_of_Anteria.png|Антэрия}} | Антэрия | — |
{{NSRFlag|Anteria|AWAFlag.png}} | Anteria | — |
{{NSRFlag|South Pacific|WorldAssembly.png}} | South Pacific | Link is automatically changed to add the underscore |
{{NSRFlag|South_Pacific|WorldAssembly.png}} | South Pacific | Name is automatically changed to remove the underscore |