Person-legal: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
{{Semorg-generator
{{Semorg-generator
|form-titles=Institution
|form-titles=Institution
|form-page-name=<Semorg-person-legal[name]>
|form-unique-number=No
|form-unique-number=No
|placeholder=Name of the institution
|placeholder=Name of the institution

Revision as of 09:04, 20 February 2019


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

Form:Semorg-person-legal

<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

Category:Semorg-person-legal

{{semorg-category}}

Template

Template:Semorg-person-legal

<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" => [ ] ];