Handbuch-thema
Aus bedarfsverkehr.at
Version vom 27. September 2022, 21:45 Uhr von intern>Tobias
Messages[ ]
"semorg-handbuch-thema-template": "semorg-handbuch-thema", "semorg-handbuch-thema-category": "semorg-handbuch-thema", "semorg-handbuch-thema-form": "semorg-handbuch-thema", "semorg-handbuch-thema-entity-name": "Thema", "semorg-form-handbuch-thema-create-title": "Create Thema", "semorg-form-handbuch-thema-edit-title": "Edit Thema", "semorg-form-handbuch-thema-template": "handbuch-thema", "semorg-form-handbuch-thema-rows": "moeglichkeiten, frage, alternative-fragen, fragen, material-ok, moeglichkeiten-header, einleitung, material-erhebung, thema, material, kapitel, anreisser, position, ueberblick", "semorg-list-handbuch-thema-headers": "handbuch-thema-moeglichkeiten, handbuch-thema-frage, handbuch-thema-alternative-fragen, handbuch-thema-fragen, handbuch-thema-material-ok, handbuch-thema-moeglichkeiten-header, handbuch-thema-einleitung, handbuch-thema-material-erhebung, handbuch-thema-thema, handbuch-thema-material, handbuch-thema-kapitel, handbuch-thema-anreisser, handbuch-thema-position, handbuch-thema-ueberblick", "semorg-field-handbuch-thema-alternative-fragen-name": "Alternative Fragen", "semorg-field-handbuch-thema-alternative-fragen-parameters": "", "semorg-field-handbuch-thema-anreisser-name": "Anreißer", "semorg-field-handbuch-thema-anreisser-parameters": "", "semorg-field-handbuch-thema-einleitung-name": "Einleitung", "semorg-field-handbuch-thema-einleitung-parameters": "", "semorg-field-handbuch-thema-frage-name": "Frage", "semorg-field-handbuch-thema-frage-parameters": "", "semorg-field-handbuch-thema-fragen-name": "Fragen", "semorg-field-handbuch-thema-fragen-parameters": "", "semorg-field-handbuch-thema-kapitel-name": "Kapitel", "semorg-field-handbuch-thema-kapitel-parameters": "", "semorg-field-handbuch-thema-material-name": "weitere Materialien", "semorg-field-handbuch-thema-material-parameters": "", "semorg-field-handbuch-thema-material-erhebung-name": "Material Erhebung", "semorg-field-handbuch-thema-material-erhebung-parameters": "", "semorg-field-handbuch-thema-material-ok-name": "Material Online-Konsultation", "semorg-field-handbuch-thema-material-ok-parameters": "", "semorg-field-handbuch-thema-moeglichkeiten-name": "Möglichkeiten", "semorg-field-handbuch-thema-moeglichkeiten-parameters": "", "semorg-field-handbuch-thema-moeglichkeiten-header-name": "", "semorg-field-handbuch-thema-moeglichkeiten-header-parameters": "", "semorg-field-handbuch-thema-position-name": "Position", "semorg-field-handbuch-thema-position-parameters": "", "semorg-field-handbuch-thema-thema-name": "Thema", "semorg-field-handbuch-thema-thema-parameters": "", "semorg-field-handbuch-thema-ueberblick-name": "Überblick", "semorg-field-handbuch-thema-ueberblick-parameters": "",
Form[ ]
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-handbuch-thema-create-title}} |edit title={{int:semorg-form-handbuch-thema-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|handbuch-thema}} {{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|}}
Category[ ]
Category:Semorg-handbuch-thema
{{semorg-category}}
Template[ ]
Template:Semorg-handbuch-thema
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-handbuch-thema-category}}]]{{#semorg-set:handbuch-thema |moeglichkeiten={{{moeglichkeiten|}}} |frage={{{frage|}}} |alternative-fragen={{{alternative-fragen|}}} |fragen={{{fragen|}}} |material-ok={{{material-ok|}}} |moeglichkeiten-header={{{moeglichkeiten-header|}}} |einleitung={{{einleitung|}}} |material-erhebung={{{material-erhebung|}}} |thema={{{thema|}}} |material={{{material|}}} |kapitel={{{kapitel|}}} |anreisser={{{anreisser|}}} |position={{{position|}}} |ueberblick={{{ueberblick|}}} }}{{#semorg-detail:handbuch-thema}}{{#semorg-table:handbuch-thema |moeglichkeiten={{{moeglichkeiten|}}} |frage={{{frage|}}} |alternative-fragen={{{alternative-fragen|}}} |fragen={{{fragen|}}} |material-ok={{{material-ok|}}} |moeglichkeiten-header={{{moeglichkeiten-header|}}} |einleitung={{{einleitung|}}} |material-erhebung={{{material-erhebung|}}} |thema={{{thema|}}} |material={{{material|}}} |kapitel={{{kapitel|}}} |anreisser={{{anreisser|}}} |position={{{position|}}} |ueberblick={{{ueberblick|}}} }}</includeonly>
Row Template[ ]
Template:Semorg-handbuch-thema-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{moeglichkeiten|}}}</td> <td>{{{frage|}}}</td> <td>{{{alternative-fragen|}}}</td> <td>{{{fragen|}}}</td> <td>{{{material-ok|}}}</td> <td>{{{moeglichkeiten-header|}}}</td> <td>{{{einleitung|}}}</td> <td>{{{material-erhebung|}}}</td> <td>{{{thema|}}}</td> <td>{{{material|}}}</td> <td>{{{kapitel|}}}</td> <td>{{{anreisser|}}}</td> <td>{{{position|}}}</td> <td>{{{ueberblick|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template[ ]
Template:Semorg-handbuch-thema-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:handbuch-thema |heading={{int:semorg-handbuch-thema-page-name}} |formlink={{#semorg-forminput:handbuch-thema}} |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-overview}}
Property Registration[ ]
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['handbuch-thema'] = [ "id" => "HBT","fields" => ["frage" => [ "id" => "FR","type" => "txt" ],"alternative-fragen" => [ "id" => "AFR","type" => "txt" ],"material-ok" => [ "id" => "MOK","type" => "txt" ],"moeglichkeiten-header" => [ "id" => "MH","type" => "txt" ],"einleitung" => [ "id" => "EIN","type" => "txt" ],"material-erhebung" => [ "id" => "MERH","type" => "txt" ],"thema" => [ "id" => "TH","type" => "txt" ],"material" => [ "id" => "MAT","type" => "txt" ],"kapitel" => [ "id" => "KA","type" => "wpg" ],"anreisser" => [ "id" => "ANR","type" => "txt" ],"position" => [ "id" => "PO","type" => "num" ],"ueberblick" => [ "id" => "UB","type" => "txt" ], ] ];