Difference between revisions of "Template:Taxes"
From eRepublik Official Wiki
m (→Example) |
m |
||
Line 2: | Line 2: | ||
{{Taxes/{{TemplateLang|Taxes}}| | {{Taxes/{{TemplateLang|Taxes}}| | ||
country={{{country|}}}| | country={{{country|}}}| | ||
− | worktax= {{{worktax|}}}| | + | worktax={{{worktax|}}}| |
foodincometax= {{{foodincometax|}}}| | foodincometax= {{{foodincometax|}}}| | ||
foodimporttax= {{{foodimporttax|}}}| | foodimporttax= {{{foodimporttax|}}}| | ||
foodvat= {{{foodvat|}}}| | foodvat= {{{foodvat|}}}| | ||
+ | houseincometax= {{{houseincometax|}}}| | ||
houseimporttax= {{{houseimporttax|}}}| | houseimporttax= {{{houseimporttax|}}}| | ||
housevat= {{{housevat|}}}| | housevat= {{{housevat|}}}| | ||
Line 26: | Line 27: | ||
defensevat={{{defensevat|}}} | | defensevat={{{defensevat|}}} | | ||
}} | }} | ||
− | </includeonly> | + | </includeonly><noinclude> |
− | <noinclude> | + | |
==Usage== | ==Usage== | ||
<pre>{{Taxes| | <pre>{{Taxes| | ||
Line 35: | Line 35: | ||
foodimporttax= | | foodimporttax= | | ||
foodvat= | | foodvat= | | ||
+ | weaponincometax= | | ||
+ | weaponimporttax= | | ||
+ | weaponvat= | | ||
+ | houseincometax= | | ||
houseimporttax= | | houseimporttax= | | ||
housevat= | | housevat= | | ||
Line 54: | Line 58: | ||
defenseimporttax= | | defenseimporttax= | | ||
defensevat= | | defensevat= | | ||
− | |||
− | |||
− | |||
− | |||
}}</pre> | }}</pre> | ||
Line 68: | Line 68: | ||
foodimporttax= 1%| | foodimporttax= 1%| | ||
foodvat= 1%| | foodvat= 1%| | ||
+ | weaponincometax= 1%| | ||
+ | weaponimporttax= 1%| | ||
+ | weaponvat= 1%| | ||
houseincometax= 1%| | houseincometax= 1%| | ||
houseimporttax= 1%| | houseimporttax= 1%| | ||
housevat= 1%| | housevat= 1%| | ||
− | |||
− | |||
− | |||
airincometax= 1%| | airincometax= 1%| | ||
airimporttax= 1%| | airimporttax= 1%| |
Revision as of 11:15, 22 July 2014
Languages: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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%)
|
|
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).
Code | ||||
---|---|---|---|---|
{{Taxes/Core| iproduct= Product| iwork= Work tax| iincome= Income tax| iimport= Import tax| ivat= VAT| ifood= Food| ihousing= Houses| iweapon= Weapon| itickets= Tickets| igrain= Grain| istone= Stone| iiron= Iron| ioil= Oil| ihospitals= Hospitals| idefensesystem= Defense system| iwrm= Weapon raw material| ifrm= Food raw material| worktax= {{{worktax|}}}| foodincometax= {{{foodincometax|}}}| foodimporttax= {{{foodimporttax|}}}| foodvat= {{{foodvat|}}}| houseimporttax= {{{houseimporttax|}}}| housevat= {{{housevat|}}}| weaponincometax= {{{weaponincometax|}}}| weaponimporttax= {{{weaponimporttax|}}}| weaponlevat={{{weaponvat|}}} | airvat= {{{airvat|}}}| movingimporttax= {{{movingimporttax|}}}| movingvat={{{movingvat|}}}| frmincometax= {{{frmincometax|}}}| frmimporttax= {{{frmimporttax|}}}| wrmincometax= {{{wrmincometax|}}}| wrmimporttax= {{{wrmimporttax|}}}| hrmincometax= {{{hrmincometax|}}}| hrmimporttax= {{{hrmimporttax|}}}| hospitalimporttax= {{{hospitalimporttax|}}}| hospitalvat= {{{hospitalvat|}}}| defenseimporttax= {{{defenseimporttax|}}}| defensevat={{{defensevat|}}} | country={{{country|}}} }} |