Handbuch-kapitel
Aus bedarfsverkehr.at
Version vom 27. September 2022, 21:46 Uhr von intern>Tobias
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[ ]
<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[ ]
{{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" ], ] ];