Invoices: Difference between revisions
From SemanticOrganization
(Created page with "{{Generator |template-id=IS |template-fields={{Generator-field |field-id=year |field-property-id=YE |field-type=num }} }}") |
m (Text replacement - "{{Generator" to "{{Semorg-generator") |
||
Line 1: | Line 1: | ||
{{ | {{Semorg-generator | ||
|template-id=IS | |template-id=IS | ||
|template-fields={{ | |template-fields={{Semorg-generator-field | ||
|field-id=year | |field-id=year | ||
|field-property-id=YE | |field-property-id=YE |
Revision as of 09:18, 31 October 2018
Messages
"semorg-invoices-template": "semorg-invoices", "semorg-invoices-category": "semorg-invoices", "semorg-invoices-form": "semorg-invoices", "semorg-form-invoices-create-title": "Create Invoices", "semorg-form-invoices-edit-title": "Edit Invoices", "semorg-form-invoices-template": "invoices", "semorg-form-invoices-rows": "", "semorg-list-invoices-headers": "",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-invoices-create-title}} |edit title={{int:semorg-form-invoices-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|invoices}} {{semorg-form-standard-inputs}} </includeonly>
as embedded:
Use this code, if this is not meant to be a standalone feature but rather a supplement that should be embedded in other forms. Add this line to a form definition that includes a field with the parameter holds template
. The second parameter of the semorg-form-template-embed
call should be the target field, specified with <feature>[<field>]
(e.g. meeting-group[files]
or {{int:semorg-meeting-group-template}}[files]
to respect template customization).
{{semorg-form-template-embed|invoices|}}
Category
{{semorg-category}}
Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-invoices-category}}]]{{#semorg-set:invoices }}{{#semorg-detail:invoices}}{{#semorg-table:invoices }}</includeonly>
Row Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template
Template:Semorg-invoices-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:invoices |heading={{int:semorg-invoices-page-name}} |formlink={{#semorg-forminput:invoices}} |links={{{links|}}} |query={{{query|}}} |sort={{{sort|}}} |order={{{order|}}} |limit={{{limit|}}} |filter links={{{filter links|}}} |filters={{{filters|}}} |category={{{category|}}} |headers={{{headers|}}} |row template={{{row template|}}} |tableclass={{{tableclass|}}} |title={{{title|}}} |sums={{{sums|}}} |csv={{{csv|}}} |default={{{default|}}} |returnto={{{returnto|}}} |help={{{help|}}} }}</includeonly>
Overview Page
[[]]
{{semorg-invoices-overview}}
Property Registration
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['invoices'] = [ "id" => "IS","fields" => [ ] ];