Bundesland-modell: Unterschied zwischen den Versionen
Aus bedarfsverkehr.at
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 22: | Zeile 22: | ||
|property-id=RE | |property-id=RE | ||
|type=boo | |type=boo | ||
+ | }}{{semorg-generator-field | ||
+ | |id=beschreibung | ||
+ | |property-id=BE | ||
+ | |name=bundeslandspezifische Ergänzung zur Beschreibung des Angebots | ||
+ | |type=txt | ||
}}{{semorg-generator-field | }}{{semorg-generator-field | ||
|id=unterstuetzung | |id=unterstuetzung | ||
Zeile 28: | Zeile 33: | ||
|type=txt | |type=txt | ||
}}{{semorg-generator-field | }}{{semorg-generator-field | ||
− | |id=umsetzung | + | |id=unterstuetzung-details |
− | |property-id= | + | |property-id=UND |
− | |name= | + | |name=Details zur Unterstützung durch Land/Verkehrsverbund |
+ | |type=txt | ||
+ | }}{{semorg-generator-field | ||
+ | |id=umsetzung-details | ||
+ | |property-id=UMD | ||
+ | |name=Details zu den Schritten zur Umsetzung | ||
|type=txt | |type=txt | ||
}} | }} | ||
}} | }} |
Aktuelle Version vom 20. November 2022, 19:25 Uhr
Messages[ ]
"semorg-form-bundesland-modell-add-button-text": "Modell hinzufügen", "semorg-form-bundesland-modell-template": "bundesland-modell", "semorg-form-bundesland-modell-rows": "umsetzung-details, relevant, bundesland, unterstuetzung-details, modell, beschreibung, position, unterstuetzung", "semorg-list-bundesland-modell-headers": "bundesland-modell-umsetzung-details, bundesland-modell-relevant, bundesland-modell-bundesland, bundesland-modell-unterstuetzung-details, bundesland-modell-modell, bundesland-modell-beschreibung, bundesland-modell-position, bundesland-modell-unterstuetzung", "semorg-field-bundesland-modell-beschreibung-name": "bundeslandspezifische Ergänzung zur Beschreibung des Angebots", "semorg-field-bundesland-modell-beschreibung-parameters": "", "semorg-field-bundesland-modell-bundesland-name": "", "semorg-field-bundesland-modell-bundesland-parameters": "", "semorg-field-bundesland-modell-modell-name": "Modell", "semorg-field-bundesland-modell-modell-parameters": "values from property=Semorg-modell|mapping property=Semorg-modell-name", "semorg-field-bundesland-modell-modell-input-type": "combobox", "semorg-field-bundesland-modell-position-name": "", "semorg-field-bundesland-modell-position-parameters": "", "semorg-field-bundesland-modell-relevant-name": "", "semorg-field-bundesland-modell-relevant-parameters": "", "semorg-field-bundesland-modell-umsetzung-details-name": "Details zu den Schritten zur Umsetzung", "semorg-field-bundesland-modell-umsetzung-details-parameters": "", "semorg-field-bundesland-modell-unterstuetzung-name": "Unterstützungsangebote", "semorg-field-bundesland-modell-unterstuetzung-parameters": "", "semorg-field-bundesland-modell-unterstuetzung-details-name": "Details zur Unterstützung durch Land/Verkehrsverbund", "semorg-field-bundesland-modell-unterstuetzung-details-parameters": "",
Form[ ]
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-bundesland-modell-create-title}} |edit title={{int:semorg-form-bundesland-modell-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|bundesland-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-modell|}}
Category[ ]
Category:Semorg-bundesland-modell
{{semorg-category}}
Template[ ]
Template:Semorg-bundesland-modell
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-bundesland-modell-category}}]]{{#semorg-set:bundesland-modell |umsetzung-details={{{umsetzung-details|}}} |relevant={{{relevant|}}} |bundesland={{{bundesland|}}} |unterstuetzung-details={{{unterstuetzung-details|}}} |modell={{{modell|}}} |beschreibung={{{beschreibung|}}} |position={{{position|}}} |unterstuetzung={{{unterstuetzung|}}} }}{{#semorg-detail:bundesland-modell}}{{#semorg-table:bundesland-modell |umsetzung-details={{{umsetzung-details|}}} |relevant={{{relevant|}}} |bundesland={{{bundesland|}}} |unterstuetzung-details={{{unterstuetzung-details|}}} |modell={{{modell|}}} |beschreibung={{{beschreibung|}}} |position={{{position|}}} |unterstuetzung={{{unterstuetzung|}}} }}</includeonly>
Row Template[ ]
Template:Semorg-bundesland-modell-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{umsetzung-details|}}}</td> <td>{{{relevant|}}}</td> <td>{{{bundesland|}}}</td> <td>{{{unterstuetzung-details|}}}</td> <td>{{{modell|}}}</td> <td>{{{beschreibung|}}}</td> <td>{{{position|}}}</td> <td>{{{unterstuetzung|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template[ ]
Template:Semorg-bundesland-modell-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:bundesland-modell |heading={{int:semorg-bundesland-modell-page-name}} |formlink={{#semorg-forminput:bundesland-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-modell-overview}}
Property Registration[ ]
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['bundesland-modell'] = [ "id" => "BMO","fields" => ["umsetzung-details" => [ "id" => "UMD","type" => "txt" ],"relevant" => [ "id" => "RE","type" => "boo" ],"bundesland" => [ "id" => "BU","type" => "wpg" ],"unterstuetzung-details" => [ "id" => "UND","type" => "txt" ],"modell" => [ "id" => "MO","type" => "wpg" ],"beschreibung" => [ "id" => "BE","type" => "txt" ],"position" => [ "id" => "PO","type" => "num" ],"unterstuetzung" => [ "id" => "UN","type" => "txt" ], ] ];