Manual
From SemanticOrganization
Messages
"semorg-manual-template": "semorg-manual", "semorg-manual-category": "semorg-manual", "semorg-manual-form": "semorg-manual", "semorg-manual-page-name": "Manuals", "semorg-manual-entity-name": "Manual", "semorg-form-manual-create-title": "Create Manual", "semorg-form-manual-edit-title": "Edit Manual", "semorg-form-manual-page-name": "Manuals", "semorg-forminput-manual-placeholder": "Name of manual entry", "semorg-form-manual-template": "manual", "semorg-form-manual-rows": "title,summary,role", "semorg-list-manual-headers": "manual-title,manual-summary,manual-role", "semorg-field-manual-archived-name": "", "semorg-field-manual-archived-parameters": "", "semorg-field-manual-checked-name": "Checked", "semorg-field-manual-checked-parameters": "", "semorg-field-manual-role-name": "Responsible role", "semorg-field-manual-role-parameters": "input type=combobox|values from category=semorg-role|mapping property=semorg-role-name", "semorg-field-manual-summary-name": "Summary", "semorg-field-manual-summary-parameters": "input type=textarea|cols=60|autogrow|rows=2", "semorg-field-manual-tag-name": "Tags", "semorg-field-manual-tag-parameters": "input type=tokens|values from property=semorg-manual-tag", "semorg-field-manual-title-name": "Title", "semorg-field-manual-title-parameters": "", "semorg-field-manual-up-to-date-date-name": "Last Check", "semorg-field-manual-up-to-date-date-parameters": "", "semorg-field-manual-up-to-date-person-name": "", "semorg-field-manual-up-to-date-person-parameters": "",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
|create title={{int:semorg-form-manual-create-title}}
|edit title={{int:semorg-form-manual-edit-title}}<span class="d-none">: <page name></span>
|page name={{int:semorg-form-manual-page-name}}/<unique number;start=1>
}}}
{{semorg-form-template|manual}}
{{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|manual|}}
Category
{{semorg-category}}
Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-manual-category}}]]{{#semorg-set:manual
|title={{{title|}}}
|archived={{{archived|}}}
|role={{{role|}}}
|up-to-date-person={{{up-to-date-person|}}}
|checked={{{checked|}}}
|up-to-date-date={{{up-to-date-date|}}}
|summary={{{summary|}}}
|tag={{{tag|}}}
}}{{#semorg-detail:manual}}{{#semorg-table:manual
|title={{{title|}}}
|archived={{{archived|}}}
|role={{{role|}}}
|up-to-date-person={{{up-to-date-person|}}}
|checked={{{checked|}}}
|up-to-date-date={{{up-to-date-date|}}}
|summary={{{summary|}}}
|tag={{{tag|}}}
}}</includeonly>
Row Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td>
<td>{{{title|}}}</td>
<td>{{{archived|}}}</td>
<td>{{{role|}}}</td>
<td>{{{up-to-date-person|}}}</td>
<td>{{{checked|}}}</td>
<td>{{{up-to-date-date|}}}</td>
<td>{{{summary|}}}</td>
<td>{{{tag|}}}</td>
{{semorg-showedit
|target={{{target|}}}
}}
</tr></includeonly>
Overview Page Template
Template:Semorg-manual-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:manual
|heading={{int:semorg-manual-page-name}}
|formlink={{#semorg-formlink:manual}}
|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-manual-overview}}
Property Registration
Add the following line to LocalSettings.php:
$wgSemorgAdditionalProperties['manual'] = [ "id" => "MA","fields" => ["title" => [ "id" => "TI","type" => "txt" ],"archived" => [ "id" => "AR","type" => "boo" ],"role" => [ "id" => "RO","type" => "wpg" ],"up-to-date-person" => [ "id" => "UP","type" => "wpg" ],"checked" => [ "id" => "CH","type" => "boo" ],"up-to-date-date" => [ "id" => "UD","type" => "dat" ],"summary" => [ "id" => "SU","type" => "txt" ],"tag" => [ "id" => "TA","type" => "txt" ], ] ];