Template: Semorg-travel-expenses: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
|allowances={{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|}}}|{{{allowance-night|}}}}} | |allowances={{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|}}}|{{{allowance-night|}}}}} | ||
|expenses={{{expenses|}}} | |expenses={{{expenses|}}} | ||
|total={{#expr:{{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|}}}|{{{allowance-night|}}}}}+{{{expenses|0}}}}} | |total={{formatnum:{{#expr:{{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|0}}}|{{{allowance-night|0}}}}}+{{formatnum:{{{expenses|0}}}}}|}}}} | ||
}} | }} | ||
Line 28: | Line 28: | ||
|allowance-day={{{allowance-day|}}} | |allowance-day={{{allowance-day|}}} | ||
|allowance-night={{{allowance-night|}}} | |allowance-night={{{allowance-night|}}} | ||
|allowances={{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|}}}|{{{allowance-night|}}}}} | |allowances={{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|0}}}|{{{allowance-night|0}}}}} | ||
|expenses={{{expenses|}}} | |expenses={{{expenses|}}} | ||
|total={{#expr:{{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|}}}|{{{allowance-night|}}}}}+{{{expenses|0}}}}} | |total={{formatnum:{{#expr:{{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|0}}}|{{{allowance-night|0}}}}}+{{formatnum:{{{expenses|0}}}}}|}}}} | ||
}} | }} | ||
</includeonly> | </includeonly> |
Revision as of 13:35, 8 April 2019
This page is part of the Semantic Organization extension.
If you want to customize this template you can copy its contents to another page (use for example Template:Semorg-travel-expenses-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-travel-expenses-template