Template: Semorg-travel-expenses: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 16: Line 16:


{{#semorg-table:travel-expenses  
{{#semorg-table:travel-expenses  
   |person={{{person|}}}  
   |person={{semorg-person-link|{{{person|}}}}}
   |allowance-night={{{allowance-night|}}}  
  |date={{{date|}}}  
   |time={{{start-time|}}}{{#if:{{{start-time|}}}|{{#if:{{{end-time|}}}|-}}}}{{{end-time|}}}
   |project={{{project|}}}  
   |project={{{project|}}}  
  |date={{{date|}}}
  |expenses={{{expenses|}}}
   |description={{{description|}}}  
   |description={{{description|}}}  
  |quarter={{{quarter|}}}
   |destination={{{destination|}}}  
   |destination={{{destination|}}}  
  |year={{{year|}}}
   |means={{{means|}}}  
   |means={{{means|}}}  
  |start-time={{{start-time|}}}
   |allowance-day={{{allowance-day|}}}  
   |allowance-day={{{allowance-day|}}}  
   |end-time={{{end-time|}}}
   |allowance-night={{{allowance-night|}}}
  |allowances={{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|}}}|{{{allowance-night|}}}
  |expenses={{{expenses|}}}
  |total={{#expr:{{semorg-allowances|{{{start-time|}}}|{{{end-time|}}}|{{{allowance-day|}}}|{{{allowance-night|}}}+{{{expenses|0}}}}}
}}
}}
</includeonly>
</includeonly>

Revision as of 12:04, 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