Difference between revisions of "Template:FlagLink2"
From eRepublik Official Wiki
(Created page with "<includeonly>[[File:Flag-{{{1|}}}.jpg|20px|link=]] {{#if: {{{textcolor|}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}} }}|<span style="color:{{{textcolor|}}}">{{#if: {{{2|}}}|{{{2}}}|{{...") |
(warning added) |
||
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= This is a warning before deletion! | ||
+ | |text= This template will be integrated and replaced with {{Tl|FlagLink}} | ||
+ | }}{{Documentation}}</noinclude> |
Revision as of 04:01, 9 October 2018
This is a warning before deletion!
This template will be integrated and replaced with {{FlagLink}}
Usage
This template is used to insert the small (20px) rectangular flags of countries with a link to the side.
Example: 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.