Hypothesis
From SemanticOrganization
Messages
"semorg-hypothesis-template": "semorg-hypothesis",
"semorg-hypothesis-category": "semorg-hypothesis",
"semorg-hypothesis-form": "semorg-hypothesis",
"semorg-hypothesis-page-name": "Hypotheses",
"semorg-hypothesis-entity-name": "Hypothesis",
"semorg-form-hypothesis-create-title": "Create Hypothesis",
"semorg-form-hypothesis-edit-title": "Edit Hypothesis",
"semorg-form-hypothesis-page-name": "Hypotheses",
"semorg-form-hypothesis-template": "hypothesis",
"semorg-form-hypothesis-rows": "system,name,description,plausibility,evidence,validation",
"semorg-list-hypothesis-headers": "hypothesis-plausibility, hypothesis-name, hypothesis-responsible, hypothesis-validation, hypothesis-system, hypothesis-description, hypothesis-relevance, hypothesis-status, hypothesis-evidence",
"semorg-field-hypothesis-description-name": "Description",
"semorg-field-hypothesis-description-parameters": "rows=1",
"semorg-field-hypothesis-evidence-name": "Evidence",
"semorg-field-hypothesis-evidence-parameters": "rows=1",
"semorg-field-hypothesis-name-name": "Name",
"semorg-field-hypothesis-name-parameters": "",
"semorg-field-hypothesis-plausibility-name": "Plausibility",
"semorg-field-hypothesis-plausibility-parameters": "size=3",
"semorg-field-hypothesis-relevance-name": "Relevance",
"semorg-field-hypothesis-relevance-parameters": "",
"semorg-field-hypothesis-relevance-suffix": "%",
"semorg-field-hypothesis-relevance-size": "3",
"semorg-field-hypothesis-responsible-name": "Responsible",
"semorg-field-hypothesis-responsible-parameters": "values from category=semorg-person-user",
"semorg-field-hypothesis-responsible-input-type": "combobox",
"semorg-field-hypothesis-status-name": "Status",
"semorg-field-hypothesis-status-parameters": "",
"semorg-field-hypothesis-status-input-type": "combobox",
"semorg-field-hypothesis-status-values": "under-review, confirmed, falsified, archived",
"semorg-field-hypothesis-system-name": "System",
"semorg-field-hypothesis-system-parameters": "input type=combobox|values from category=semorg-system|mapping property=Semorg-system-name",
"semorg-field-hypothesis-validation-name": "Validation",
"semorg-field-hypothesis-validation-parameters": "rows=1",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
|create title={{int:semorg-form-hypothesis-create-title}}
|edit title={{int:semorg-form-hypothesis-edit-title}}<span class="d-none">: <page name></span>
|page name={{int:semorg-form-hypothesis-page-name}}/<unique number;start=1>
}}}
{{semorg-form-template|hypothesis}}
{{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|hypothesis|}}
Category
{{semorg-category}}
Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-hypothesis-category}}]]{{#semorg-set:hypothesis
|plausibility={{{plausibility|}}}
|name={{{name|}}}
|responsible={{{responsible|}}}
|validation={{{validation|}}}
|system={{{system|}}}
|description={{{description|}}}
|relevance={{{relevance|}}}
|status={{{status|}}}
|evidence={{{evidence|}}}
}}{{#semorg-detail:hypothesis
|heading={{{name|}}}
}}{{#semorg-table:hypothesis
|plausibility={{{plausibility|}}}
|name={{{name|}}}
|responsible={{{responsible|}}}
|validation={{{validation|}}}
|system={{{system|}}}
|description={{{description|}}}
|relevance={{{relevance|}}}
|status={{{status|}}}
|evidence={{{evidence|}}}
}}</includeonly>
Row Template
Template:Semorg-hypothesis-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td>
<td>{{{plausibility|}}}</td>
<td>{{{name|}}}</td>
<td>{{{responsible|}}}</td>
<td>{{{validation|}}}</td>
<td>{{{system|}}}</td>
<td>{{{description|}}}</td>
<td>{{{relevance|}}}</td>
<td>{{{status|}}}</td>
<td>{{{evidence|}}}</td>
{{semorg-showedit
|target={{{target|}}}
}}
</tr></includeonly>
Overview Page Template
Template:Semorg-hypothesis-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:hypothesis
|heading={{int:semorg-hypothesis-page-name}}
|formlink={{#semorg-formlink:hypothesis}}
|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-hypothesis-overview}}
Property Registration
Add the following line to LocalSettings.php:
$wgSemorgAdditionalProperties['hypothesis'] = [ "id" => "HY","fields" => ["plausibility" => [ "id" => "PL","type" => "num" ],"name" => [ "id" => "NA","type" => "txt" ],"responsible" => [ "id" => "RES","type" => "wpg" ],"validation" => [ "id" => "VA","type" => "txt" ],"system" => [ "id" => "SY","type" => "wpg" ],"description" => [ "id" => "DE","type" => "txt" ],"relevance" => [ "id" => "RE","type" => "num" ],"status" => [ "id" => "ST","type" => "txt" ],"evidence" => [ "id" => "EV","type" => "txt" ], ] ];