Handbuch-thema-option
Aus mobil-am-land.at
Version vom 15. November 2022, 09:55 Uhr von Tobias Haider (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „{{handbuch-bundle}}{{semorg-generator |template-id=HBTO |entity-name=Möglichkeit |form-add-button-text=Möglichkeit hinzufügen |form-unique-number=Nein |temp…“)
Messages[ ]
"semorg-form-handbuch-thema-option-add-button-text": "Möglichkeit hinzufügen", "semorg-form-handbuch-thema-option-template": "handbuch-thema-option", "semorg-form-handbuch-thema-option-rows": "position, anreisser, thema, titel, empfehlungsbedingungen, beispiel, beispiel-beschreibung, beschreibung", "semorg-list-handbuch-thema-option-headers": "handbuch-thema-option-position, handbuch-thema-option-anreisser, handbuch-thema-option-thema, handbuch-thema-option-titel, handbuch-thema-option-empfehlungsbedingungen, handbuch-thema-option-beispiel, handbuch-thema-option-beispiel-beschreibung, handbuch-thema-option-beschreibung", "semorg-field-handbuch-thema-option-anreisser-name": "Anreißer", "semorg-field-handbuch-thema-option-anreisser-parameters": "", "semorg-field-handbuch-thema-option-beispiel-name": "Beispiel", "semorg-field-handbuch-thema-option-beispiel-parameters": "", "semorg-field-handbuch-thema-option-beispiel-beschreibung-name": "Beschreibung des Beispiels", "semorg-field-handbuch-thema-option-beispiel-beschreibung-parameters": "", "semorg-field-handbuch-thema-option-beschreibung-name": "Beschreibung", "semorg-field-handbuch-thema-option-beschreibung-parameters": "", "semorg-field-handbuch-thema-option-empfehlungsbedingungen-name": "Empfehlungsbedingungen", "semorg-field-handbuch-thema-option-empfehlungsbedingungen-parameters": "", "semorg-field-handbuch-thema-option-position-name": "Position", "semorg-field-handbuch-thema-option-position-parameters": "", "semorg-field-handbuch-thema-option-thema-name": "Thema", "semorg-field-handbuch-thema-option-thema-parameters": "", "semorg-field-handbuch-thema-option-titel-name": "Titel", "semorg-field-handbuch-thema-option-titel-parameters": "",
Form[ ]
Form:Semorg-handbuch-thema-option
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-handbuch-thema-option-create-title}} |edit title={{int:semorg-form-handbuch-thema-option-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|handbuch-thema-option}} {{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-thema-option|}}
Category[ ]
Category:Semorg-handbuch-thema-option
{{semorg-category}}
Template[ ]
Template:Semorg-handbuch-thema-option
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-handbuch-thema-option-category}}]]{{#semorg-set:handbuch-thema-option |position={{{position|}}} |anreisser={{{anreisser|}}} |thema={{{thema|}}} |titel={{{titel|}}} |empfehlungsbedingungen={{{empfehlungsbedingungen|}}} |beispiel={{{beispiel|}}} |beispiel-beschreibung={{{beispiel-beschreibung|}}} |beschreibung={{{beschreibung|}}} }}{{#semorg-detail:handbuch-thema-option}}{{#semorg-table:handbuch-thema-option |position={{{position|}}} |anreisser={{{anreisser|}}} |thema={{{thema|}}} |titel={{{titel|}}} |empfehlungsbedingungen={{{empfehlungsbedingungen|}}} |beispiel={{{beispiel|}}} |beispiel-beschreibung={{{beispiel-beschreibung|}}} |beschreibung={{{beschreibung|}}} }}</includeonly>
Row Template[ ]
Template:Semorg-handbuch-thema-option-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{position|}}}</td> <td>{{{anreisser|}}}</td> <td>{{{thema|}}}</td> <td>{{{titel|}}}</td> <td>{{{empfehlungsbedingungen|}}}</td> <td>{{{beispiel|}}}</td> <td>{{{beispiel-beschreibung|}}}</td> <td>{{{beschreibung|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template[ ]
Template:Semorg-handbuch-thema-option-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:handbuch-thema-option |heading={{int:semorg-handbuch-thema-option-page-name}} |formlink={{#semorg-forminput:handbuch-thema-option}} |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-handbuch-thema-option-overview}}
Property Registration[ ]
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['handbuch-thema-option'] = [ "id" => "HBTO","fields" => ["position" => [ "id" => "PO","type" => "num" ],"anreisser" => [ "id" => "AN","type" => "txt" ],"thema" => [ "id" => "TH","type" => "wpg" ],"titel" => [ "id" => "TI","type" => "txt" ],"empfehlungsbedingungen" => [ "id" => "EM","type" => "txt" ],"beispiel" => [ "id" => "BS","type" => "wpg" ],"beispiel-beschreibung" => [ "id" => "BSB","type" => "txt" ],"beschreibung" => [ "id" => "BE","type" => "txt" ], ] ];