Difference between revisions of "Template:FlagLink2"

From eRepublik Official Wiki
Jump to: navigation, search
(Created page with "<includeonly>[[File:Flag-{{{1|}}}.jpg|20px|link=]] {{#if: {{{textcolor|}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}} }}|<span style="color:{{{textcolor|}}}">{{#if: {{{2|}}}|{{{2}}}|{{...")
 
(update)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>[[File:Flag-{{{1|}}}.jpg|20px|link=]] {{#if: {{{textcolor|}}}|[[{{#if: {{{2|}}}|{{{2}}}|{{{1}}} }}|<span style="color:{{{textcolor|}}}">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]]|[[{{#if: {{{2|}}}|{{{2}}}|{{{1}}} }}]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
<includeonly>[[File:Flag-{{{1|}}}.jpg|20px|link=]] {{#if: {{{textcolor|}}}|[[{{#if: {{{2|}}}|{{{2}}}|{{{1}}} }}|<span style="color:{{{textcolor|}}}">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]]|[[{{#if: {{{2|}}}|{{{2}}}|{{{1}}} }}]]}}</includeonly><noinclude>{{EBox
 +
|border=red
 +
|background=white
 +
|image= Deletion.png{{!}}24px
 +
|title= Only to be used in the high parser function articles!
 +
|text= This template is a simpler version of the {{Tl|FlagLink}}
 +
}}{{Documentation}}</noinclude>

Latest revision as of 01:15, 9 April 2019

edit

Deletion.png Only to be used in the high parser function articles!

This template is a simpler version of the {{FlagLink}}

[edit] [purge]

Documentation


Usage

This template is used to insert the small (20px) rectangular flags of countries with a link to the side.

Example: Flag-Greece.jpg Greece

Link to the country:

{{FlagLink2|INSERT COUNTRY HERE}}

Link to another page:

{{FlagLink2|Country|Page}}
Unlike {{FlagLink}}, this template uses only .jpg flags and doesn't check if other versions exist.