Kennzahlen
Aus bedarfsverkehr.at
Version vom 18. Mai 2022, 19:50 Uhr von Tobias Haider (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „{{semorg-generator |template-id=KZ |entity-name=Kennzahlen |form-add-button-text=Kennzahlen hinzufügen |form-unique-number=Nein |template-fields={{semorg-gene…“)
Messages[ ]
"semorg-form-kennzahlen-add-button-text": "Kennzahlen hinzufügen", "semorg-form-kennzahlen-template": "kennzahlen", "semorg-form-kennzahlen-rows": "jahr", "semorg-list-kennzahlen-headers": "kennzahlen-jahr", "semorg-field-kennzahlen-jahr-name": "Jahr", "semorg-field-kennzahlen-jahr-parameters": "",
Form[ ]
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-kennzahlen-create-title}} |edit title={{int:semorg-form-kennzahlen-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|kennzahlen}} {{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|kennzahlen|}}
Category[ ]
{{semorg-category}}
Template[ ]
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-kennzahlen-category}}]]{{#semorg-set:kennzahlen |jahr={{{jahr|}}} }}{{#semorg-detail:kennzahlen}}{{#semorg-table:kennzahlen |jahr={{{jahr|}}} }}</includeonly>
Row Template[ ]
Template:Semorg-kennzahlen-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{jahr|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template[ ]
Template:Semorg-kennzahlen-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:kennzahlen |heading={{int:semorg-kennzahlen-page-name}} |formlink={{#semorg-forminput:kennzahlen}} |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-kennzahlen-overview}}
Property Registration[ ]
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['kennzahlen'] = [ "id" => "KZ","fields" => ["jahr" => [ "id" => "JA","type" => "num" ], ] ];