Difference between revisions of "Template:CountryLinkSmall"

From eRepublik Official Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly><onlyinclude>[[File:Icon-{{{1|eRepublik}}}.png|15px|link=]]'''[[{{{1}}}{{#ifeq: {{SUBPAGENAME}}|{{BASEPAGENAME}}||{{#ifexist:{{{1}}}/{{SUBPAGENAME}}|/{{SUBPAGENAME}}}}}}{{#if:{{{2|}}}|{{!}}{{{2|}}}}}]]'''</onlyinclude></includeonly>
+
<includeonly><onlyinclude>{{Nowrap|[[File:Icon-{{{1|eRepublik}}}.png|15px|link=]]'''[[{{{1}}}{{#ifeq: {{SUBPAGENAME}}|{{BASEPAGENAME}}||{{#ifexist:{{{1}}}/{{SUBPAGENAME}}|/{{SUBPAGENAME}}}}}}{{#if:{{{2|}}}|{{!}}{{{2|}}}}}]]'''}}</onlyinclude></includeonly>
 
<noinclude>Usage:
 
<noinclude>Usage:
 
  <nowiki>{{CountryLinkSmall|Country|Link Name}}</nowiki>
 
  <nowiki>{{CountryLinkSmall|Country|Link Name}}</nowiki>

Revision as of 09:01, 11 October 2013

Usage:

{{CountryLinkSmall|Country|Link Name}}
  • This allows translated pages to use this template while keeping everything in the proper language. Unlike Template:FlagLink, users cannot change which page this template links to -- it will link to the country page regardless -- but it does allow users to use the FlagBall in other languages.
  • Note: Does not work with Chinese characters (affecting Chinese/Japanese). Japanese kana and Korean hangul work without issue.

Example:

Icon-North Korea.png 조선민주주의인민공화국