Template:NSRFlag: Difference between revisions

Jump to navigation Jump to search
m (AWAFlag.png)
Line 21: Line 21:
  <nowiki>{{NSN|NS Region Name|Display Name|Flag image}}</nowiki>
  <nowiki>{{NSN|NS Region Name|Display Name|Flag image}}</nowiki>
If no Display Name is added, the name shows the NS Region Name
If no Display Name is added, the name shows the NS Region Name
  [[Category:External link templates]]
  [[Category:External link templates]][[Category:Templates linking to NationStates]]


====Example:====
====Example:====

Revision as of 14:02, 18 July 2021

If your region has a multiword name, use "_" instead of spaces in NS Region Name
NationStates region link color
#803000
<span style="color: #803000"></span>
{{NSRColor|}}

NationStates Region Flag


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

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

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|Anteria|Flag_of_Anteria.png}} produces Flag of Anteria.png Anteria
  • {{NSRFlag|Anteria|Антэрия|Flag_of_Anteria.png}} produces Flag of Anteria.png Антэрия
  • {{NSRFlag|Anteria|Anteria|AWAFlag.png}} produces AWAFlag.png Anteria

Links: