Template:RegionsTable

From eRepublik Official Wiki
Jump to: navigation, search


Usage

This automatically updating table displays all the current territories of a country. For the purpose of convenience, the country's original regions are shown separately from the table.

Limits and other info

  • Maximum of seventy (70) total regions
    • Maximum of fifty-two (52) original regions, including the capital region
  • Capitals are always listed first

Code

{{RegionsTable|<Original region 1>|<Original region 2>|<Original region 3>|last=<Original region 4>|showprod=<0 or 1>|showmap=<0 or 1>}}

  • Please type last= before the last original region in the list, so instead of:
{{RegionsTable|Northern Netherlands|Southern Netherlands|Western Netherlands|Eastern Netherlands|showprod=0|showmap=0}}
please use
{{RegionsTable|Northern Netherlands|Southern Netherlands|Western Netherlands|last=Eastern Netherlands|showprod=0|showmap=0}}.
Although it may seem trivial, it allows the template to work correctly.
  • Setting showprod to 1 shows what natural resources a region has, while setting it to 0 hides the additional information.
  • Setting showmap to 1 shows maps of the regions (which may sometimes be missing), while setting it to 0 hides the maps.
    • Setting showmap to 2 shows links to maps of the regions, instead of the full maps themselves.

Example

Sample Code

{{RegionsTable|Alabama|Alaska|Arizona|Arkansas|California|Colorado|Connecticut|Delaware|District of Columbia|Florida|Georgia|Hawaii|Idaho|Illinois|
Indiana|Iowa|Kansas|Kentucky|Las Villas|Louisiana|Maine|Maryland|Massachusetts|Michigan|Minnesota|Mississippi|Missouri|Montana|Nebraska|Nevada|New Hampshire|
New Jersey|New Mexico|New York|North Carolina|North Dakota|Ohio|Oklahoma|Oregon|Pennsylvania|Pyongan|Rhode Island|South Carolina|
South Dakota|Tennessee|Texas|Utah|Vermont|Virginia|Washington|West Virginia|Wisconsin|last=Wyoming|showprod=1|showmap=2}}

Demonstration

The original territory of the United States of America is composed of several regions: Alabama (occupied by Icon-Serbia.png), Alaska (occupied by Icon-Republic of Macedonia (FYROM).png), Arizona (occupied by Icon-Serbia.png), Arkansas (occupied by Icon-Serbia.png), California (occupied by Icon-Serbia.png), Colorado (occupied by Icon-Argentina.png), Connecticut (occupied by Icon-Bulgaria.png), Delaware (occupied by Icon-Romania.png), District of Columbia (occupied by Icon-Serbia.png), Florida (occupied by Icon-Serbia.png), Georgia (occupied by Icon-Serbia.png), Hawaii (occupied by Icon-Argentina.png), Idaho (occupied by Icon-Romania.png), Illinois (occupied by Icon-Argentina.png), Indiana (occupied by Icon-Serbia.png), Iowa (occupied by Icon-Serbia.png), Kansas (occupied by Icon-Argentina.png), Kentucky (occupied by Icon-Serbia.png), Las VillasLouisianaMaine (occupied by Icon-Bulgaria.png), Maryland (occupied by Icon-Greece.png), Massachusetts (occupied by Icon-Bulgaria.png), MichiganMinnesota (occupied by Icon-Serbia.png), Mississippi (occupied by Icon-Serbia.png), Missouri (occupied by Icon-Argentina.png), Montana (occupied by Icon-Republic of Macedonia (FYROM).png), Nebraska (occupied by Icon-Serbia.png), Nevada (occupied by Icon-Serbia.png), New Hampshire (occupied by Icon-Bulgaria.png), New JerseyNew Mexico (occupied by Icon-Argentina.png), New York (occupied by Icon-Greece.png), North Carolina (occupied by Icon-Serbia.png), North Dakota (occupied by Icon-Serbia.png), Ohio (occupied by Icon-Serbia.png), Oklahoma (occupied by Icon-Argentina.png), Oregon (occupied by Icon-Republic of Macedonia (FYROM).png), Pennsylvania (occupied by Icon-Greece.png), PyonganRhode Island (occupied by Icon-Bulgaria.png), South Carolina (occupied by Icon-Serbia.png), South Dakota (occupied by Icon-Serbia.png), Tennessee (occupied by Icon-Argentina.png), Texas (occupied by Icon-Serbia.png), Utah (occupied by Icon-Serbia.png), Vermont (occupied by Icon-Bulgaria.png), Virginia (occupied by Icon-Serbia.png), Washington (occupied by Icon-Romania.png), and Wyoming (occupied by Icon-Serbia.png).

Its current territories are listed below:

Original Owner Resource Map
New Jersey Icon-capital.gif Icon-USA.png Icon - Aluminum.png Aluminum Icon allcountries.gif Attica Icon-Greece.png Icon - Fruits.png Fruits Icon allcountries.gif
Ionian Islands Icon-Greece.png Icon - Sand.png Sand (resource) Icon allcountries.gif Louisiana Icon-USA.png Icon - Wood.png Wood Icon allcountries.gif
Michigan Icon-USA.png Icon - Limestone.png Limestone Icon allcountries.gif Peloponnese Icon-Greece.png Icon - Iron.png Iron Icon allcountries.gif