Difference between revisions of "SCJ"

From SemanticOrganization
Jump to: navigation, search
Line 27: Line 27:
 
|type=txt
 
|type=txt
 
|parameters=input type=textarea,rows=2,autogrow,cols=60
 
|parameters=input type=textarea,rows=2,autogrow,cols=60
 +
}}{{semorg-generator-field
 +
|id=targeted-sc-type
 +
|property-id=TST
 +
|type=txt
 +
}}{{semorg-generator-field
 +
|id=targeted-sc-action
 +
|property-id=TSA
 +
|type=txt
 +
}}{{semorg-generator-field
 +
|id=targeted-sc-result
 +
|property-id=TSR
 +
|type=txt
 
}}{{semorg-generator-field
 
}}{{semorg-generator-field
 
|id=plots
 
|id=plots

Revision as of 10:34, 30 August 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

Form:Semorg-scj

<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

Category:Semorg-scj

{{semorg-category}}

Template

Template:Semorg-scj

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-scj-category}}]]{{#semorg-set:scj
}}{{#semorg-detail:scj}}{{#semorg-table:scj
}}</includeonly>

Row Template

Template:Semorg-scj-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-scj-overview

<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

System Change Journeys

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