Template: Semorg-travel-expenses: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
|expenses=€ {{formatnum:{{#if:{{{expenses|}}}|{{#expr:{{#replace:{{{expenses|}}}|,|.}}}}}}}} | |expenses=€ {{formatnum:{{#if:{{{expenses|}}}|{{#expr:{{#replace:{{{expenses|}}}|,|.}}}}}}}} | ||
|total=€ {{formatnum:{{#expr:{{formatnum:{{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|0}}}|{{{allowance-night|0}}}}}|R}}+{{formatnum:{{{expenses|0}}}|R}}}}}} | |total=€ {{formatnum:{{#expr:{{formatnum:{{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|0}}}|{{{allowance-night|0}}}}}|R}}+{{formatnum:{{{expenses|0}}}|R}}}}}} | ||
}} | }}{{semorg-printable | ||
</includeonly> | |template=Semorg-travel-expenses-footer | ||
|class=semorg-travel-expenses-footer | |||
}}</includeonly> |
Revision as of 15:09, 31 October 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