Template:NSRFlag: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 26: Line 26:
*<nowiki>{{NSRFlag|Anteria|Flag_of_Anteria.png}}</nowiki> produces {{NSRFlag|Anteria|Flag_of_Anteria.png}}
*<nowiki>{{NSRFlag|Anteria|Flag_of_Anteria.png}}</nowiki> produces {{NSRFlag|Anteria|Flag_of_Anteria.png}}
*<nowiki>{{NSRFlag|Anteria|Flag_of_Anteria.png|Антэрия}}</nowiki> produces {{NSRFlag|Anteria|Flag_of_Anteria.png|Антэрия}}
*<nowiki>{{NSRFlag|Anteria|Flag_of_Anteria.png|Антэрия}}</nowiki> produces {{NSRFlag|Anteria|Flag_of_Anteria.png|Антэрия}}
*<nowiki>{{NSRFlag|Anteria|Anteria|AWAFlag.png}}</nowiki> produces {{NSRFlag|Anteria|Anteria|AWAFlag.png}}
*<nowiki>{{NSRFlag|Anteria|AWAFlag.png}}</nowiki> produces {{NSRFlag|Anteria|AWAFlag.png}}
*<nowiki>{{NSRFlag|South Pacific|WorldAssembly.png}}</nowiki> produces {{NSRFlag|South Pacific|WorldAssembly.png}} ''(Link is automatically changed to add the [[wikipedia:Underscore|underscore]])''
*<nowiki>{{NSRFlag|South Pacific|WorldAssembly.png}}</nowiki> produces {{NSRFlag|South Pacific|WorldAssembly.png}} ''(Link is automatically changed to add the [[wikipedia:Underscore|underscore]])''
*<nowiki>{{NSRFlag|South_Pacific|WorldAssembly.png}}</nowiki> produces {{NSRFlag|South_Pacific|WorldAssembly.png}} ''(Name is automatically changed to remove the [[wikipedia:Underscore|underscore]])''
*<nowiki>{{NSRFlag|South_Pacific|WorldAssembly.png}}</nowiki> produces {{NSRFlag|South_Pacific|WorldAssembly.png}} ''(Name is automatically changed to remove the [[wikipedia:Underscore|underscore]])''

Revision as of 21:47, 20 August 2021

NationStates region link color
#803000
<span style="color: #803000"></span>
{{NSRColor|}}

NationStates Region Flag


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

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

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

{{NSN|NS Region Name|Display Name|Flag image}}

If no Display Name is added, the name shows the NS Region Name

Example:

  • {{NSRFlag|Anteria|Flag_of_Anteria.png}} produces Flag of Anteria.png Anteria
  • {{NSRFlag|Anteria|Flag_of_Anteria.png|Антэрия}} produces Flag of Anteria.png Антэрия
  • {{NSRFlag|Anteria|AWAFlag.png}} produces AWAFlag.png Anteria
  • {{NSRFlag|South Pacific|WorldAssembly.png}} produces WorldAssembly.png South Pacific (Link is automatically changed to add the underscore)
  • {{NSRFlag|South_Pacific|WorldAssembly.png}} produces WorldAssembly.png South Pacific (Name is automatically changed to remove the underscore)

Links: