Cookies helfen uns bei der Bereitstellung von mobil-am-land.at. Durch die Nutzung von mobil-am-land.at erklären Sie sich damit einverstanden, dass wir Cookies speichern. Weitere Informationen

Handbuch-kapitel: Unterschied zwischen den Versionen

Aus mobil-am-land.at
Wechseln zu: Navigation, Suche
intern>Tobias
 
K (1 Version importiert)
 
(kein Unterschied)

Aktuelle Version vom 4. November 2022, 15:55 Uhr


Messages[ ]

"semorg-handbuch-kapitel-template": "semorg-handbuch-kapitel",
"semorg-handbuch-kapitel-category": "semorg-handbuch-kapitel",
"semorg-handbuch-kapitel-form": "semorg-handbuch-kapitel",
"semorg-handbuch-kapitel-page-name": "Kapitel",
"semorg-handbuch-kapitel-entity-name": "Kapitel",
"semorg-form-handbuch-kapitel-create-title": "Create Kapitel",
"semorg-form-handbuch-kapitel-edit-title": "Edit Kapitel",
"semorg-forminput-handbuch-kapitel-placeholder": "Name des Kapitels",
"semorg-form-handbuch-kapitel-template": "handbuch-kapitel",
"semorg-form-handbuch-kapitel-rows": "name",
"semorg-list-handbuch-kapitel-headers": "handbuch-kapitel-kapitel,handbuch-kapitel-themen",
"semorg-field-handbuch-kapitel-name-name": "Name", 
"semorg-field-handbuch-kapitel-name-parameters": "",
"semorg-field-handbuch-kapitel-position-name": "Position", 
"semorg-field-handbuch-kapitel-position-parameters": "",

Form[ ]

Form:Semorg-handbuch-kapitel

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
   |create title={{int:semorg-form-handbuch-kapitel-create-title}}
   |edit title={{int:semorg-form-handbuch-kapitel-edit-title}}<span class="d-none">: <page name></span>
   |page name=
}}}

{{semorg-form-template|handbuch-kapitel}}
 
{{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|handbuch-kapitel|}}

Category[ ]

Category:Semorg-handbuch-kapitel

{{semorg-category}}

Template[ ]

Template:Semorg-handbuch-kapitel

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-handbuch-kapitel-category}}]]{{#semorg-set:handbuch-kapitel 
  |name={{{name|}}} 
  |position={{{position|}}}
}}{{#semorg-detail:handbuch-kapitel}}{{#semorg-table:handbuch-kapitel 
  |name={{{name|}}} 
  |position={{{position|}}}
}}</includeonly>

Row Template[ ]

Template:Semorg-handbuch-kapitel-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{name|}}}</td> 
<td>{{{position|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template[ ]

Template:Semorg-handbuch-kapitel-overview

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:handbuch-kapitel
  |heading={{int:semorg-handbuch-kapitel-page-name}}
  |formlink={{#semorg-forminput:handbuch-kapitel}}
  |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[ ]

Kapitel

{{semorg-handbuch-kapitel-overview}}

Property Registration[ ]

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['handbuch-kapitel'] = [ "id" => "HBK","fields" => ["name" => [ "id" => "NA","type" => "txt" ],"position" => [ "id" => "PO","type" => "num" ], ] ];