Difference between revisions of "Template:Taxes"

From eRepublik Official Wiki
Jump to: navigation, search
(Translating template)
(Translating template)
Line 117: Line 117:
 
<pre>{{Taxes/Core|
 
<pre>{{Taxes/Core|
 
   iproduct= Product|
 
   iproduct= Product|
   iincome= work tax|
+
   iincome= income tax|
 
   iimport= Import tax|
 
   iimport= Import tax|
 
   ivat= VAT|
 
   ivat= VAT|
Line 133: Line 133:
 
   ifrm= Food raw material|
 
   ifrm= Food raw material|
  
   foodworktax= {{{foodincometax|}}}|
+
   foodincometax= {{{foodincometax|}}}|
 
   foodimporttax= {{{foodimporttax|}}}|
 
   foodimporttax= {{{foodimporttax|}}}|
 
   foodvat= {{{foodvat|}}}|
 
   foodvat= {{{foodvat|}}}|
 
   houseimporttax= {{{houseimporttax|}}}|
 
   houseimporttax= {{{houseimporttax|}}}|
 
   housevat= {{{housevat|}}}|
 
   housevat= {{{housevat|}}}|
   weaponworktax= {{{weaponincometax|}}}|
+
   weaponincometax= {{{weaponincometax|}}}|
 
   weaponimporttax= {{{weaponimporttax|}}}|
 
   weaponimporttax= {{{weaponimporttax|}}}|
 
   weaponlevat={{{weaponvat|}}} |
 
   weaponlevat={{{weaponvat|}}} |

Revision as of 07:24, 17 August 2013

Languages: 
EnglishIcon-English.png
中文(繁體)Icon-Republic of China (Taiwan).png
HrvatskiIcon-Croatia.png
FrançaisIcon-France.png
ΕλληνικάIcon-Greece.png
ItalianoIcon-Italy.png
PolskiIcon-Poland.png
RomânăIcon-Romania.png
СрпскиIcon-Serbia.png
EspañolIcon-Spain.png


Usage

{{Taxes|
  country=| <!-- If country is provided, nothing more is needed and other values don't have any effect on the output -->
  foodincometax= |
  foodimporttax= |
  foodvat= |
  houseimporttax= |
  housevat= |
  weaponincometax= |
  weaponimporttax= |
  weaponvat= |
  movingimporttax= |
  movingvat=|

  frmincometax= |
  frmimporttax= |
  wrmincometax= |
  wrmimporttax= |

  hospitalimporttax= |
  hospitalvat= |
  defenseimporttax= |
  defensevat= |

  weaponincometax= |
  weaponimporttax= |
  weaponvat= |
}}

When country parameter is provided, the template uses /Data to get the data. In that case, the other variables have no effect on the output.

Example

All taxes are 1%

Product Work Tax Import Tax VAT
Icon - Food Q3.png Food 1% 1%
Icon - Weapon Q2.png Weapon 1% 1%
Icon - Aircraft Q1.png Aircraft weapon
Icon - Moving ticket Q3.png Moving ticket 1% 1%
Icon - House Q3.png House 1% 1%
Raw material Work Tax Import Tax VAT
Icon - Food Raw Materials.png Food raw material 1% -
Icon - Weapon Raw Materials.png Weapon raw material 1% -
Icon - Aircraft Weapon Raw Materials.png Aircraft weapon raw material -
Icon - House Raw Materials.png House raw material -

This template is an actualization to Rising version of the one created by VSkyzv.

Translating template

  • Create page Template:Taxes/yourlang
  • Copy following code to page
  • Translate the strings in the code to your language (word after '=' -sign).