Difference between revisions of "Template:Semorg-invoice"

From SemanticOrganization
Jump to: navigation, search
Line 2: Line 2:
 
   |recipient={{{recipient|}}}
 
   |recipient={{{recipient|}}}
 
   |issuer={{{issuer|}}}
 
   |issuer={{{issuer|}}}
   |number={{#titleparts:{{FULLPAGENAME}}||-1}}
+
   |number={{int:semorg-invoice-number|{{FULLPAGENAME}}}}
 
   |date={{{date|}}}
 
   |date={{{date|}}}
 
   |amount-gross={{{amount-gross|}}}
 
   |amount-gross={{{amount-gross|}}}
Line 14: Line 14:
 
   |year={{semorg-year|{{{date|}}}}}
 
   |year={{semorg-year|{{{date|}}}}}
 
   |payed={{#if:{{{payment-date|}}}|true|false}}
 
   |payed={{#if:{{{payment-date|}}}|true|false}}
}}[[Category:{{int:semorg-invoice-category}}]]{{DISPLAYTITLE:{{int:semorg-invoice-displaytitle|{{#titleparts:{{FULLPAGENAME}}||-1}}|{{#time:Y|{{{date|}}}}}}}}}{{#semorg-true:{{{storno|}}}
+
}}[[Category:{{int:semorg-invoice-category}}]]{{#semorg-detail:invoice
 +
  |heading={{int:semorg-invoice-displaytitle|{{FULLPAGENAME}}|{{#time:Y|{{{date|}}}}}}}
 +
}}{{#semorg-true:{{{storno|}}}
 
   |<div class="alert alert-danger">{{int:semorg-invoice-storno-warning}}</div>
 
   |<div class="alert alert-danger">{{int:semorg-invoice-storno-warning}}</div>
 
}}
 
}}
Line 21: Line 23:
 
   |recipient={{{recipient|}}}
 
   |recipient={{{recipient|}}}
 
   |issuer={{semorg-person-link|{{{issuer|}}}}}
 
   |issuer={{semorg-person-link|{{{issuer|}}}}}
   |number={{#titleparts:{{FULLPAGENAME}}||-1}}
+
   |number={{int:semorg-invoice-number|{{FULLPAGENAME}}}}
 
   |date={{semorg-date|{{{date|}}}|long}}
 
   |date={{semorg-date|{{{date|}}}|long}}
 
   |amount-gross=€ {{formatnum:{{{amount-gross|}}}}}
 
   |amount-gross=€ {{formatnum:{{{amount-gross|}}}}}

Revision as of 07:51, 27 September 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-invoice-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-invoice-template