IOOI

From SemanticOrganization
Revision as of 23:38, 3 December 2020 by Admin (talk | contribs) (Created page with "{{Semorg-generator |template-id=IO |page-name=IOOI Analyses |entity-name=IOOI |form-page-name=IOOI |form-unique-number=Yes |rows=title,description,input,activities,output,outc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Messages

"semorg-iooi-template": "semorg-iooi",
"semorg-iooi-category": "semorg-iooi",
"semorg-iooi-form": "semorg-iooi",
"semorg-iooi-page-name": "IOOI Analyses",
"semorg-iooi-entity-name": "IOOI",
"semorg-form-iooi-create-title": "Create IOOI",
"semorg-form-iooi-edit-title": "Edit IOOI", 
"semorg-form-iooi-page-name": "IOOI",

"semorg-form-iooi-template": "iooi",
"semorg-form-iooi-rows": "title,description,input,activities,output,outcome,impact",
"semorg-list-iooi-headers": "iooi-title,iooi-input,iooi-output,iooi-outcome,iooi-impact",

Form

Form:Semorg-iooi

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
   |create title={{int:semorg-form-iooi-create-title}}
   |edit title={{int:semorg-form-iooi-edit-title}}<span class="d-none">: <page name></span>
   |page name={{int:semorg-form-iooi-page-name}}/<unique number;start=1>
}}}

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

Category

Category:Semorg-iooi

{{semorg-category}}

Template

Template:Semorg-iooi

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

Row Template

Template:Semorg-iooi-row

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

Overview Page Template

Template:Semorg-iooi-overview

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

IOOI Analyses

{{semorg-iooi-overview}}

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['iooi'] = [ "id" => "IO","fields" => ["input" => [ "id" => "IP","type" => "txt" ],"activities" => [ "id" => "AC","type" => "txt" ],"output" => [ "id" => "OP","type" => "txt" ],"description" => [ "id" => "DE","type" => "txt" ],"title" => [ "id" => "TI","type" => "txt" ],"impact" => [ "id" => "IM","type" => "txt" ],"outcome" => [ "id" => "OC","type" => "txt" ], ] ];