Person-legal: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
m (Text replacement - "|field-" to "|")
No edit summary
Line 1: Line 1:
{{Semorg-generator
{{Semorg-generator
|template-id=P
|template-id=P
|template-fields={{Semorg-generator-field
|form-unique-number=No
|id=form
|property-id=LF
}}{{Semorg-generator-field
|id=registry
|property-id=LR
}}
}}
}}

Revision as of 08:51, 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 Person-legal",
"semorg-form-person-legal-edit-title": "Edit Person-legal",

"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-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-legal
  |heading={{int:semorg-person-legal-page-name}}
  |formlink={{#semorg-forminput:person-legal}}
  |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-person-legal-overview}}

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['person-legal'] = [ "id" => "P","fields" => [ ] ];