Template:NSRFlagIcon: Difference between revisions

Jump to navigation Jump to search
(Created page with "<noinclude> {|class="infobox" !style="font-family:Arial Unicode MS; font-size:1.3em; background:#803000; text-align:center"|{{White|[https://www.nationstates.net/ {{White|Nati...")
 
mNo edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{|class="infobox"
<!--{| class="wikitable"
!style="font-family:Arial Unicode MS; font-size:1.3em; background:#803000; text-align:center"|{{White|[https://www.nationstates.net/ {{White|NationStates}}] region text color}}
!style="font-size:1.5em; background:#FFBFBF; border:0px"|<span style="color: #AA0000">If your region has a multiword name, use "_" instead of spaces in NS Region Name</span>
|-
|}-->
!style="font-family:Arial Unicode MS; font-size:5.0em; background:#803000; text-align:center"|{{White|#803000}}
[[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>R</big></big>egion <big><big>FlagIcon</big></big>
|style="font-family:Arial Unicode MS; font-size:1.2em; background:#803000; text-align:center"|{{White|<nowiki><span style="color: #803000"></span></nowiki>}}
|-
|style="font-family:Arial Unicode MS; font-size:1.3em; background:#803000; text-align:center"|[[Template:NSRColor|{{White|<nowiki>{{NSRColor|}}</nowiki>}}]]
|}
<big><big>N</big></big>ation<big><big>S</big></big>tates <big><big>R</big></big>egion <big><big>Flag</big></big>
----
----
</noinclude>[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/region={{{1}}}|border]]<noinclude>
</noinclude>{{Hover title|dotted=no|{{{3|{{replace|{{{1}}}|_| }} region on NationStates}}}|[[File:{{{2|Australian_Aboriginal_Flag.svg}}}|23x15px|link=https://www.nationstates.net/region={{replace|{{{1}}}| |_}}|border]]}}[[Category:Pages using NationStates redirect templates]]<noinclude>
 
<nowiki>{{Hover title|dotted=no|{{{3|{{replace|{{{1}}}|_| }} region on NationStates}}}|[[File:{{{2|Australian_Aboriginal_Flag.svg}}}|23x15px|link=https://www.nationstates.net/region={{replace|{{{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] factbook. Its usage is:
  <nowiki>{{NSN|NS Region Name|Flag image (Without the "File:")}}</nowiki>
  <nowiki>{{NSN|NS Region Name|Flag image (Without the "File:")|Hover title}}</nowiki>
  [[Category:External link templates]]
  [[Category:External link templates]][[Category:Templates linking to NationStates]]
   
   
====Example:====
====Example:====
*<nowiki>{{NSRFlagIcon|Anteria|Flag_of_Anteria.png}}</nowiki> produces {{NSRFlagIcon|Anteria|Flag_of_Anteria.png}}
{| class="wikitable" style="text-align:center"
*<nowiki>{{NSRFlagIcon|Anteria|AWAFlag.png}}</nowiki> produces {{NSRFlagIcon|Anteria|AWAFlag.png}}
!Input !!Result !!Note
|-
|<nowiki>{{NSRFlagIcon|Anteria}}</nowiki> ||{{NSRFlagIcon|Anteria}} ||—
|-
|<nowiki>{{NSRFlagIcon|Anteria|Flag_of_Anteria.png}}</nowiki> ||{{NSRFlagIcon|Anteria|Flag_of_Anteria.png}} ||—
|-
|<nowiki>{{NSRFlagIcon|Anteria|AWAFlag.png}}</nowiki> ||{{NSRFlagIcon|Anteria|AWAFlag.png}} ||—
|-
|<nowiki>{{NSRFlagIcon|South Pacific|WorldAssembly.png}}</nowiki> ||{{NSRFlagIcon|South Pacific|WorldAssembly.png}} ||''Link is automatically changed to add the [[wikipedia:Underscore|underscore]]''
|-
|<nowiki>{{NSRFlagIcon|South_Pacific|WorldAssembly.png}}</nowiki> ||{{NSRFlagIcon|South_Pacific|WorldAssembly.png}} ||''Hover title is automatically changed to remove the [[wikipedia:Underscore|underscore]]''
|}
====Links:====
====Links:====
*[[Template:NSR|NSR (Only text name)]]
*[[Template:NSR|NSR (Only text name)]]
*[[Template:NSRFlag|NSRFlag (Text and flag)]]</noinclude>
*[[Template:NSRFlag|NSRFlag (Text and flag)]]</noinclude>

Latest revision as of 17:04, 23 November 2021

Default flag for this template

NationStates Region FlagIcon


Australian Aboriginal Flag.svg

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

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

{{NSN|NS Region Name|Flag image (Without the "File:")|Hover title}}

Example:

Input Result Note
{{NSRFlagIcon|Anteria}} Australian Aboriginal Flag.svg
{{NSRFlagIcon|Anteria|Flag_of_Anteria.png}} Flag of Anteria.png
{{NSRFlagIcon|Anteria|AWAFlag.png}} AWAFlag.png
{{NSRFlagIcon|South Pacific|WorldAssembly.png}} WorldAssembly.png Link is automatically changed to add the underscore
{{NSRFlagIcon|South_Pacific|WorldAssembly.png}} WorldAssembly.png Hover title is automatically changed to remove the underscore

Links: