Delivery-Model

From SemanticOrganization
Revision as of 18:23, 13 April 2020 by Admin (talk | contribs) (Created page with "{{Semorg-generator |template-id=DM |page-name=Delivery Models |entity-name=Delivery Model |form-add-button-text=Add Delivery Model |form-unique-number=No |rows=type,note,how,p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Messages

"semorg-delivery-model-template": "semorg-delivery-model",
"semorg-form-delivery-model-add-button-text": "Add Delivery Model",

"semorg-form-delivery-model-template": "delivery-model",
"semorg-form-delivery-model-rows": "type,note,how,pro,contra,stakeholder",
"semorg-list-delivery-model-headers": "tool-type,tool-how,tool-pro,tool-contra",

Form

Form:Semorg-delivery-model

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
   |create title={{int:semorg-form-delivery-model-create-title}}
   |edit title={{int:semorg-form-delivery-model-edit-title}}<span class="d-none">: <page name></span>
   |page name=
}}}

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

Category

Category:Semorg-delivery-model

{{semorg-category}}

Template

Template:Semorg-delivery-model

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

Row Template

Template:Semorg-delivery-model-row

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

Overview Page Template

Template:Semorg-delivery-model-overview

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

Delivery Models

{{semorg-delivery-model-overview}}

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['delivery-model'] = [ "id" => "DM","fields" => ["stakeholder" => [ "id" => "ST","type" => "wpg" ],"pro" => [ "id" => "PR","type" => "txt" ],"type" => [ "id" => "TY","type" => "txt" ],"contra" => [ "id" => "CO","type" => "txt" ],"how" => [ "id" => "HO","type" => "txt" ],"milestone" => [ "id" => "MI","type" => "wpg" ],"note" => [ "id" => "NO","type" => "txt" ], ] ];