Difference between revisions of "Template:Resources"

From eRepublik Official Wiki
Jump to: navigation, search
m
 
m (grammar)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{Resources/{{TemplateLang|Resources}}
{{Resources/{{TemplateLang|Resources}}
+
 
|Grain={{{Grain|}}}
 
|Grain={{{Grain|}}}
 
|Deer={{{Deer|}}}
 
|Deer={{{Deer|}}}
Line 7: Line 6:
 
|Fruits={{{Fruits|}}}
 
|Fruits={{{Fruits|}}}
 
|Iron={{{Iron|}}}
 
|Iron={{{Iron|}}}
|Aluminium={{{Aluminium|}}}
+
|Aluminum={{{Aluminum|}}}
 
|Saltpeter={{{Saltpeter|}}}
 
|Saltpeter={{{Saltpeter|}}}
 
|Oil={{{Oil|}}}
 
|Oil={{{Oil|}}}
 
|Rubber={{{Rubber|}}}
 
|Rubber={{{Rubber|}}}
 +
|Sand={{{Sand|}}}
 +
|Clay={{{Clay|}}}
 +
|Wood={{{Wood|}}}
 +
|Limestone={{{Limestone|}}}
 +
|Granite={{{Granite|}}}
 +
|Neodymium={{{Neodymium|}}}
 +
|Magnesium={{{Magnesium|}}}
 +
|Cobalt={{{Cobalt|}}}
 +
|Titanium={{{Titanium|}}}
 +
|Wolfram={{{Wolfram|}}}
 
|}}
 
|}}
</includeonly>
+
</includeonly><noinclude>
 
+
{{LangMenu|Template:Resources}}{{-}}{{Complex}}{{Documentation}}
<noinclude>
+
{{LangMenu|Template:Resources}}{{Complex}}{{Documentation}}
+
 
</noinclude>
 
</noinclude>

Latest revision as of 21:06, 31 December 2018

Languages: 
EnglishIcon-English.png
FrançaisIcon-France.png
ItalianoIcon-Italy.png
PolskiIcon-Poland.png
RomânăIcon-Romania.png

edit

Complex.png Complex template

The code of this template is really complex, please use your sandbox before editing this template

[edit] [purge]

Documentation


Usage

{{Resources|
   Grain=|
   Fish=|
   Fruits=|
   Cattle=|
   Deer=|
   Iron=|
   Saltpeter=|
   Aluminum=|
   Oil=|
   Rubber=|
   Sand=|
   Clay=|
   Wood=|
   Limestone=|
   Granite=|
   Neodymium=|
   Magnesium=|
   Cobalt=|
   Titanium=|
   Wolfram=|
}}

Variables

  • Grain (optional) : Regions of the resource
  • Fish (optional) : Regions of the resource
  • Fruits (optional) : Regions of the resource
  • Deer (optional) : Regions of the resource
  • Cattle (optional) : Regions of the resource
  • Iron (optional) : Regions of the resource
  • Saltpeter (optional) : Regions of the resource
  • Aluminum (optional) : Regions of the resource
  • Oil (optional) : Regions of the resource
  • Rubber (optional) : Regions of the resource
  • Sand (optional) : Regions of the resource
  • Clay (optional) : Regions of the resource
  • Wood (optional) : Regions of the resource
  • Limestone (optional) : Regions of the resource
  • Granite (optional) : Regions of the resource
  • Neodymium (optional) : Regions of the resource
  • Magnesium (optional) : Regions of the resource
  • Cobalt (optional) : Regions of the resource
  • Titanium (optional) : Regions of the resource
  • Wolfram (optional) : Regions of the resource

Example

{{Resources|
   Grain=|
   Fish=[[Vorarlberg]]|
   Fruits=|
   Cattle=|
   Deer=|
   Iron=|
   Saltpeter=[[Tyrol]]|
   Aluminum=|
   Oil=|
   Rubber=[[Lower Austria]], [[Upper Austria]], [[Burgenland]]|
   Sand=|
   Clay=|
   Wood=|
   Limestone=[[Carinthia]], [[Styria]], [[Salzburg]]|
   Granite=|
}}
     Resource       Regions
Icon - Grain.png Grain Not available
Icon - Deer.png Deer Not available
Icon - Fish.png Fish Vorarlberg
Icon - Cattle.png Cattle Not available
Icon - Fruits.png Fruits Not available
Icon - Iron.png Iron Not available
Icon - Aluminum.png Aluminum Not available
Icon - Saltpeter.png Saltpeter Tyrol
Icon - Oil.png Oil Not available
Icon - Rubber.png Rubber Lower Austria, Upper Austria, Burgenland
Icon - Sand.png Sand Not available
Icon - Clay.png Clay Not available
Icon - Wood.png Wood Not available
Icon - Limestone.png Limestone Carinthia, Styria, Salzburg
Icon - Granite.png Granite Not available
Icon - Neodymium.png Neodymium Not available
Icon - Magnesium.png Magnesium Not available
Icon - Cobalt.png Cobalt Not available
Icon - Titanium.png Titanium Not available
Icon - Wolfram.png Wolfram Not available