Difference between revisions of "Template:Semorg-allowances"

From SemanticOrganization
Jump to: navigation, search
 
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{formatnum:{{#expr:{{#ifexpr:{{semorg-duration|{{{1|}}}|{{{2|}}}}}/60 < 3.5
+
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{{int:semorg-allowances-template}}|{{{1|}}}|{{{2|}}}|{{formatnum:{{{3|0}}}|R}}|{{formatnum:{{{4|0}}}|R}}|{{#expr:floor( {{semorg-duration|{{{1|}}}|{{{2|}}}}} / ( 24 * 60 ) ) }}|{{#expr: {{semorg-duration|{{{1|}}}|{{{2|}}}}} / 60 mod ( 24 ) }}}}</includeonly>
    |0
 
    |{{#ifexpr:{{semorg-duration|{{{1|}}}|{{{2|}}}}}/60 > 12
 
      |12
 
      |{{#expr:{{semorg-duration|{{{1|}}}|{{{2|}}}}}/60 round 0}}
 
    }}
 
  }} * {{#if:{{{3|}}}|{{formatnum:{{{3}}}|R}}|0}} / 12 + {{#if:{{{4|}}}|{{formatnum:{{{4|}}}|R}}|0}}
 
}}}}</includeonly>
 

Latest revision as of 15:26, 20 March 2020

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-allowances-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-allowances-template