Template:NSR: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude> {|class="infobox" !style="font-family:Arial Unicode MS; font-size:1.3em; background:#803000; text-align:center"|{{White|[https://www.nationstates.net/ {{White|Nati...") |
mNo edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<!--{| 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> | |||
|}--> | |||
{|class="infobox" | {|class="infobox" | ||
!style="font-family:Arial Unicode MS; font-size:1.3em; background:#803000; text-align:center"|{{White|[https://www.nationstates.net/ {{White|NationStates}}] region | !style="font-family:Arial Unicode MS; font-size:1.3em; background:#803000; text-align:center"|{{White|[https://www.nationstates.net/ {{White|NationStates}}] region link color}} | ||
|- | |- | ||
!style="font-family:Arial Unicode MS; font-size:5.0em; background:#803000; text-align:center"|{{White|#803000}} | !style="font-family:Arial Unicode MS; font-size:5.0em; background:#803000; text-align:center"|{{White|#803000}} | ||
Line 10: | Line 13: | ||
|} | |} | ||
<big><big>N</big></big>ation<big><big>S</big></big>tates <big><big>R</big></big>egion | <big><big>N</big></big>ation<big><big>S</big></big>tates <big><big>R</big></big>egion | ||
---- | |||
</noinclude>[https://www.nationstates.net/region={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{3|{{{2|{{replace|{{{1}}}|_| }}}}} region on NationStates}}}|{{NSRColor|{{{2|{{replace|{{{1}}}|_| }}}}}}}}}][[Category:Pages using NationStates redirect templates]]<noinclude> | |||
< | <nowiki>[https://www.nationstates.net/region={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{3|{{{2|{{replace|{{{1}}}|_| }}}}} region on NationStates}}}|{{NSRColor|{{{2|{{replace|{{{1}}}|_| }}}}}}}}}][[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: | ||
<nowiki>{{NSN|NS Region Name|Display Name|Flag image}}</nowiki> | <nowiki>{{NSN|NS Region Name|Display Name|Flag image|Hover title}}</nowiki> | ||
If no Display Name is added, the name shows the NS | If no Display Name is added, the name shows the NS Region Name | ||
[[Category:External link templates]] | [[Category:External link templates]][[Category:Templates linking to NationStates]] | ||
====Example:==== | ====Example:==== | ||
{| class="wikitable" style="text-align:center" | |||
!Input !!Result !!Note | |||
|- | |||
|<nowiki>{{NSR|Anteria}}</nowiki> ||{{NSR|Anteria}} ||— | |||
|- | |||
|<nowiki>{{NSR|South Pacific}}</nowiki> ||{{NSR|South Pacific}} ||''Link is automatically changed to add the [[wikipedia:Underscore|underscore]]'' | |||
|- | |||
|<nowiki>{{NSR|South_Pacific}}</nowiki> ||{{NSR|South_Pacific}} ||''Name is automatically changed to remove the [[wikipedia:Underscore|underscore]]'' | |||
|} | |||
====Links:==== | ====Links:==== | ||
*[[Template:NSRFlag|NSN (Text and flag)]] | *[[Template:NSRFlag|NSN (Text and flag)]] | ||
*[[Template:NSRFlagIcon|NSRFlagIcon (Only flag image)]] | *[[Template:NSRFlagIcon|NSRFlagIcon (Only flag image)]] |
Latest revision as of 17:03, 23 November 2021
NationStates region link color |
---|
#803000 |
<span style="color: #803000"></span> |
{{NSRColor|}} |
NationStates Region
[https://www.nationstates.net/region={{replace|{{{1}}}| |_}} {{Hover title|dotted=no|{{{3|{{{2|{{replace|{{{1}}}|_| }}}}} region on NationStates}}}|{{NSRColor|{{{2|{{replace|{{{1}}}|_| }}}}}}}}}][[Category:Pages using NationStates redirect templates]]
This template provides the link to NationStates factbook. Its usage is:
{{NSN|NS Region Name|Display Name|Flag image|Hover title}}
If no Display Name is added, the name shows the NS Region Name
Example:
Input | Result | Note |
---|---|---|
{{NSR|Anteria}} | Anteria | — |
{{NSR|South Pacific}} | South Pacific | Link is automatically changed to add the underscore |
{{NSR|South_Pacific}} | South Pacific | Name is automatically changed to remove the underscore |