Modell-beispiel
Aus mobil-am-land.at
Messages[ ]
"semorg-form-modell-beispiel-add-button-text": "Beispiel hinzufügen", "semorg-form-modell-beispiel-template": "modell-beispiel", "semorg-form-modell-beispiel-rows": "position, beispiel, modell, beschreibung", "semorg-list-modell-beispiel-headers": "modell-beispiel-position, modell-beispiel-beispiel, modell-beispiel-modell, modell-beispiel-beschreibung", "semorg-field-modell-beispiel-beispiel-name": "Beispiel", "semorg-field-modell-beispiel-beispiel-parameters": "", "semorg-field-modell-beispiel-beschreibung-name": "Beschreibung", "semorg-field-modell-beispiel-beschreibung-parameters": "rows=1", "semorg-field-modell-beispiel-beschreibung-input-type": "textarea", "semorg-field-modell-beispiel-modell-name": "Modell", "semorg-field-modell-beispiel-modell-parameters": "", "semorg-field-modell-beispiel-position-name": "", "semorg-field-modell-beispiel-position-parameters": "",
Form[ ]
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-modell-beispiel-create-title}} |edit title={{int:semorg-form-modell-beispiel-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|modell-beispiel}} {{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|modell-beispiel|}}
Category[ ]
Category:Semorg-modell-beispiel
{{semorg-category}}
Template[ ]
Template:Semorg-modell-beispiel
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-modell-beispiel-category}}]]{{#semorg-set:modell-beispiel |position={{{position|}}} |beispiel={{{beispiel|}}} |modell={{{modell|}}} |beschreibung={{{beschreibung|}}} }}{{#semorg-detail:modell-beispiel}}{{#semorg-table:modell-beispiel |position={{{position|}}} |beispiel={{{beispiel|}}} |modell={{{modell|}}} |beschreibung={{{beschreibung|}}} }}</includeonly>
Row Template[ ]
Template:Semorg-modell-beispiel-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{position|}}}</td> <td>{{{beispiel|}}}</td> <td>{{{modell|}}}</td> <td>{{{beschreibung|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template[ ]
Template:Semorg-modell-beispiel-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:modell-beispiel |heading={{int:semorg-modell-beispiel-page-name}} |formlink={{#semorg-forminput:modell-beispiel}} |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-modell-beispiel-overview}}
Property Registration[ ]
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['modell-beispiel'] = [ "id" => "MBSP","fields" => ["position" => [ "id" => "PO","type" => "num" ],"beispiel" => [ "id" => "BS","type" => "wpg" ],"modell" => [ "id" => "MO","type" => "wpg" ],"beschreibung" => [ "id" => "BSB","type" => "txt" ], ] ];