Template:NSNFlagIcon: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 3: Line 3:
!style="font-size:1.5em; background:#FFBFBF; border:0px"|<span style="color: #AA0000">If your nation has a multiword name, use "_" instead of spaces in NS Nation Name</span>
!style="font-size:1.5em; background:#FFBFBF; border:0px"|<span style="color: #AA0000">If your nation has a multiword name, use "_" instead of spaces in NS Nation Name</span>
|}-->
|}-->
[[File:Australian_Aboriginal_Flag.svg|300px|thumb|{{Hover title|dotted=no|Australian Aboriginal Flag|[https://en.wikipedia.org/wiki/Australian_Aboriginal_Flag Default flag]}} for this template]]
<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|{{{3|{{replace|{{{1}}}|_| }} on NationStates}}}|[[File:{{{2|Australian_Aboriginal_Flag.svg}}}|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|{{{3|{{replace|{{{1}}}|_| }} on NationStates}}}|[[File:{{{2|Australian_Aboriginal_Flag.svg}}}|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:
  <nowiki>{{NSN|NS Nation Name|Flag image (Without the "File:")}}</nowiki>
  <nowiki>{{NSN|NS Nation Name|Flag image (Without the "File:")|Hover title}}</nowiki>
  [[Category:External link templates]][[Category:Templates linking to NationStates]]
  [[Category:External link templates]][[Category:Templates linking to NationStates]]
   
   
====Example:====
====Example:====
*<nowiki>{{NSNFlagIcon|Zhousheng|ZhoushengFlag.png}}</nowiki> produces {{NSNFlagIcon|Zhousheng|ZhoushengFlag.png}}
{| class="wikitable" style="text-align:center"
*<nowiki>{{NSNFlagIcon|Zhousheng|ZhoushiCultureFlag.png}}</nowiki> produces {{NSNFlagIcon|Zhousheng|ZhoushiCultureFlag.png}}
!Input !!Result !!Note
|-
|<nowiki>{{NSNFlagIcon|Zhousheng}}</nowiki> ||{{NSNFlagIcon|Zhousheng}} ||—
|-
|<nowiki>{{NSNFlagIcon|Zhousheng|ZhoushengFlag.png}}</nowiki> ||{{NSNFlagIcon|Zhousheng|ZhoushengFlag.png}} ||—
|-
|<nowiki>{{NSNFlagIcon|Zhousheng|ZhoushiCultureFlag.png}}</nowiki> ||{{NSNFlagIcon|Zhousheng|ZhoushiCultureFlag.png}} ||—
|-
|<nowiki>{{NSNFlagIcon|Silvadum City|SilvadumFlag.png}}</nowiki> ||{{NSNFlagIcon|Silvadum City|SilvadumFlag.png}} ||''Link is automatically changed to add the [[wikipedia:Underscore|underscore]]''
|-
|<nowiki>{{NSNFlagIcon|Silvadum_City|SilvadumFlag.png}}</nowiki> ||{{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>

Latest revision as of 17:05, 23 November 2021

Default flag for this template

NationStates Nation Flag


Australian Aboriginal Flag.svg

{{Hover title|dotted=no|{{{3|{{replace|{{{1}}}|_| }} on NationStates}}}|[[File:{{{2|Australian_Aboriginal_Flag.svg}}}|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:")|Hover title}}

Example:

Input Result Note
{{NSNFlagIcon|Zhousheng}} Australian Aboriginal Flag.svg
{{NSNFlagIcon|Zhousheng|ZhoushengFlag.png}} ZhoushengFlag.png
{{NSNFlagIcon|Zhousheng|ZhoushiCultureFlag.png}} ZhoushiCultureFlag.png
{{NSNFlagIcon|Silvadum City|SilvadumFlag.png}} SilvadumFlag.png Link is automatically changed to add the underscore
{{NSNFlagIcon|Silvadum_City|SilvadumFlag.png}} SilvadumFlag.png Hover title is automatically changed to remove the underscore

Links: