Template:NSN: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
<big><big>N</big></big>ation<big><big>S</big></big>tates <big><big>N</big></big>ation
<big><big>N</big></big>ation<big><big>S</big></big>tates <big><big>N</big></big>ation
----
----
</noinclude>[https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{2|{{replace|{{{1}}}|_| }}}}} on NationStates|{{NSColor|{{{2|{{replace|{{{1}}}|_| }}}}}}}}}][[Category:Pages using NationStates redirect templates]]<noinclude>
</noinclude>[https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{3|{{{2|{{replace|{{{1}}}|_| }}}}}}}} on NationStates|{{NSColor|{{{2|{{replace|{{{1}}}|_| }}}}}}}}}][[Category:Pages using NationStates redirect templates]]<noinclude>


  <nowiki>[https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{2|{{replace|{{{1}}}|_| }}}}} on NationStates|{{NSColor|{{{2|{{replace|{{{1}}}|_| }}}}}}}}}][[Category:Pages using NationStates redirect templates]]</nowiki>
  <nowiki>[https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{2|{{replace|{{{1}}}|_| }}}}} on NationStates|{{NSColor|{{{2|{{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|Display Name}}</nowiki>
  <nowiki>{{NSN|NS Nation Name|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:32, 23 November 2021

NationStates link color
#008000
<span style="color: #008000"></span>
{{NSColor|}}

NationStates Nation


{{{1}}}

[https://www.nationstates.net/nation={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{2|{{replace|{{{1}}}|_| }}}}} on NationStates|{{NSColor|{{{2|{{replace|{{{1}}}|_| }}}}}}}}}][[Category:Pages using NationStates redirect templates]]

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

{{NSN|NS Nation Name|Display Name|Hover title}}

If no Display Name is added, the name shows the NS Nation Name

Example:

Input Result Note
{{NSN|Zhousheng|Zhousheng}} Zhousheng
{{NSN|Zhousheng|Zhoushi Federal Republic}} Zhoushi Federal Republic
{{NSN|Silvadum City}} Silvadum City Link is automatically changed to add the underscore
{{NSN|Silvadum_City}} Silvadum City Name is automatically changed to remove the underscore

Links: