Difference between revisions of "Template:ResourceBonus"

From eRepublik Official Wiki
Jump to: navigation, search
m (Cron update.)
m (Cron update.)
Line 11: Line 11:
  
 
<small>''Data is provided by the [http://api.1way.it/erep/ heapy (Hate Erepublik API)] made by Martin Sileno.''</small></noinclude><includeonly>{{#switch: {{{1|}}}|
 
<small>''Data is provided by the [http://api.1way.it/erep/ heapy (Hate Erepublik API)] made by Martin Sileno.''</small></noinclude><includeonly>{{#switch: {{{1|}}}|
  Australia_f=60|
 
  Australia_w=80|
 
  Bolivia_f=20|
 
  Bolivia_w=0|
 
  Austria_f=0|
 
  Austria_w=0|
 
  Bosnia and Herzegovina_f=80|
 
  Bosnia and Herzegovina_w=20|
 
  Argentina_f=80|
 
  Argentina_w=80|
 
  Belgium_f=40|
 
  Belgium_w=20|
 
  Brazil_f=100|
 
  Brazil_w=100|
 
  Belarus_f=60|
 
  Belarus_w=0|
 
  Chile_f=40|
 
  Chile_w=40|
 
 
   Cyprus_f=60|
 
   Cyprus_f=60|
 
   Cyprus_w=20|
 
   Cyprus_w=20|
   Canada_f=60|
+
   Egypt_f=0|
   Canada_w=60|
+
   Egypt_w=0|
 
   Bulgaria_f=60|
 
   Bulgaria_f=60|
 
   Bulgaria_w=60|
 
   Bulgaria_w=60|
   Egypt_f=0|
+
   Saudi Arabia_f=0|
   Egypt_w=0|
+
   Saudi Arabia_w=0|
   Denmark_f=0|
+
   Chile_f=40|
   Denmark_w=0|
+
  Chile_w=40|
 +
  North Korea_f=20|
 +
   North Korea_w=0|
 
   Czech Republic_f=0|
 
   Czech Republic_f=0|
 
   Czech Republic_w=20|
 
   Czech Republic_w=20|
 
   China_f=100|
 
   China_f=100|
 
   China_w=100|
 
   China_w=100|
  Estonia_f=40|
 
  Estonia_w=20|
 
  France_f=80|
 
  France_w=80|
 
  Finland_f=60|
 
  Finland_w=60|
 
  Germany_f=60|
 
  Germany_w=40|
 
 
   Greece_f=80|
 
   Greece_f=80|
 
   Greece_w=80|
 
   Greece_w=80|
 
   Hungary_f=20|
 
   Hungary_f=20|
 
   Hungary_w=0|
 
   Hungary_w=0|
   Mexico_f=0|
+
  Finland_f=60|
 +
  Finland_w=60|
 +
  Poland_f=80|
 +
  Poland_w=60|
 +
  Bosnia and Herzegovina_f=80|
 +
  Bosnia and Herzegovina_w=20|
 +
   Mexico_f=20|
 
   Mexico_w=0|
 
   Mexico_w=0|
   Iran_f=0|
+
   Paraguay_f=0|
   Iran_w=0|
+
   Paraguay_w=0|
   Lithuania_f=80|
+
   Croatia_f=100|
   Lithuania_w=20|
+
   Croatia_w=40|
  Latvia_f=60|
+
   India_f=40|
  Latvia_w=20|
+
   India_w=60|
  Netherlands_f=40|
+
   New Zealand_f=20|
   Netherlands_w=20|
+
  Israel_f=40|
+
   Israel_w=20|
+
   New Zealand_f=0|
+
 
   New Zealand_w=20|
 
   New Zealand_w=20|
 +
  Turkey_f=100|
 +
  Turkey_w=80|
 +
  Albania_f=40|
 +
  Albania_w=20|
 
   Malaysia_f=20|
 
   Malaysia_f=20|
 
   Malaysia_w=40|
 
   Malaysia_w=40|
   Montenegro_f=20|
+
   Thailand_f=20|
   Montenegro_w=0|
+
   Thailand_w=40|
   Peru_f=0|
+
   South Korea_f=0|
   Peru_w=0|
+
   South Korea_w=0|
   North Korea_f=40|
+
   Bolivia_f=20|
  North Korea_w=20|
+
   Bolivia_w=0|
   Paraguay_f=0|
+
   Colombia_f=40|
   Paraguay_w=0|
+
   Colombia_w=40|
   Philippines_f=20|
+
   Austria_f=0|
  Philippines_w=40|
+
   Austria_w=0|
   Pakistan_f=0|
+
   Israel_f=40|
   Pakistan_w=0|
+
   Israel_w=20|
   Ukraine_f=40|
+
   Australia_f=40|
   Ukraine_w=40|
+
   Australia_w=60|
  Switzerland_f=20|
+
   Switzerland_w=0|
+
  Indonesia_f=20|
+
  Indonesia_w=40|
+
   Ireland_f=40|
+
  Ireland_w=20|
+
  Romania_f=80|
+
  Romania_w=60|
+
  Republic of Macedonia (FYROM)_f=40|
+
  Republic of Macedonia (FYROM)_w=20|
+
  Italy_f=40|
+
  Italy_w=40|
+
 
   Portugal_f=60|
 
   Portugal_f=60|
 
   Portugal_w=60|
 
   Portugal_w=60|
 +
  United Arab Emirates_f=0|
 +
  United Arab Emirates_w=0|
 
   Serbia_f=20|
 
   Serbia_f=20|
   Serbia_w=20|
+
   Serbia_w=40|
 +
  Canada_f=60|
 +
  Canada_w=60|
 +
  Belgium_f=40|
 +
  Belgium_w=20|
 +
  USA_f=100|
 +
  USA_w=100|
 +
  Indonesia_f=0|
 +
  Indonesia_w=20|
 +
  Russia_f=60|
 +
  Russia_w=40|
 +
  Netherlands_f=40|
 +
  Netherlands_w=20|
 +
  Switzerland_f=20|
 +
  Switzerland_w=0|
 
   Slovakia_f=80|
 
   Slovakia_f=80|
 
   Slovakia_w=40|
 
   Slovakia_w=40|
  South Korea_f=0|
 
  South Korea_w=0|
 
  South Africa_f=40|
 
  South Africa_w=40|
 
 
   Slovenia_f=80|
 
   Slovenia_f=80|
 
   Slovenia_w=60|
 
   Slovenia_w=60|
   United Kingdom_f=0|
+
   Ukraine_f=40|
   United Kingdom_w=0|
+
  Ukraine_w=40|
   United Arab Emirates_f=0|
+
  Denmark_f=0|
   United Arab Emirates_w=0|
+
   Denmark_w=0|
 +
   Republic of China (Taiwan)_f=80|
 +
  Republic of China (Taiwan)_w=60|
 +
  Brazil_f=100|
 +
  Brazil_w=100|
 +
  Uruguay_f=20|
 +
  Uruguay_w=0|
 +
   Romania_f=80|
 +
  Romania_w=60|
 +
  South Africa_f=40|
 +
  South Africa_w=40|
 +
  Peru_f=0|
 +
  Peru_w=0|
 +
  Norway_f=20|
 +
  Norway_w=0|
 +
  Republic of Macedonia (FYROM)_f=0|
 +
  Republic of Macedonia (FYROM)_w=0|
 +
  Argentina_f=80|
 +
  Argentina_w=80|
 +
  Singapore_f=20|
 +
  Singapore_w=0|
 
   Sweden_f=40|
 
   Sweden_f=40|
 
   Sweden_w=40|
 
   Sweden_w=40|
 +
  Republic of Moldova_f=60|
 +
  Republic of Moldova_w=0|
 +
  Japan_f=0|
 +
  Japan_w=0|
 +
  Iran_f=0|
 +
  Iran_w=0|
 +
  United Kingdom_f=0|
 +
  United Kingdom_w=20|
 +
  Germany_f=60|
 +
  Germany_w=40|
 +
  France_f=80|
 +
  France_w=80|
 +
  Estonia_f=40|
 +
  Estonia_w=20|
 
   Spain_f=0|
 
   Spain_f=0|
 
   Spain_w=0|
 
   Spain_w=0|
   Thailand_f=20|
+
   Belarus_f=60|
   Thailand_w=40|
+
   Belarus_w=0|
   Uruguay_f=20|
+
  Italy_f=40|
   Uruguay_w=0|
+
   Italy_w=40|
 +
  Montenegro_f=20|
 +
   Montenegro_w=0|
 +
  Pakistan_f=0|
 +
  Pakistan_w=0|
 +
  Ireland_f=40|
 +
  Ireland_w=20|
 
   Venezuela_f=0|
 
   Venezuela_f=0|
 
   Venezuela_w=0|
 
   Venezuela_w=0|
   Albania_f=40|
+
   Latvia_f=60|
   Albania_w=20|
+
   Latvia_w=20|
   USA_f=100|
+
   Lithuania_f=80|
  USA_w=100|
+
   Lithuania_w=20|
  Croatia_f=100|
+
   Philippines_f=20|
  Croatia_w=40|
+
   Philippines_w=40|
  Colombia_f=40|
+
  Colombia_w=40|
+
  Russia_f=60|
+
  Russia_w=40|
+
  Saudi Arabia_f=0|
+
  Saudi Arabia_w=0|
+
  Japan_f=0|
+
  Japan_w=0|
+
  Poland_f=80|
+
   Poland_w=60|
+
   Republic of China (Taiwan)_f=80|
+
  Republic of China (Taiwan)_w=60|
+
  Republic of Moldova_f=60|
+
  Republic of Moldova_w=0|
+
  Singapore_f=20|
+
   Singapore_w=0|
+
  Norway_f=0|
+
  Norway_w=0|
+
  India_f=40|
+
  India_w=60|
+
  Turkey_f=100|
+
  Turkey_w=80|
+
 
   #default=0
 
   #default=0
 
}}</includeonly>
 
}}</includeonly>

Revision as of 09:05, 26 February 2012

This template can be used to get the amount of resource bonuses provided in different countries.

Usage

  • For food and food raw material use: {{ResourceBonus|country_name_f}}
  • For weapons and weapon raw material use: {{ResourceBonus|country_name_w}}

Example

  • {{ResourceBonus|Finland_f}} --> 70.0 (the percentage of food bonus in Finland)

Note: The output is plain number without '%' sign!

Data is provided by the heapy (Hate Erepublik API) made by Martin Sileno.