Bundesland-weiteres-modell
Aus bedarfsverkehr.at
Version vom 15. November 2022, 14:50 Uhr von Tobias Haider (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „{{semorg-generator |template-id=BMO |form-add-button-text=Modell hinzufügen |form-unique-number=Nein |template-fields={{semorg-generator-field |id=bundesland…“)
Messages[ ]
"semorg-form-bundesland-weiteres-modell-add-button-text": "Modell hinzufügen", "semorg-form-bundesland-weiteres-modell-template": "bundesland-weiteres-modell", "semorg-form-bundesland-weiteres-modell-rows": "modell, position, bundesland", "semorg-list-bundesland-weiteres-modell-headers": "bundesland-weiteres-modell-modell, bundesland-weiteres-modell-position, bundesland-weiteres-modell-bundesland", "semorg-field-bundesland-weiteres-modell-bundesland-name": "", "semorg-field-bundesland-weiteres-modell-bundesland-parameters": "", "semorg-field-bundesland-weiteres-modell-modell-name": "Modell", "semorg-field-bundesland-weiteres-modell-modell-parameters": "values from property=Semorg-modell|mapping property=Semorg-modell-name", "semorg-field-bundesland-weiteres-modell-modell-input-type": "combobox", "semorg-field-bundesland-weiteres-modell-position-name": "", "semorg-field-bundesland-weiteres-modell-position-parameters": "",
Form[ ]
Form:Semorg-bundesland-weiteres-modell
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-bundesland-weiteres-modell-create-title}} |edit title={{int:semorg-form-bundesland-weiteres-modell-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|bundesland-weiteres-modell}} {{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|bundesland-weiteres-modell|}}
Category[ ]
Category:Semorg-bundesland-weiteres-modell
{{semorg-category}}
Template[ ]
Template:Semorg-bundesland-weiteres-modell
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-bundesland-weiteres-modell-category}}]]{{#semorg-set:bundesland-weiteres-modell |modell={{{modell|}}} |position={{{position|}}} |bundesland={{{bundesland|}}} }}{{#semorg-detail:bundesland-weiteres-modell}}{{#semorg-table:bundesland-weiteres-modell |modell={{{modell|}}} |position={{{position|}}} |bundesland={{{bundesland|}}} }}</includeonly>
Row Template[ ]
Template:Semorg-bundesland-weiteres-modell-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{modell|}}}</td> <td>{{{position|}}}</td> <td>{{{bundesland|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template[ ]
Template:Semorg-bundesland-weiteres-modell-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:bundesland-weiteres-modell |heading={{int:semorg-bundesland-weiteres-modell-page-name}} |formlink={{#semorg-forminput:bundesland-weiteres-modell}} |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-bundesland-weiteres-modell-overview}}
Property Registration[ ]
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['bundesland-weiteres-modell'] = [ "id" => "BMO","fields" => ["modell" => [ "id" => "MO","type" => "wpg" ],"position" => [ "id" => "PO","type" => "num" ],"bundesland" => [ "id" => "BU","type" => "wpg" ], ] ];