Difference between revisions of "Template:RegionsTable"

From eRepublik Official Wiki
Jump to: navigation, search
m
(No difference)

Revision as of 17:35, 29 November 2011


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|California|Florida|Oregon|Washington|last=Louisiana|showprod=1|showmap=2}}

Demonstration

The original territory of the United States of America is composed of several regions: CaliforniaFloridaOregon (occupied by Icon-Egypt.png), Washington, and Louisiana (occupied by Icon-Italy.png).

Its current territories are listed below:

Original Owner Resource Map
District of Columbia Icon-capital.gif Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif Alaska Icon-USA.png Icon - Oil.png Oil Icon allcountries.gif
Bohus Icon-Sweden.png Icon - Aluminum.png Aluminum Icon allcountries.gif Brittany Icon-France.png Icon - Fish.png Fish Icon allcountries.gif
California Icon-USA.png Icon - Grain.png Grain Icon allcountries.gif Central Croatia Icon-Croatia.png Icon - Grain.png Grain Icon allcountries.gif
Colorado Icon-USA.png Icon - Cattle.png Cattle Icon allcountries.gif Connecticut Icon-USA.png Icon - Aluminum.png Aluminum Icon allcountries.gif
Eastern Cape Icon-South Africa.png Icon - Deer.png Deer Icon allcountries.gif Federation of BiH Icon-Bosnia and Herzegovina.png Icon - Deer.png Deer Icon allcountries.gif
Florida Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif Hawaii Icon-USA.png Icon - Clay.png Clay Icon allcountries.gif
Istria and Kvarner Icon-Croatia.png Icon - Limestone.png Limestone Icon allcountries.gif Jilin Icon-China.png Icon - Cattle.png Cattle Icon allcountries.gif
Kentucky Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif Llanos Icon-Venezuela.png Icon - Grain.png Grain Icon allcountries.gif
Lower Carniola Icon-Slovenia.png Icon - Grain.png Grain Icon allcountries.gif Lower Normandy Icon-France.png Icon - Fish.png Fish Icon allcountries.gif
Michigan Icon-USA.png Icon - Limestone.png Limestone Icon allcountries.gif Nebraska Icon-USA.png Icon - Grain.png Grain Icon allcountries.gif
New Hampshire Icon-USA.png Icon - Aluminum.png Aluminum Icon allcountries.gif New York Icon-USA.png Icon - Clay.png Clay Icon allcountries.gif
Ningxia Icon-China.png Icon - Cattle.png Cattle Icon allcountries.gif North Calais Icon-France.png Icon - Clay.png Clay Icon allcountries.gif
North Dakota Icon-USA.png Icon - Cattle.png Cattle Icon allcountries.gif Northwest Croatia Icon-Croatia.png Icon - Grain.png Grain Icon allcountries.gif
Picardy Icon-France.png Icon - Fruits.png Fruits Icon allcountries.gif Prekmurje Icon-Slovenia.png Icon - Clay.png Clay Icon allcountries.gif
Styria and Carinthia Icon-Slovenia.png Icon - Deer.png Deer Icon allcountries.gif Tennessee Icon-USA.png Icon - Fruits.png Fruits Icon allcountries.gif
Texas Icon-USA.png Icon - Oil.png Oil Icon allcountries.gif Upper Carniola Icon-Slovenia.png Icon - Aluminum.png Aluminum Icon allcountries.gif
Upper Normandy Icon-France.png Icon - Fish.png Fish Icon allcountries.gif Urals Icon-Russia.png Icon - Iron.png Iron 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
West Virginia Icon-USA.png Icon - Grain.png Grain Icon allcountries.gif Western Siberia Icon-Russia.png Icon - Wood.png Wood Icon allcountries.gif