Template:NSNFlag: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 15: | Line 15: | ||
<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|{{{3|{{replace|{{{1}}}|_| }}}}} on NationStates|[[File:{{{2|Australian_Aboriginal_Flag.svg}}}|23x15px|link=https://www.nationstates.net/nation={{replace|{{{1}}}| |_}}|border]]}} [https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{3|{{replace|{{{1}}}|_| }}}}} on NationStates|{{NSColor|{{{3|{{replace|{{{1}}}|_| }}}}}}}}}][[Category:Pages using NationStates redirect templates]]<noinclude> | </noinclude>{{Hover title|dotted=no|{{{4|{{{3|{{replace|{{{1}}}|_| }}}}}}}} on NationStates|[[File:{{{2|Australian_Aboriginal_Flag.svg}}}|23x15px|link=https://www.nationstates.net/nation={{replace|{{{1}}}| |_}}|border]]}} [https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{4|{{{3|{{replace|{{{1}}}|_| }}}}}}}} on NationStates|{{NSColor|{{{3|{{replace|{{{1}}}|_| }}}}}}}}}][[Category:Pages using NationStates redirect templates]]<noinclude> | ||
<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]]}} [https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{3|{{replace|{{{1}}}|_| }}}}} on NationStates|{{NSColor|{{{3|{{replace|{{{1}}}|_| }}}}}}}}}][[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]]}} [https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{3|{{replace|{{{1}}}|_| }}}}} on NationStates|{{NSColor|{{{3|{{replace|{{{1}}}|_| }}}}}}}}}][[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 "File:")|Display Name}}</nowiki> | <nowiki>{{NSN|NS Nation Name|Flag image (without "File:")|Display Name|Hover title}}</nowiki> | ||
If no Display Name is added, the name shows the NS Nation Name | If no Display Name is added, the name shows the NS Nation Name | ||
[[Category:External link templates]][[Category:Templates linking to NationStates]] | [[Category:External link templates]][[Category:Templates linking to NationStates]] |
Revision as of 16:31, 23 November 2021
NationStates link color |
---|
#008000 |
<span style="color: #008000"></span> |
{{NSColor|}} |
NationStates Nation Flag
{{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]]}} [https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{3|{{replace|{{{1}}}|_| }}}}} on NationStates|{{NSColor|{{{3|{{replace|{{{1}}}|_| }}}}}}}}}][[Category:Pages using NationStates redirect templates]]
This template provides the link to NationStates nation. Its usage is:
{{NSN|NS Nation Name|Flag image (without "File:")|Display Name|Hover title}}
If no Display Name is added, the name shows the NS Nation Name
Example:
Input | Result | Note |
---|---|---|
{{NSNFlag|Zhousheng}} | Zhousheng | — |
{{NSNFlag|Zhousheng|ZhoushengFlag.png}} | Zhousheng | — |
{{NSNFlag|Zhousheng|ZhoushengFlag.png|Zhoushi Federal Republic}} | Zhoushi Federal Republic | — |
{{NSNFlag|Zhousheng|ZhoushiCultureFlag.png|Zhoushi people}} | Zhoushi people | — |
{{NSNFlag|Silvadum City|SilvadumFlag.png}} | Silvadum City | Link is automatically changed to add the underscore |
{{NSNFlag|Silvadum_City|SilvadumFlag.png}} | Silvadum City | Name is automatically changed to remove the underscore |