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: AlabamaAlaska (occupied by Icon-Turkey.png), ArizonaArkansasCaliforniaColoradoConnecticut (occupied by Icon-Finland.png), Delaware (occupied by Icon-Croatia.png), District of ColumbiaFloridaGeorgia (occupied by Icon-Croatia.png), Hawaii (occupied by Icon-Hungary.png), IdahoIllinoisIndianaIowaKansas (occupied by Icon-Croatia.png), KentuckyLas Villas (occupied by Icon-USA.png), LouisianaMaineMaryland (occupied by Icon-Chile.png), Massachusetts (occupied by Icon-Albania.png), MichiganMinnesotaMississippiMissouriMontana (occupied by Icon-Turkey.png), NebraskaNevadaNew HampshireNew Jersey (occupied by Icon-Hungary.png), New MexicoNew York (occupied by Icon-Chile.png), North Carolina (occupied by Icon-Argentina.png), North Dakota (occupied by Icon-Turkey.png), OhioOklahoma (occupied by Icon-Greece.png), Oregon (occupied by Icon-Croatia.png), PennsylvaniaPyongan (occupied by Icon-Greece.png), Rhode IslandSouth CarolinaSouth DakotaTennesseeTexas (occupied by Icon-Greece.png), UtahVermont (occupied by Icon-Albania.png), VirginiaWashington, and Wyoming.

Its current territories are listed below:

Original Owner Resource Map
Kentucky Icon-capital.gif Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif Alabama Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif
Alberta Icon-Canada.png Icon - Wood.png Wood Icon allcountries.gif Arizona Icon-USA.png Icon - Wood.png Wood Icon allcountries.gif
Arkansas Icon-USA.png Icon - Grain.png Grain Icon allcountries.gif California Icon-USA.png Icon - Grain.png Grain Icon allcountries.gif
Colorado Icon-USA.png Icon - Cattle.png Cattle Icon allcountries.gif District of Columbia Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif
Florida Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif Idaho Icon-USA.png Icon - Cattle.png Cattle Icon allcountries.gif
Illinois Icon-USA.png Icon - Oil.png Oil Icon allcountries.gif Indiana Icon-USA.png Icon - Grain.png Grain Icon allcountries.gif
Iowa Icon-USA.png Icon - Grain.png Grain Icon allcountries.gif Las Villas Icon-Cuba.png Icon - Grain.png Grain Icon allcountries.gif
Louisiana Icon-USA.png Icon - Wood.png Wood Icon allcountries.gif Maine Icon-USA.png Icon - Aluminum.png Aluminum Icon allcountries.gif
Michigan Icon-USA.png Icon - Limestone.png Limestone Icon allcountries.gif Minnesota Icon-USA.png Icon - Grain.png Grain Icon allcountries.gif
Mississippi Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif Missouri Icon-USA.png Icon - Cattle.png Cattle Icon allcountries.gif
Nebraska Icon-USA.png Icon - Grain.png Grain Icon allcountries.gif Nevada Icon-USA.png Icon - Cattle.png Cattle Icon allcountries.gif
New Hampshire Icon-USA.png Icon - Aluminum.png Aluminum Icon allcountries.gif New Mexico Icon-USA.png Icon - Cattle.png Cattle Icon allcountries.gif
Ohio Icon-USA.png Icon - Grain.png Grain Icon allcountries.gif Pennsylvania Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif
Rhode Island Icon-USA.png Icon - Aluminum.png Aluminum Icon allcountries.gif South Carolina Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif
South Dakota Icon-USA.png Icon - Cattle.png Cattle Icon allcountries.gif Tennessee Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif
Utah Icon-USA.png Icon - Cattle.png Cattle Icon allcountries.gif Virginia Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif
Washington Icon-USA.png Icon - Cattle.png Cattle Icon allcountries.gif Western Cuba Icon-Cuba.png Icon - Fruits.png Fruits Icon allcountries.gif
Wyoming Icon-USA.png Icon - Cattle.png Cattle Icon allcountries.gif [[]] 25px 25px FAIL Icon allcountries.gif