Person-legal
From SemanticOrganization
Messages
"semorg-person-legal-template": "semorg-person-legal", "semorg-person-legal-category": "semorg-person-legal", "semorg-person-legal-form": "semorg-person-legal", "semorg-form-person-legal-create-title": "Create Institution", "semorg-form-person-legal-edit-title": "Edit Institution", "semorg-forminput-person-legal-placeholder": "Name of the institution", "semorg-form-person-legal-template": "person-legal", "semorg-form-person-legal-rows": "", "semorg-list-person-legal-headers": "",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-person-legal-create-title}} |edit title={{int:semorg-form-person-legal-edit-title}}<span class="d-none">: <page name></span> |page name=<Semorg-person-legal[name]> }}} {{semorg-form-template|person-legal}} {{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|person-legal|}}
Category
{{semorg-category}}
Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-person-legal-category}}]]{{#semorg-set:person-legal }}{{#semorg-detail:person-legal}}{{#semorg-table:person-legal }}</includeonly>
Row Template
Template:Semorg-person-legal-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template
Template:Semorg-person-legal-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:person |category=semorg-person-legal |row template=person-legal }}</includeonly>
Overview Page
[[]]
{{semorg-person-legal-overview}}
Property Registration
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['person-legal'] = [ "id" => "","fields" => [ ] ];