Template:NSNFlagIcon: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
Line 18: Line 18:
  <nowiki>{{Hover title|dotted=no|{{{1}}} on NationStates|[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/nation={{{1}}}|border]]}}[[Category:Pages using NationStates redirect templates]]</nowiki>
  <nowiki>{{Hover title|dotted=no|{{{1}}} on NationStates|[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/nation={{{1}}}|border]]}}[[Category:Pages using NationStates redirect templates]]</nowiki>
----
----
This template provides the link to [https://www.nationstates.net/ NationStates] factbook. Its usage is:
This template provides the link to [https://www.nationstates.net/ NationStates] nation. Its usage is:
  <nowiki>{{NSN|NS Nation Name|Flag image (Without the "File:")}}</nowiki>
  <nowiki>{{NSN|NS Nation Name|Flag image (Without the "File:")}}</nowiki>
  [[Category:External link templates]][[Category:Templates linking to NationStates]]
  [[Category:External link templates]][[Category:Templates linking to NationStates]]

Revision as of 09:31, 16 August 2021

If your nation has a multiword name, use "_" instead of spaces in NS Nation Name
NationStates link color
#008000
<span style="color: #008000"></span>
{{NSColor|}}

NationStates Nation Flag


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

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

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

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

Example:

  • {{NSNFlagIcon|Zhousheng|ZhoushengFlag.png}} produces ZhoushengFlag.png
  • {{NSNFlagIcon|Zhousheng|ZhoushiCultureFlag.png}} produces ZhoushiCultureFlag.png

Links: