Stakeholder: Difference between revisions
From SemanticOrganization
(Created page with "{{Semorg-generator |template-id=SH |page-name=Stakeholders |entity-name=Stakeholder |form-page-name=Stakeholders |form-unique-number=Yes |display-title=<nowiki>{{{name|}}}</no...") |
No edit summary |
||
Line 3: | Line 3: | ||
|page-name=Stakeholders | |page-name=Stakeholders | ||
|entity-name=Stakeholder | |entity-name=Stakeholder | ||
|form-add-button-text= | |||
|form-page-name=Stakeholders | |form-page-name=Stakeholders | ||
|form-unique-number=Yes | |form-unique-number=Yes | ||
|placeholder= | |||
|custom-overview-list= | |||
|display-title=<nowiki>{{{name|}}}</nowiki> | |display-title=<nowiki>{{{name|}}}</nowiki> | ||
|display-title-message= | |||
|rows=scj,name,role,hook,importance,engaged | |rows=scj,name,role,hook,importance,engaged | ||
|form-template= | |||
|list-headers=name,role,hook,importance | |list-headers=name,role,hook,importance | ||
|template-fields={{semorg-generator-field | |template-fields={{semorg-generator-field | ||
Line 12: | Line 17: | ||
|property-id=SCJ | |property-id=SCJ | ||
|name=System Change Journey | |name=System Change Journey | ||
|prefix= | |||
|type=wpg | |type=wpg | ||
|suffix= | |||
|fields= | |||
|parameters=input type=combobox,values from category=semorg-scj,mapping property=Semorg-scj-name | |parameters=input type=combobox,values from category=semorg-scj,mapping property=Semorg-scj-name | ||
|help= | |||
}}{{semorg-generator-field | }}{{semorg-generator-field | ||
|id=name | |id=name | ||
|property-id=NA | |property-id=NA | ||
|name=Name/Examples | |name=Name/Examples | ||
|prefix= | |||
|type=txt | |type=txt | ||
|suffix= | |||
|fields= | |||
|parameters= | |||
|help= | |||
}}{{semorg-generator-field | }}{{semorg-generator-field | ||
|id=role | |id=role | ||
|property-id=RO | |property-id=RO | ||
|name=Role | |name=Role | ||
|prefix= | |||
|type=txt | |type=txt | ||
|suffix= | |||
|fields= | |||
|parameters=input type=textarea,autogrow,rows=1,cols=60 | |parameters=input type=textarea,autogrow,rows=1,cols=60 | ||
|help= | |||
}}{{semorg-generator-field | }}{{semorg-generator-field | ||
|id=hook | |id=hook | ||
|property-id=HO | |property-id=HO | ||
|name=Hook | |name=Hook | ||
|prefix= | |||
|type=txt | |type=txt | ||
|suffix= | |||
|fields= | |||
|parameters=input type=textarea,autogrow,rows=1,cols=60 | |parameters=input type=textarea,autogrow,rows=1,cols=60 | ||
|help= | |||
}}{{semorg-generator-field | }}{{semorg-generator-field | ||
|id=importance | |id=importance | ||
|property-id=IM | |property-id=IM | ||
|name=Importance | |name=Importance | ||
|prefix= | |||
|type=num | |type=num | ||
|suffix= | |||
|fields= | |||
|parameters=input type=rating | |parameters=input type=rating | ||
|help= | |||
}}{{semorg-generator-field | }}{{semorg-generator-field | ||
|id=engaged | |id=engaged | ||
|property-id=EN | |property-id=EN | ||
|name= | |||
|prefix= | |||
|type=boo | |type=boo | ||
|suffix= | |||
|fields= | |||
|parameters=input type=checkbox,label=engaged | |parameters=input type=checkbox,label=engaged | ||
|help= | |||
}} | }} | ||
}} | }} |
Latest revision as of 12:59, 8 June 2020
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
<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
{{semorg-category}}
Template
<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
{{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" ], ] ];