Template: Semorg-travel-expenses: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-travel-expenses-category}}]]{{DISPLAYTITLE:{{int:semorg-travel-expenses-displaytitle|{{{person|}}}}}}}{{#semorg-set:travel-expenses  
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-travel-expenses-category}}]]{{#semorg-set:travel-expenses  
   |person={{{person|}}}  
   |person={{{person|}}}  
   |project={{{project|}}}  
   |project={{{project|}}}  
Line 14: Line 14:
   |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|}}}|{{{allowance-night|}}}}}
   |expenses={{{expenses|}}}  
   |expenses={{{expenses|}}}
   |total={{formatnum:{{#expr:{{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|0}}}|{{{allowance-night|0}}}}}+{{formatnum:{{{expenses|0}}}}}|}}}}
   |total={{formatnum:{{#expr:{{formatnum:{{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|0}}}|{{{allowance-night|0}}}}}|R}}+{{formatnum:{{{expenses|0}}}|R}}}}}}
}}{{#semorg-detail:travel-expenses
  |heading={{int:semorg-travel-expenses-displaytitle|{{{person|}}}}}
}}
}}


Line 26: Line 28:
   |destination={{{destination|}}}  
   |destination={{{destination|}}}  
   |means={{{means|}}}  
   |means={{{means|}}}  
   |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|0}}}|{{{allowance-night|0}}}}}
   |allowances={{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|0}}}|{{{allowance-night|0}}}}}
   |expenses={{{expenses|}}}  
   |expenses=€ {{formatnum:{{#if:{{{expenses|}}}|{{#expr:{{#replace:{{{expenses|}}}|,|.}}}}}}}}
   |total={{formatnum:{{#expr:{{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|0}}}|{{{allowance-night|0}}}}}+{{formatnum:{{{expenses|0}}}}}|}}}}
   |total={{formatnum:{{#expr:{{formatnum:{{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|0}}}|{{{allowance-night|0}}}}}|R}}+{{formatnum:{{{expenses|0}}}|R}}}}}}
}}
}}
</includeonly>
</includeonly>

Revision as of 20:41, 6 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