Handbuch-thema-frage
Aus mobil-am-land.at
Version vom 15. November 2022, 10:00 Uhr von Tobias Haider (Diskussion | Beiträge)
Messages[ ]
"semorg-form-handbuch-thema-frage-add-button-text": "Frage hinzufügen", "semorg-form-handbuch-thema-frage-template": "handbuch-thema-frage", "semorg-form-handbuch-thema-frage-rows": "beschreibung, frage, position, beispiel, thema, beispiel-beschreibung, anreisser", "semorg-list-handbuch-thema-frage-headers": "handbuch-thema-frage-beschreibung, handbuch-thema-frage-frage, handbuch-thema-frage-position, handbuch-thema-frage-beispiel, handbuch-thema-frage-thema, handbuch-thema-frage-beispiel-beschreibung, handbuch-thema-frage-anreisser", "semorg-field-handbuch-thema-frage-anreisser-name": "Anreißer", "semorg-field-handbuch-thema-frage-anreisser-parameters": "", "semorg-field-handbuch-thema-frage-beispiel-name": "Beispiel", "semorg-field-handbuch-thema-frage-beispiel-parameters": "", "semorg-field-handbuch-thema-frage-beispiel-beschreibung-name": "Beschreibung des Beispiels", "semorg-field-handbuch-thema-frage-beispiel-beschreibung-parameters": "", "semorg-field-handbuch-thema-frage-beschreibung-name": "Beschreibung", "semorg-field-handbuch-thema-frage-beschreibung-parameters": "", "semorg-field-handbuch-thema-frage-frage-name": "Frage", "semorg-field-handbuch-thema-frage-frage-parameters": "", "semorg-field-handbuch-thema-frage-position-name": "Position", "semorg-field-handbuch-thema-frage-position-parameters": "", "semorg-field-handbuch-thema-frage-thema-name": "Thema", "semorg-field-handbuch-thema-frage-thema-parameters": "",
Form[ ]
Form:Semorg-handbuch-thema-frage
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-handbuch-thema-frage-create-title}} |edit title={{int:semorg-form-handbuch-thema-frage-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|handbuch-thema-frage}} {{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-frage|}}
Category[ ]
Category:Semorg-handbuch-thema-frage
{{semorg-category}}
Template[ ]
Template:Semorg-handbuch-thema-frage
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-handbuch-thema-frage-category}}]]{{#semorg-set:handbuch-thema-frage |beschreibung={{{beschreibung|}}} |frage={{{frage|}}} |position={{{position|}}} |beispiel={{{beispiel|}}} |thema={{{thema|}}} |beispiel-beschreibung={{{beispiel-beschreibung|}}} |anreisser={{{anreisser|}}} }}{{#semorg-detail:handbuch-thema-frage}}{{#semorg-table:handbuch-thema-frage |beschreibung={{{beschreibung|}}} |frage={{{frage|}}} |position={{{position|}}} |beispiel={{{beispiel|}}} |thema={{{thema|}}} |beispiel-beschreibung={{{beispiel-beschreibung|}}} |anreisser={{{anreisser|}}} }}</includeonly>
Row Template[ ]
Template:Semorg-handbuch-thema-frage-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{beschreibung|}}}</td> <td>{{{frage|}}}</td> <td>{{{position|}}}</td> <td>{{{beispiel|}}}</td> <td>{{{thema|}}}</td> <td>{{{beispiel-beschreibung|}}}</td> <td>{{{anreisser|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template[ ]
Template:Semorg-handbuch-thema-frage-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:handbuch-thema-frage |heading={{int:semorg-handbuch-thema-frage-page-name}} |formlink={{#semorg-forminput:handbuch-thema-frage}} |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-frage-overview}}
Property Registration[ ]
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['handbuch-thema-frage'] = [ "id" => "HBTF","fields" => ["beschreibung" => [ "id" => "BE","type" => "txt" ],"frage" => [ "id" => "FR","type" => "txt" ],"position" => [ "id" => "PO","type" => "num" ],"beispiel" => [ "id" => "BS","type" => "wpg" ],"thema" => [ "id" => "TH","type" => "wpg" ],"beispiel-beschreibung" => [ "id" => "BSB","type" => "txt" ],"anreisser" => [ "id" => "AN","type" => "txt" ], ] ];