Template:Regions

From eRepublik Official Wiki
Revision as of 13:30, 9 August 2011 by Sampo555 (Talk | contribs) (Protected "Template:Regions": High traffic page ([edit=sysop] (indefinite) [move=sysop] (indefinite)))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


This template is used to show regions owned by countries in the region page. When you create a page for new region, add {{Regions|{{BASEPAGENAME}}}} to the page.

To show "Regions of country" add the country name as country=name| parameter. For example {{Regions|country=Finland}} will produce


This template will be updated using eRep API normally once a day.

Customizing

There are few ways of customizing this template.

Changing the color of the header

To change the color of the header, you need to add an entry for your country to Template:Regions/Header with background:#XXXXXX - CSS property. See other entries to get an example about entering the value for your country.

Note: It's important that you use the same name for your country as can be found here. Spelling it in any other way will not work.

Changing the color of the header text

To change the color of the header text, you need to add an entry for your country to Template:Regions/HeaderText with "thenameofthecolor" -code. See other entries to get an example about entering the value for your country.

Note: It's important that you use the same name for your country as can be found here. Spelling it in any other way will not work.