Template:Regions/doc
From eRepublik Official Wiki
< Template:Regions
Revision as of 12:49, 22 May 2017 by Andycro (Talk | contribs) (Created page with "{{Documentation subpage}} This is part of Template:Regions. Each part is responsible for something: *{{Tl|Regions/Owners}} - When a region name is passed to this template...")
This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:Regions.
To view the Template page itself, see Template:Regions.
This is part of Template:Regions. Each part is responsible for something:
- {{Regions/Owners}} - When a region name is passed to this template, it returns the current owner country of that region. This page is updated automatically updated by a bot. Please refrain from editing this page by hand.
- {{Regions/Regions}} - When country name is passed to this template it returns a formatted list of regions owned by the country in question. This page is updated automatically updated by a bot. Please refrain from editing this page by hand.
- {{Regions/Header}} - Responsible for the color of the header, which can be simply changed by add an entry for a country to with
background:#XXXXXX
- CSS property. See other entries to get an example about entering the value for your country. - {{Regions/HeaderText}} - Responsible for the color of the header text, which can be simply changed by add an entry for a country to with
thenameofthecolor
. See other entries to get an example about entering the value for your country.
Notes:
- If you want to get data for Ha'il you must pass
Ha'il
to the template. - If you want to get data for Svalbard & Jan Mayen or Yorkshire & Humberside, you need to replace '&' with '&'
- Make sure that next regions are written correctly (Capitalization, Dashes, etc.):
- Trentino South Tyrol
- Maluku Islands
- Haifa District
This is a complex template as it is connected with over 500 pages, so please refrain from changing information if you are not sure what you are doing!