Template:Occupied

From eRepublik Official Wiki
Revision as of 14:36, 21 November 2011 by VSkyzv (Talk | contribs) (Undo revision 509755 by VSkyzv (talk))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


This template checks if a region is occupied or not. If it is not occupied, it returns "Not occupied".

Sample Code

{{Occupied|1|2}}
  1. Region
  2. Original Owner - If this is not specified, it uses {{BASEPAGENAME}} instead.
{{Occupied|Muntenia|Romania}}

Example

Display owning country

{{Occupied|Muntenia}}

Produces: Flag-Bulgaria.jpg Bulgaria

Occupying Country or Not Occupied

{{Occupied|Muntenia|Romania}}

Produces: Flag-Bulgaria.jpg Bulgaria

{{Occupied|California|USA}}

Produces: Not occupied

Ballflag style

{{Occupied|Muntenia|style=ball}}

Produces: Icon-Bulgaria.png Bulgaria