Systemic-consensing-option
From SemanticOrganization
Messages
"semorg-systemic-consensing-option-template": "semorg-systemic-consensing-option",
"semorg-systemic-consensing-option-category": "semorg-systemic-consensing-option",
"semorg-systemic-consensing-option-form": "semorg-systemic-consensing-option",
"semorg-systemic-consensing-option-entity-name": "Systemic Consensing Option",
"semorg-form-systemic-consensing-option-create-title": "Create Systemic Consensing Option",
"semorg-form-systemic-consensing-option-edit-title": "Edit Systemic Consensing Option",
"semorg-form-systemic-consensing-option-page-name": "Systemic Consensing Options",
"semorg-form-systemic-consensing-option-template": "systemic-consensing-option",
"semorg-form-systemic-consensing-option-rows": "decision,code,description,active",
"semorg-list-systemic-consensing-option-headers": "systemic-consensing-option-description, systemic-consensing-option-decision, systemic-consensing-option-active, systemic-consensing-option-code",
"semorg-field-systemic-consensing-option-active-name": "",
"semorg-field-systemic-consensing-option-active-parameters": "",
"semorg-field-systemic-consensing-option-active-input-type": "checkbox",
"semorg-field-systemic-consensing-option-active-label": "active",
"semorg-field-systemic-consensing-option-code-name": "Code",
"semorg-field-systemic-consensing-option-code-parameters": "mandatory",
"semorg-field-systemic-consensing-option-code-size": "5",
"semorg-field-systemic-consensing-option-decision-name": "Decision",
"semorg-field-systemic-consensing-option-decision-parameters": "hidden",
"semorg-field-systemic-consensing-option-description-name": "Description",
"semorg-field-systemic-consensing-option-description-parameters": "rows=1",
"semorg-field-systemic-consensing-option-description-input-type": "textarea",
Form
Form:Semorg-systemic-consensing-option
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-systemic-consensing-option-create-title}} |edit title={{int:semorg-form-systemic-consensing-option-edit-title}}<span class="d-none">: <page name></span> |page name={{int:semorg-form-systemic-consensing-option-page-name}}/<unique number;start=1> }}} {{semorg-form-template|systemic-consensing-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|systemic-consensing-option|}}
Category
Category:Semorg-systemic-consensing-option
{{semorg-category}}
Template
Template:Semorg-systemic-consensing-option
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-systemic-consensing-option-category}}]]{{#semorg-set:systemic-consensing-option |description={{{description|}}} |decision={{{decision|}}} |active={{{active|}}} |code={{{code|}}} }}{{#semorg-detail:systemic-consensing-option |heading={{{title|}}} }}{{#semorg-table:systemic-consensing-option |description={{{description|}}} |decision={{{decision|}}} |active={{{active|}}} |code={{{code|}}} }}</includeonly>
Row Template
Template:Semorg-systemic-consensing-option-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{description|}}}</td> <td>{{{decision|}}}</td> <td>{{{active|}}}</td> <td>{{{code|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template
Template:Semorg-systemic-consensing-option-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:systemic-consensing-option |heading={{int:semorg-systemic-consensing-option-page-name}} |formlink={{#semorg-formlink:systemic-consensing-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-systemic-consensing-option-overview}}
Property Registration
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['systemic-consensing-option'] = [ "id" => "SCO","fields" => ["description" => [ "id" => "DES","type" => "txt" ],"decision" => [ "id" => "DEC","type" => "wpg" ],"active" => [ "id" => "AC","type" => "boo" ],"code" => [ "id" => "CO","type" => "txt" ], ] ];