Template:NSR: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 24: | Line 24: | ||
====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)]] |
Revision as of 21:02, 21 August 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|{{{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}}
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 |