Difference between revisions of "Template:Taxes"

From eRepublik Official Wiki
Jump to: navigation, search
m
m
Line 29: Line 29:
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
==Usage==
 
==Usage==
<pre>{{Taxes|
+
<pre>{{Taxes
   country=| <!-- If country is provided, nothing more is needed and other values don't have any effect on the output -->
+
   |country= <!-- If country is provided, nothing more is needed and other values don't have any effect on the output -->
   worktax= |
+
   |worktax=  
   foodincometax= |
+
   |foodincometax=  
   foodimporttax= |
+
   |foodimporttax=  
   foodvat= |
+
   |foodvat=  
   weaponincometax= |
+
   |weaponincometax=  
   weaponimporttax= |
+
   |weaponimporttax=  
   weaponvat= |
+
   |weaponvat=  
   houseincometax= |
+
   |houseincometax=  
   houseimporttax= |
+
   |houseimporttax=  
   housevat= |
+
   |housevat=  
   weaponincometax= |
+
   |weaponincometax=  
   weaponimporttax= |
+
   |weaponimporttax=  
   weaponvat= |
+
   |weaponvat=  
   movingimporttax= |
+
   |movingimporttax=  
   movingvat=|
+
   |movingvat=
  
   frmincometax= |
+
   |frmincometax=  
   frmimporttax= |
+
   |frmimporttax=  
   wrmincometax= |
+
   |wrmincometax=  
   wrmimporttax= |
+
   |wrmimporttax=  
   hrmincometax= |
+
   |hrmincometax=  
   hrmimporttax= |
+
   |hrmimporttax=  
  
   hospitalimporttax= |
+
   |hospitalimporttax=  
   hospitalvat= |
+
   |hospitalvat=  
   defenseimporttax= |
+
   |defenseimporttax=  
   defensevat= |
+
   |defensevat=  
 
}}</pre>
 
}}</pre>
  

Revision as of 22:49, 17 September 2014

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 -->
  |worktax= 
  |foodincometax= 
  |foodimporttax= 
  |foodvat= 
  |weaponincometax= 
  |weaponimporttax= 
  |weaponvat= 
  |houseincometax= 
  |houseimporttax= 
  |housevat= 
  |weaponincometax= 
  |weaponimporttax= 
  |weaponvat= 
  |movingimporttax= 
  |movingvat=

  |frmincometax= 
  |frmimporttax= 
  |wrmincometax= 
  |wrmimporttax= 
  |hrmincometax= 
  |hrmimporttax= 

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

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% but work tax (2%)

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

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).