Template:NSRFlagIcon: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
<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|{{{3|{{replace|{{{1}}}|_| }}}}} | </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}}}|_| }}}}} | <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: |
Latest revision as of 17:04, 23 November 2021
NationStates Region FlagIcon
{{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}} | — | |
{{NSRFlagIcon|Anteria|Flag_of_Anteria.png}} | — | |
{{NSRFlagIcon|Anteria|AWAFlag.png}} | — | |
{{NSRFlagIcon|South Pacific|WorldAssembly.png}} | Link is automatically changed to add the underscore | |
{{NSRFlagIcon|South_Pacific|WorldAssembly.png}} | Hover title is automatically changed to remove the underscore |