Process: Difference between revisions

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