Template:NSRFlagIcon: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{| class="wikitable" | <!--{| class="wikitable" | ||
!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-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> | ||
|} | |}--> | ||
<big><big>N</big></big>ation<big><big>S</big></big>tates <big><big>R</big></big>egion <big><big>FlagIcon</big></big> | <big><big>N</big></big>ation<big><big>S</big></big>tates <big><big>R</big></big>egion <big><big>FlagIcon</big></big> | ||
---- | ---- | ||
Line 23: | Line 14: | ||
====Example:==== | ====Example:==== | ||
Note: [[wikimedia:File:Pacific_Islands_Forum_Flag.svg|File:Pacific Islands Forum Flag.svg]] is a real world flag of the [[wikipedia:Pacific Islands Forum|Pacific Islands Forum]] | |||
*<nowiki>{{NSRFlagIcon|Anteria|Flag_of_Anteria.png}}</nowiki> produces {{NSRFlagIcon|Anteria|Flag_of_Anteria.png}} | *<nowiki>{{NSRFlagIcon|Anteria|Flag_of_Anteria.png}}</nowiki> produces {{NSRFlagIcon|Anteria|Flag_of_Anteria.png}} | ||
*<nowiki>{{NSRFlagIcon|Anteria|AWAFlag.png}}</nowiki> produces {{NSRFlagIcon|Anteria|AWAFlag.png}} | *<nowiki>{{NSRFlagIcon|Anteria|AWAFlag.png}}</nowiki> produces {{NSRFlagIcon|Anteria|AWAFlag.png}} | ||
*<nowiki>{{NSRFlagIcon|South Pacific|Pacific Islands Forum Flag.svg}}</nowiki> produces {{NSRFlagIcon|South Pacific|Pacific Islands Forum Flag.svg}} ''(Link is automatically changed to add the [[wikipedia:Underscore|underscore]])'' | |||
*<nowiki>{{NSRFlagIcon|South_Pacific|Pacific Islands Forum Flag.svg}}</nowiki> produces {{NSRFlagIcon|South_Pacific|Pacific Islands Forum Flag.svg}} ''(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> |
Revision as of 17:57, 20 August 2021
NationStates Region FlagIcon
[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/region={{{1}}}%7Cborder]]
{{Hover title|dotted=no|{{{1}}} region on NationStates|[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/region={{{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:")}}
Example:
Note: File:Pacific Islands Forum Flag.svg is a real world flag of the Pacific Islands Forum
- {{NSRFlagIcon|Anteria|Flag_of_Anteria.png}} produces
- {{NSRFlagIcon|Anteria|AWAFlag.png}} produces
- {{NSRFlagIcon|South Pacific|Pacific Islands Forum Flag.svg}} produces link=https://www.nationstates.net/region=South Pacific (Link is automatically changed to add the underscore)
- {{NSRFlagIcon|South_Pacific|Pacific Islands Forum Flag.svg}} produces File:Pacific Islands Forum Flag.svg (Hover title is automatically changed to remove the underscore)