Process: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
m (Text replacement - "{{Generator" to "{{Semorg-generator")
m (Text replacement - "|field-" to "|")
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
|template-id=PS
|template-id=PS
|template-fields={{Semorg-generator-field
|template-fields={{Semorg-generator-field
|field-id=title
|id=title
|field-property-id=TI
|property-id=TI
|field-name=Titel
|name=Titel
|field-type=txt
|type=txt
|field-parameters=input type=text,size=60
|parameters=input type=text,size=60
}}{{Semorg-generator-field
}}{{Semorg-generator-field
|field-id=description
|id=description
|field-property-id=DE
|property-id=DE
|field-name=Beschreibung
|name=Beschreibung
|field-type=txt
|type=txt
|field-parameters=input type=textarea,autogrow,rows=1,columns=80
|parameters=input type=textarea,autogrow,rows=1,columns=80
}}{{Semorg-generator-field
}}{{Semorg-generator-field
|field-id=owner
|id=owner
|field-property-id=OW
|property-id=OW
|field-name=Prozessverantwortung
|name=Prozessverantwortung
|field-type=wpg
|type=wpg
|field-parameters=input type=combobox,values from property=semorg-person,mapping property=Semorg-person-name
|parameters=input type=combobox,values from property=semorg-person,mapping property=Semorg-person-name
}}{{Semorg-generator-field
}}{{Semorg-generator-field
|field-id=visualization
|id=visualization
|field-property-id=VI
|property-id=VI
|field-name=Visualisierung
|name=Visualisierung
|field-type=wpg
|type=wpg
|field-parameters=uploadable,values from namespace=File
|parameters=uploadable,values from namespace=File
}}
}}
}}
}}

Latest revision as of 14:24, 22 November 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

Form:Semorg-process

<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

Category:Semorg-process

{{semorg-category}}

Template

Template:Semorg-process

<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

Template:Semorg-process-row

<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" ], ] ];