Process: Difference between revisions
From SemanticOrganization
No edit summary |
m (Text replacement - "{{Generator" to "{{Semorg-generator") |
||
Line 1: | Line 1: | ||
{{ | {{Semorg-generator | ||
|template-id=PS | |template-id=PS | ||
|template-fields={{ | |template-fields={{Semorg-generator-field | ||
|field-id=title | |field-id=title | ||
|field-property-id=TI | |field-property-id=TI | ||
Line 7: | Line 7: | ||
|field-type=txt | |field-type=txt | ||
|field-parameters=input type=text,size=60 | |field-parameters=input type=text,size=60 | ||
}}{{ | }}{{Semorg-generator-field | ||
|field-id=description | |field-id=description | ||
|field-property-id=DE | |field-property-id=DE | ||
Line 13: | Line 13: | ||
|field-type=txt | |field-type=txt | ||
|field-parameters=input type=textarea,autogrow,rows=1,columns=80 | |field-parameters=input type=textarea,autogrow,rows=1,columns=80 | ||
}}{{ | }}{{Semorg-generator-field | ||
|field-id=owner | |field-id=owner | ||
|field-property-id=OW | |field-property-id=OW | ||
Line 19: | Line 19: | ||
|field-type=wpg | |field-type=wpg | ||
|field-parameters=input type=combobox,values from property=semorg-person,mapping property=Semorg-person-name | |field-parameters=input type=combobox,values from property=semorg-person,mapping property=Semorg-person-name | ||
}}{{ | }}{{Semorg-generator-field | ||
|field-id=visualization | |field-id=visualization | ||
|field-property-id=VI | |field-property-id=VI |
Revision as of 09:18, 31 October 2018
Messages
"semorg-process-template": "semorg-process", "semorg-process-category": "semorg-process", "semorg-process-form": "semorg-process", "semorg-form-process-create-title": "Create Process", "semorg-form-process-edit-title": "Edit Process", "semorg-form-process-template": "process", "semorg-form-process-rows": "owner, visualization, title, description", "semorg-list-process-headers": "process-owner, process-visualization, process-title, process-description", "semorg-field-process-description-name": "Beschreibung", "semorg-field-process-description-parameters": "input type=textarea|autogrow|rows=1|columns=80", "semorg-field-process-owner-name": "Prozessverantwortung", "semorg-field-process-owner-parameters": "input type=combobox|values from property=semorg-person|mapping property=Semorg-person-name", "semorg-field-process-title-name": "Titel", "semorg-field-process-title-parameters": "input type=text|size=60", "semorg-field-process-visualization-name": "Visualisierung", "semorg-field-process-visualization-parameters": "uploadable|values from namespace=File",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-process-create-title}} |edit title={{int:semorg-form-process-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|process}} {{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|process|}}
Category
{{semorg-category}}
Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-process-category}}]]{{#semorg-set:process |owner={{{owner|}}} |visualization={{{visualization|}}} |title={{{title|}}} |description={{{description|}}} }}{{#semorg-detail:process}}{{#semorg-table:process |owner={{{owner|}}} |visualization={{{visualization|}}} |title={{{title|}}} |description={{{description|}}} }}</includeonly>
Row Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{owner|}}}</td> <td>{{{visualization|}}}</td> <td>{{{title|}}}</td> <td>{{{description|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template
Template:Semorg-process-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:process |heading={{int:semorg-process-page-name}} |formlink={{#semorg-forminput:process}} |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-process-overview}}
Property Registration
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['process'] = [ "id" => "PS","fields" => ["owner" => [ "id" => "OW","type" => "wpg" ],"visualization" => [ "id" => "VI","type" => "wpg" ],"title" => [ "id" => "TI","type" => "txt" ],"description" => [ "id" => "DE","type" => "txt" ], ] ];