Difference between revisions of "Template:FlagLink"

From eRepublik Official Wiki
Jump to: navigation, search
m
 
(temp fix)
 
Line 1: Line 1:
<includeonly>{{SmFlag|{{{1}}}}} {{#if: {{{textcolor|}}}|[[{{#if: {{{2|}}}|{{{2}}}|{{{1}}} }}|<span style="color:{{{textcolor|}}}">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]]|[[{{#if: {{{2|}}}|{{{2}}}|{{{1}}} }}]]}}</includeonly><noinclude>{{FlagLink/Doc}}</noinclude>
+
<includeonly>{{SmFlag|{{{1}}}}} {{#if: {{{textcolor|}}}|[[{{#if: {{{2|}}}|{{{2}}}|{{{1}}} }}|<span style="color:{{{textcolor|}}}">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]]|[[{{#if: {{{2|}}}|{{{2}}}|{{{1}}} }}]]}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 04:19, 5 August 2022

[edit] [purge]

Documentation


Usage

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

Link to the country:

{{FlagLink|INSERT COUNTRY HERE}}

Link to another page:

{{FlagLink|Country|Page}}

Example

{{FlagLink|Greece}}

Flag-Greece.jpg Greece

{{FlagLink|Canada|Canadian Armed Forces}}

Flag-Canada.jpg Canadian Armed Forces

See also

  • {{CountryLink}} - same as flag, just with round ball flags
  • {{SmFlag}} - just a flag without a link
  • {{Flag}} - several different options to use country flag types and sizes and linking to any page