Template:NSNFlagIcon: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
<big><big>N</big></big>ation<big><big>S</big></big>tates <big><big>N</big></big>ation <big><big>Flag</big></big>
<big><big>N</big></big>ation<big><big>S</big></big>tates <big><big>N</big></big>ation <big><big>Flag</big></big>
----
----
</noinclude>{{Hover title|dotted=no|{{{1}}} on NationStates|[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/nation={{replace|{{{1}}}| |_}}|border]]}}[[Category:Pages using NationStates redirect templates]]<noinclude>
</noinclude>{{Hover title|dotted=no|{{replace|{{{1}}}|_| }} on NationStates|[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/nation={{replace|{{{1}}}| |_}}|border]]}}[[Category:Pages using NationStates redirect templates]]<noinclude>


  <nowiki>{{Hover title|dotted=no|{{{1}}} on NationStates|[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/nation={{replace|{{{1}}}| |_}}|border]]}}[[Category:Pages using NationStates redirect templates]]</nowiki>
  <nowiki>{{Hover title|dotted=no|{{replace|{{{1}}}|_| }} on NationStates|[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/nation={{replace|{{{1}}}| |_}}|border]]}}[[Category:Pages using NationStates redirect templates]]</nowiki>
----
----
This template provides the link to [https://www.nationstates.net/ NationStates] nation. Its usage is:
This template provides the link to [https://www.nationstates.net/ NationStates] nation. Its usage is:
Line 16: Line 16:
*<nowiki>{{NSNFlagIcon|Zhousheng|ZhoushengFlag.png}}</nowiki> produces {{NSNFlagIcon|Zhousheng|ZhoushengFlag.png}}
*<nowiki>{{NSNFlagIcon|Zhousheng|ZhoushengFlag.png}}</nowiki> produces {{NSNFlagIcon|Zhousheng|ZhoushengFlag.png}}
*<nowiki>{{NSNFlagIcon|Zhousheng|ZhoushiCultureFlag.png}}</nowiki> produces {{NSNFlagIcon|Zhousheng|ZhoushiCultureFlag.png}}
*<nowiki>{{NSNFlagIcon|Zhousheng|ZhoushiCultureFlag.png}}</nowiki> produces {{NSNFlagIcon|Zhousheng|ZhoushiCultureFlag.png}}
*<nowiki>{{NSNFlagIcon|Silvadum City|SilvadumFlag.png}}</nowiki> produces {{NSNFlagIcon|Silvadum City|SilvadumFlag.png}}
*<nowiki>{{NSNFlagIcon|Silvadum City|SilvadumFlag.png}}</nowiki> produces {{NSNFlagIcon|Silvadum City|SilvadumFlag.png}} ''(Link is automatically changed to add the [[wikipedia:Underscore|underscore]])''
*<nowiki>{{NSNFlagIcon|Silvadum_City|SilvadumFlag.png}}</nowiki> produces {{NSNFlagIcon|Silvadum_City|SilvadumFlag.png}} ''(Hover title is automatically changed to remove the [[wikipedia:Underscore|underscore]])''
====Links:====
====Links:====
*[[Template:NSN|NSN (Only text name)]]
*[[Template:NSN|NSN (Only text name)]]
*[[Template:NSNFlag|NSNFlag (Text and flag)]]
*[[Template:NSNFlag|NSNFlag (Text and flag)]]
*[[Template:NSNIcon|NSNIcon (Top icon on the page)]]</noinclude>
*[[Template:NSNIcon|NSNIcon (Top icon on the page)]]</noinclude>

Revision as of 17:49, 20 August 2021

NationStates Nation Flag


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

{{Hover title|dotted=no|{{replace|{{{1}}}|_| }} on NationStates|[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/nation={{replace|{{{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
  • {{NSNFlagIcon|Silvadum City|SilvadumFlag.png}} produces SilvadumFlag.png (Link is automatically changed to add the underscore)
  • {{NSNFlagIcon|Silvadum_City|SilvadumFlag.png}} produces SilvadumFlag.png (Hover title is automatically changed to remove the underscore)

Links: