Person-contact: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
m (Text replacement - "{{Generator" to "{{Semorg-generator")
 
Line 1: Line 1:
{{Generator
{{Semorg-generator
|form-titles=Person
|form-titles=Person
|form-page-name=<semorg-person-contact[firstname]> <semorg-person-contact[lastname]>
|form-page-name=<semorg-person-contact[firstname]> <semorg-person-contact[lastname]>
|form-unique-number=No
|form-unique-number=No
}}
}}

Latest revision as of 07:57, 24 October 2018


Messages

"semorg-person-contact-template": "semorg-person-contact",
"semorg-person-contact-category": "semorg-person-contact",
"semorg-person-contact-form": "semorg-person-contact",
"semorg-form-person-contact-create-title": "Create Person",
"semorg-form-person-contact-edit-title": "Edit Person",

"semorg-form-person-contact-template": "person-contact",
"semorg-form-person-contact-rows": "",
"semorg-list-person-contact-headers": "",

Form

Form:Semorg-person-contact

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
   |create title={{int:semorg-form-person-contact-create-title}}
   |edit title={{int:semorg-form-person-contact-edit-title}}<span class="d-none">: <page name></span>
   |page name=<semorg-person-contact[firstname]> <semorg-person-contact[lastname]>
}}}

{{semorg-form-template|person-contact}}
 
{{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-contact|}}

Category

Category:Semorg-person-contact

{{semorg-category}}

Template

Template:Semorg-person-contact

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-person-contact-category}}]]{{#semorg-set:person-contact
}}{{#semorg-detail:person-contact}}{{#semorg-table:person-contact
}}</includeonly>

Row Template

Template:Semorg-person-contact-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-person-contact-overview

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:person-contact
  |heading={{int:semorg-person-contact-page-name}}
  |formlink={{#semorg-formlink:person-contact}}
  |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-contact-overview}}

Property Registration

Add the following line to LocalSettings.php:

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