Template:NSRFlagIcon: 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>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> | ||
---- | ---- | ||
</noinclude>{{Hover title|dotted=no|{{replace|{{{1}}}| | | </noinclude>{{Hover title|dotted=no|{{replace|{{{1}}}|_| }} region on NationStates|[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/region={{replace|{{{1}}}| |_}}|border]]}}[[Category:Pages using NationStates redirect templates]]<noinclude> | ||
<nowiki>{{Hover title|dotted=no|{{replace|{{{1}}}| | | <nowiki>{{Hover title|dotted=no|{{replace|{{{1}}}|_| }} region on NationStates|[[File:{{{2}}}|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: |
Revision as of 18:01, 20 August 2021
NationStates Region FlagIcon
[[File:{{{2}}}|23x15px|link=https://www.nationstates.net/region={{{1}}}%7Cborder]]
{{Hover title|dotted=no|{{replace|{{{1}}}|_| }} region on NationStates|[[File:{{{2}}}|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:")}}
Example:
- {{NSRFlagIcon|Anteria|Flag_of_Anteria.png}} produces
- {{NSRFlagIcon|Anteria|AWAFlag.png}} produces
- {{NSRFlagIcon|South Pacific|WorldAssembly.png}} produces (Link is automatically changed to add the underscore)
- {{NSRFlagIcon|South_Pacific|WorldAssembly.png}} produces (Hover title is automatically changed to remove the underscore)