Bundesland
Aus mobil-am-land.at
Messages
"semorg-bundesland-template": "semorg-bundesland", "semorg-bundesland-category": "semorg-bundesland", "semorg-bundesland-form": "semorg-bundesland", "semorg-bundesland-entity-name": "Bundesland", "semorg-form-bundesland-create-title": "Create Bundesland", "semorg-form-bundesland-edit-title": "Edit Bundesland", "semorg-form-bundesland-template": "bundesland", "semorg-form-bundesland-rows": "beratungseinrichtungen, name, uebersicht, webseite, foerderungen, ansprechpersonen", "semorg-list-bundesland-headers": "bundesland-beratungseinrichtungen, bundesland-name, bundesland-uebersicht, bundesland-webseite, bundesland-foerderungen, bundesland-ansprechpersonen", "semorg-field-bundesland-ansprechpersonen-name": "Ansprechpersonen", "semorg-field-bundesland-ansprechpersonen-parameters": "", "semorg-field-bundesland-beratungseinrichtungen-name": "Beratungseinrichtungen", "semorg-field-bundesland-beratungseinrichtungen-parameters": "holds template", "semorg-field-bundesland-foerderungen-name": "Förderungen", "semorg-field-bundesland-foerderungen-parameters": "holds template", "semorg-field-bundesland-name-name": "Name", "semorg-field-bundesland-name-parameters": "", "semorg-field-bundesland-uebersicht-name": "Übersicht", "semorg-field-bundesland-uebersicht-parameters": "rows=1", "semorg-field-bundesland-uebersicht-input-type": "textarea", "semorg-field-bundesland-webseite-name": "Webseite", "semorg-field-bundesland-webseite-parameters": "",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
|create title={{int:semorg-form-bundesland-create-title}}
|edit title={{int:semorg-form-bundesland-edit-title}}<span class="d-none">: <page name></span>
|page name=
}}}
{{semorg-form-template|bundesland}}
{{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|}}
Category
{{semorg-category}}
Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-bundesland-category}}]]{{#semorg-set:bundesland
|beratungseinrichtungen={{{beratungseinrichtungen|}}}
|name={{{name|}}}
|uebersicht={{{uebersicht|}}}
|webseite={{{webseite|}}}
|foerderungen={{{foerderungen|}}}
|ansprechpersonen={{{ansprechpersonen|}}}
}}{{#semorg-detail:bundesland}}{{#semorg-table:bundesland
|beratungseinrichtungen={{{beratungseinrichtungen|}}}
|name={{{name|}}}
|uebersicht={{{uebersicht|}}}
|webseite={{{webseite|}}}
|foerderungen={{{foerderungen|}}}
|ansprechpersonen={{{ansprechpersonen|}}}
}}</includeonly>
Row Template
Template:Semorg-bundesland-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td>
<td>{{{beratungseinrichtungen|}}}</td>
<td>{{{name|}}}</td>
<td>{{{uebersicht|}}}</td>
<td>{{{webseite|}}}</td>
<td>{{{foerderungen|}}}</td>
<td>{{{ansprechpersonen|}}}</td>
{{semorg-showedit
|target={{{target|}}}
}}
</tr></includeonly>
Overview Page Template
Template:Semorg-bundesland-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:bundesland
|heading={{int:semorg-bundesland-page-name}}
|formlink={{#semorg-forminput:bundesland}}
|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-overview}}
Property Registration
Add the following line to LocalSettings.php:
$wgSemorgAdditionalProperties['bundesland'] = [ "id" => "BL","fields" => ["beratungseinrichtungen" => [ "id" => "BE","type" => "" ],"name" => [ "id" => "NA","type" => "txt" ],"uebersicht" => [ "id" => "UE","type" => "txt" ],"webseite" => [ "id" => "WE","type" => "uri" ],"foerderungen" => [ "id" => "FO","type" => "" ], ] ];