Difference between revisions of "Template:Taxes"
From eRepublik Official Wiki
m (small corrections) |
(update) |
||
Line 6: | Line 6: | ||
weaponimporttax= {{{weaponimporttax|}}}| | weaponimporttax= {{{weaponimporttax|}}}| | ||
weaponvat={{{weaponvat|}}} | | weaponvat={{{weaponvat|}}} | | ||
− | + | aircraftimporttax= {{{aircraftimporttax|}}}| | |
− | + | aircraftvat={{{aircraftvat|}}}| | |
− | + | ||
− | + | ||
movingimporttax= {{{movingimporttax|}}}| | movingimporttax= {{{movingimporttax|}}}| | ||
movingvat={{{movingvat|}}}| | movingvat={{{movingvat|}}}| | ||
houseimporttax= {{{houseimporttax|}}}| | houseimporttax= {{{houseimporttax|}}}| | ||
housevat= {{{housevat|}}}| | housevat= {{{housevat|}}}| | ||
− | + | ||
− | + | frmimporttax= {{{frmimporttax|}}}| | |
− | + | wrmimporttax= {{{wrmimporttax|}}}| | |
− | + | hrmimporttax= {{{hrmimporttax|}}}| | |
+ | armimporttax= {{{armimporttax|}}}| | ||
+ | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
− | <pre>{{Taxes | + | <pre>{{Taxes |
− | country= | + | |country = <!-- If country is provided, nothing more is needed and other values don't have any effect on the output --> |
− | worktax= | + | |worktax = |
− | foodimporttax= | + | |foodimporttax = |
− | foodvat= | + | |foodvat = |
− | weaponimporttax= | + | |weaponimporttax = |
− | weaponvat= | + | |weaponvat = |
− | + | |aircraftimporttax = | |
− | + | |aircraftvat = | |
− | + | |houseimporttax = | |
+ | |housevat = | ||
+ | |movingimporttax = | ||
+ | |movingvat = | ||
− | + | |frmimporttax = | |
− | + | |wrmimporttax = | |
− | + | |hrmimporttax = | |
− | + | |armimporttax = | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}}</pre> | }}</pre> | ||
Line 45: | Line 44: | ||
==Example== | ==Example== | ||
All taxes are 1% but work tax (2%). Note: Work tax is used only once as it is the same for all of the products. | All taxes are 1% but work tax (2%). Note: Work tax is used only once as it is the same for all of the products. | ||
− | {{Taxes | + | {{Taxes |
− | worktax= 2% | + | |worktax = 2% |
− | foodimporttax= 1% | + | |foodimporttax = 1% |
− | foodvat= 1% | + | |foodvat = 1% |
− | weaponimporttax= 1% | + | |weaponimporttax = 1% |
− | weaponvat= 1% | + | |weaponvat = 1% |
− | + | |aircraftimporttax = 1% | |
− | + | |aircraftvat = 1% | |
− | + | |houseimporttax = 1% | |
+ | |housevat = 1% | ||
+ | |movingimporttax = 1% | ||
+ | |movingvat = 1% | ||
− | + | |frmimporttax = 1% | |
− | + | |wrmimporttax = 1% | |
− | + | |hrmimporttax = 1% | |
− | + | |armimporttax = 1% | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}} | }} | ||
− | ''This template is an actualization to Rising version of the one created by [[User:VSkyzv|VSkyzv]].'' The template has been updated on April 13, 2015 with | + | ''This template is an actualization to Rising version of the one created by [[User:VSkyzv|VSkyzv]].'' The template has been updated on April 13, 2015 with removing all obsolete items from the template (removed old products, added new products, removed income tax). |
== Translating template == | == Translating template == | ||
Line 82: | Line 80: | ||
ifood= Food| | ifood= Food| | ||
iweapon= Weapon| | iweapon= Weapon| | ||
+ | itickets= Moving ticket| | ||
+ | ihousing= House| | ||
+ | iaircraft= Aircraft| | ||
+ | |||
iwrm= Weapon raw materials| | iwrm= Weapon raw materials| | ||
ifrm= Food raw materials| | ifrm= Food raw materials| | ||
ihrm= House raw materials| | ihrm= House raw materials| | ||
− | + | iarm= Aircraft raw materials| | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
worktax={{{worktax|}}}| | worktax={{{worktax|}}}| | ||
Line 96: | Line 94: | ||
weaponimporttax= {{{weaponimporttax|}}}| | weaponimporttax= {{{weaponimporttax|}}}| | ||
weaponvat= {{{weaponvat|}}}| | weaponvat= {{{weaponvat|}}}| | ||
+ | aircraftimporttax= {{{houseimporttax|}}}| | ||
+ | aircraftvat= {{{housevat|}}}| | ||
movingimporttax= {{{movingimporttax|}}}| | movingimporttax= {{{movingimporttax|}}}| | ||
movingvat={{{movingvat|}}}| | movingvat={{{movingvat|}}}| | ||
Line 104: | Line 104: | ||
wrmimporttax= {{{wrmimporttax|}}}| | wrmimporttax= {{{wrmimporttax|}}}| | ||
hrmimporttax= {{{hrmimporttax|}}}| | hrmimporttax= {{{hrmimporttax|}}}| | ||
+ | armimporttax= {{{armimporttax|}}}| | ||
− | |||
− | |||
− | |||
− | |||
}}</pre> | }}</pre> | ||
|}[[Category:Graphical Aid Templates]]</noinclude> | |}[[Category:Graphical Aid Templates]]</noinclude> |
Revision as of 01:14, 4 July 2016
Languages: | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Usage
{{Taxes |country = <!-- If country is provided, nothing more is needed and other values don't have any effect on the output --> |worktax = |foodimporttax = |foodvat = |weaponimporttax = |weaponvat = |aircraftimporttax = |aircraftvat = |houseimporttax = |housevat = |movingimporttax = |movingvat = |frmimporttax = |wrmimporttax = |hrmimporttax = |armimporttax = }}
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.
Note: At the moment bot is down, so we recommend that you actually write all of the variables without country, as if you use country parameter - the taxes will be wrong.
Example
All taxes are 1% but work tax (2%). Note: Work tax is used only once as it is the same for all of the products.
|
|
This template is an actualization to Rising version of the one created by VSkyzv. The template has been updated on April 13, 2015 with removing all obsolete items from the template (removed old products, added new products, removed income tax).
Translating template
- Create page Template:Taxes/yourlang (You can click in the langMenu at the top of this page to find your language)
- Copy following code to page
- Translate the english words in the code to your language (words after '=' sign).
Code | ||||
---|---|---|---|---|
{{Taxes/Core| iproduct= Product| iwork= Work tax| iimport= Import tax| ivat= VAT| ifood= Food| iweapon= Weapon| itickets= Moving ticket| ihousing= House| iaircraft= Aircraft| iwrm= Weapon raw materials| ifrm= Food raw materials| ihrm= House raw materials| iarm= Aircraft raw materials| worktax={{{worktax|}}}| foodimporttax= {{{foodimporttax|}}}| foodvat= {{{foodvat|}}}| weaponimporttax= {{{weaponimporttax|}}}| weaponvat= {{{weaponvat|}}}| aircraftimporttax= {{{houseimporttax|}}}| aircraftvat= {{{housevat|}}}| movingimporttax= {{{movingimporttax|}}}| movingvat={{{movingvat|}}}| houseimporttax= {{{houseimporttax|}}}| housevat= {{{housevat|}}}| frmimporttax= {{{frmimporttax|}}}| wrmimporttax= {{{wrmimporttax|}}}| hrmimporttax= {{{hrmimporttax|}}}| armimporttax= {{{armimporttax|}}}| }} |