Template:Occupied

From eRepublik Official Wiki
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-Romania.jpg Romania

Occupying Country or Not Occupied

{{Occupied|Muntenia|Romania}}

Produces: Not occupied

{{Occupied|California|USA}}

Produces: Not occupied

Ballflag style

{{Occupied|Muntenia|style=ball}}

Produces: Icon-Romania.png Romania