Stakeholder

From SemanticOrganization
Jump to: navigation, search


Messages

"semorg-stakeholder-template": "semorg-stakeholder",
"semorg-stakeholder-category": "semorg-stakeholder",
"semorg-stakeholder-form": "semorg-stakeholder",
"semorg-stakeholder-page-name": "Stakeholders",
"semorg-stakeholder-entity-name": "Stakeholder",
"semorg-form-stakeholder-create-title": "Create Stakeholder",
"semorg-form-stakeholder-edit-title": "Edit Stakeholder", 
"semorg-form-stakeholder-page-name": "Stakeholders",

"semorg-form-stakeholder-template": "",
"semorg-form-stakeholder-rows": "scj,name,role,hook,importance,engaged",
"semorg-list-stakeholder-headers": "name,role,hook,importance",
"semorg-field-stakeholder-engaged-name": "", 
"semorg-field-stakeholder-engaged-parameters": "input type=checkbox|label=engaged",
"semorg-field-stakeholder-hook-name": "Hook", 
"semorg-field-stakeholder-hook-parameters": "input type=textarea|autogrow|rows=1|cols=60",
"semorg-field-stakeholder-importance-name": "Importance", 
"semorg-field-stakeholder-importance-parameters": "input type=rating",
"semorg-field-stakeholder-name-name": "Name/Examples", 
"semorg-field-stakeholder-name-parameters": "",
"semorg-field-stakeholder-role-name": "Role", 
"semorg-field-stakeholder-role-parameters": "input type=textarea|autogrow|rows=1|cols=60",
"semorg-field-stakeholder-scj-name": "System Change Journey", 
"semorg-field-stakeholder-scj-parameters": "input type=combobox|values from category=semorg-scj|mapping property=Semorg-scj-name",

Form

Form:Semorg-stakeholder

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
   |create title={{int:semorg-form-stakeholder-create-title}}
   |edit title={{int:semorg-form-stakeholder-edit-title}}<span class="d-none">: <page name></span>
   |page name={{int:semorg-form-stakeholder-page-name}}/<unique number;start=1>
}}}

{{semorg-form-template|stakeholder}}
 
{{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|stakeholder|}}

Category

Category:Semorg-stakeholder

{{semorg-category}}

Template

Template:Semorg-stakeholder

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-stakeholder-category}}]]{{#semorg-set:stakeholder 
  |engaged={{{engaged|}}} 
  |hook={{{hook|}}} 
  |importance={{{importance|}}} 
  |name={{{name|}}} 
  |scj={{{scj|}}} 
  |role={{{role|}}}
}}{{#semorg-detail:stakeholder
  |heading={{{name|}}}
}}{{#semorg-table:stakeholder 
  |engaged={{{engaged|}}} 
  |hook={{{hook|}}} 
  |importance={{{importance|}}} 
  |name={{{name|}}} 
  |scj={{{scj|}}} 
  |role={{{role|}}}
}}</includeonly>

Row Template

Template:Semorg-stakeholder-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{engaged|}}}</td> 
<td>{{{hook|}}}</td> 
<td>{{{importance|}}}</td> 
<td>{{{name|}}}</td> 
<td>{{{scj|}}}</td> 
<td>{{{role|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-stakeholder-overview

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:stakeholder
  |heading={{int:semorg-stakeholder-page-name}}
  |formlink={{#semorg-formlink:stakeholder}}
  |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

Stakeholders

{{semorg-stakeholder-overview}}

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['stakeholder'] = [ "id" => "SH","fields" => ["engaged" => [ "id" => "EN","type" => "boo" ],"hook" => [ "id" => "HO","type" => "txt" ],"importance" => [ "id" => "IM","type" => "num" ],"name" => [ "id" => "NA","type" => "txt" ],"scj" => [ "id" => "SCJ","type" => "wpg" ],"role" => [ "id" => "RO","type" => "txt" ], ] ];