Person-user

From SemanticOrganization
Jump to: navigation, search


Messages

"semorg-person-user-template": "semorg-person-user",
"semorg-person-user-category": "semorg-person-user",
"semorg-person-user-form": "semorg-person-user",
"semorg-form-person-user-create-title": "Create Benutzer",
"semorg-form-person-user-edit-title": "Edit Benutzer", 
"semorg-form-person-user-page-name": "Benutzer",
"semorg-forminput-person-user-placeholder": "Benutzername",
"semorg-form-person-user-template": "person-user",
"semorg-form-person-user-rows": "",
"semorg-list-person-user-headers": "",

Form

Form:Semorg-person-user

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
   |create title={{int:semorg-form-person-user-create-title}}
   |edit title={{int:semorg-form-person-user-edit-title}}<span class="d-none">: <page name></span>
   |page name={{int:semorg-form-person-user-page-name}}/<unique number;start=1>
}}}

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

Category

Category:Semorg-person-user

{{semorg-category}}

Template

Template:Semorg-person-user

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-person-user-category}}]]{{#semorg-set:person-user
}}{{#semorg-detail:person-user
  |heading={{{firstname|}}} {{{lastname|}}}
}}{{#semorg-table:person-user
}}</includeonly>

Row Template

Template:Semorg-person-user-row

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

Overview Page Template

Template:Semorg-person-user-overview

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:person
  |category=semorg-person-user
  |row template=person-user
}}</includeonly>

Overview Page

[[]]

{{semorg-person-user-overview}}

Property Registration

Add the following line to LocalSettings.php:

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