Template:NSRFlagIcon

Jump to navigation Jump to search

NationStates Region FlagIcon


[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/region={{{1}}}%7Cborder]]

{{Hover title|dotted=no|{{replace|{{{1}}}| |_}} region on NationStates|[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/region={{replace|{{{1}}}|_| }}|border]]}}[[Category:Pages using NationStates redirect templates]]

This template provides the link to NationStates factbook. Its usage is:

{{NSN|NS Region Name|Flag image (Without the "File:")}}

Example:

  • {{NSRFlagIcon|Anteria|Flag_of_Anteria.png}} produces Flag of Anteria.png
  • {{NSRFlagIcon|Anteria|AWAFlag.png}} produces AWAFlag.png
  • {{NSRFlagIcon|South Pacific|WorldAssembly.png}} produces link=https://www.nationstates.net/region=South Pacific (Link is automatically changed to add the underscore)
  • {{NSRFlagIcon|South_Pacific|WorldAssembly.png}} produces link=https://www.nationstates.net/region=South Pacific (Hover title is automatically changed to remove the underscore)

Links: