SCJ: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
Line 66: | Line 66: | ||
|type=num | |type=num | ||
|help=Is there anybody else doing good work on this System Change? ''(give more points if the potential system change is “orphaned”)'' | |help=Is there anybody else doing good work on this System Change? ''(give more points if the potential system change is “orphaned”)'' | ||
}}{{semorg-generator-field | |||
|id=prio-total | |||
|property-id=PTO | |||
|name=Priority | |||
|type=num | |||
}} | }} | ||
}} | }} |
Revision as of 16:20, 22 March 2021
Messages
"semorg-scj-template": "semorg-scj", "semorg-scj-category": "semorg-scj", "semorg-scj-form": "semorg-scj", "semorg-scj-page-name": "System Change Journeys", "semorg-scj-entity-name": "System Change Journey", "semorg-form-scj-create-title": "Create System Change Journey", "semorg-form-scj-edit-title": "Edit System Change Journey", "semorg-form-scj-page-name": "SCJ", "semorg-form-scj-template": "scj", "semorg-form-scj-rows": "scj,name,targeted-sc", "semorg-list-scj-headers": "name,targeted-sc,plots",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-scj-create-title}} |edit title={{int:semorg-form-scj-edit-title}}<span class="d-none">: <page name></span> |page name={{int:semorg-form-scj-page-name}}/<unique number;start=1> }}} {{semorg-form-template|scj}} {{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|scj|}}
Category
{{semorg-category}}
Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-scj-category}}]]{{#semorg-set:scj }}{{#semorg-detail:scj}}{{#semorg-table:scj }}</includeonly>
Row Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:scj |heading={{int:semorg-scj-page-name}} |formlink={{#semorg-formlink:scj}} |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-scj-overview}}
Property Registration
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['scj'] = [ "id" => "SCJ","fields" => ["prio-strengths" => [ "id" => "PST","type" => "num" ],"prio-unaddressed" => [ "id" => "PUA","type" => "num" ],"prio-beneficial" => [ "id" => "PBE","type" => "num" ],"targeted-sc-type" => [ "id" => "TST","type" => "txt" ],"name" => [ "id" => "NA","type" => "txt" ],"status" => [ "id" => "ST","type" => "txt" ],"system" => [ "id" => "SY","type" => "wpg" ],"prio-total" => [ "id" => "PTO","type" => "num" ],"prio-easy" => [ "id" => "PEA","type" => "num" ],"targeted-sc-long" => [ "id" => "TSL","type" => "txt" ],"targeted-sc-action" => [ "id" => "TSA","type" => "txt" ],"prio-alignment" => [ "id" => "PAL","type" => "num" ],"targeted-sc-result" => [ "id" => "TSR","type" => "txt" ],"targeted-sc" => [ "id" => "TSC","type" => "txt" ],"hypothesis" => [ "id" => "HY","type" => "wpg" ],"archived" => [ "id" => "AR","type" => "boo" ], ] ];