SCJ

From SemanticOrganization
Revision as of 16:19, 22 March 2021 by Admin (talk | contribs)
Jump to: navigation, search


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