Difference between revisions of "Template:Region"

From eRepublik Official Wiki
Jump to: navigation, search
(added "historical capital", map now auto-links, moved "last updated" to the bottom, removed {{{resource}}} ({{{resource1}}} in use, {{{resource}}} still displays old resource on pages which haven't been updated yet))
m (removed update notice)
Line 1: Line 1:
<includeonly>{{#if: {{{population|}}}|{{Update|date=As of [[Resource Wars (2016)|2016 Resource Wars]]}}[[Category:Outdated region pages]]}}<div style="float:right; clear:right; opacity:1; width:250px; border:2px solid #C6E4F2; -moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;font-size:100%; background-color:#F1FAFF; margin:0px 0px 10px 10px; padding:10px 0px 5px 0px; text-align:left;">
+
<includeonly><div style="float:right; clear:right; opacity:1; width:250px; border:2px solid #C6E4F2; -moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;font-size:100%; background-color:#F1FAFF; margin:0px 0px 10px 10px; padding:10px 0px 5px 0px; text-align:left;">
 
<div align="center"><span class="plainlinks" style="padding:1px;  font-size:130%; font-weight:bold; text-align:center; color:#3C8FA7">[http://www.erepublik.com/en/region/{{#if: {{{link|}}}|{{{link|}}}|{{{name|}}}}} <span>{{{name|Unnamed region}}}</span>{{#if:{{{altname1|}}}|<br /><span style="font-size:12px;">''{{{altname1|}}}''</span>|}}{{#if:{{{altname2|}}}|<br /><span style="font-size:12px;">''{{{altname2|}}}''</span>|}}{{#if:{{{altname3|}}}|<br /><span style="font-size:12px;">''{{{altname3|}}}''</span>|}}]</span>
 
<div align="center"><span class="plainlinks" style="padding:1px;  font-size:130%; font-weight:bold; text-align:center; color:#3C8FA7">[http://www.erepublik.com/en/region/{{#if: {{{link|}}}|{{{link|}}}|{{{name|}}}}} <span>{{{name|Unnamed region}}}</span>{{#if:{{{altname1|}}}|<br /><span style="font-size:12px;">''{{{altname1|}}}''</span>|}}{{#if:{{{altname2|}}}|<br /><span style="font-size:12px;">''{{{altname2|}}}''</span>|}}{{#if:{{{altname3|}}}|<br /><span style="font-size:12px;">''{{{altname3|}}}''</span>|}}]</span>
  

Revision as of 08:49, 13 February 2019

[edit] [purge]

Documentation


Usage

Sichuan

Icon-China.png China

Flag of the owner  Coat of Arms of Sichuan
Map of the region
Society
Capital Chengdu
Residents 77
Visitors 78
Language Chinese
Moving zone B4
Productivity
Resources Icon - Deer.png Icon - Grain.png
Icon - Cattle.png Icon - Fruits.png

Last update: February 4, 2018


{{Region
  |name = 
  |link = 
  |altname1 = 
  |altname2 = 
  |altname3 = 
  |number = 
  |coatofarms = 

<!-- Society --> 
  |capital = 
  |residents = 
  |visitors = 
  |language = 
  |movingzone = 
  |last update = 

<!-- Productivity --> 
  |resource1 = 
  |resource2 = 
  |resource3 = 
  |resource4 = 
}}

Notes

  • If a value is not known, do not enter a place holder value (n/a, none, ..., etc.). This might create a strange link.
  • This template automatically places the region into a "Region of country" and "Regions with resource" categories, so do not add any categories to region pages.
  • Coat of Arms - Use this place for the coat of arms of the region, but if there is none then use the coat of arms of the country.
  • Region map is added automatically.

Resources

  • If region has multiple resources, use resource1, resource2, resource3, resource4 (as many as the region has). If region has no resource, use resource1 and leave it blank.