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".

Contents

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


Romania

Region Population Resource Occupied by
Muntenia 3608 Oil Flag-Romania.jpg Romania
Banat 994 Cattle Flag-Romania.jpg Romania
Bucovina 546Sus.png Deer Flag-Romania.jpg Romania
Dobrogea 1162 Sus.png Grain Flag-Romania.jpg Romania
Maramures 483Sus.png Deer Flag-Romania.jpg Romania
Moldova 1758 Cattle Flag-Romania.jpg Romania
Oltenia 629Sus.png Grain Flag-Romania.jpg Romania
Transilvania 2019Sus.png Cattle Flag-Romania.jpg Romania
Personal tools
Namespaces
Variants
Actions
Wiki
Miscellaneous
Editors
Toolbox