Person

From SemanticOrganization
Jump to: navigation, search


Messages

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

"semorg-form-person-template": "person",
"semorg-form-person-rows": "email, workaddress, mentor, vat-number, personnel-number, birthplace, gender, tax-number, picture, prefix, personnel-start, suffix, legal-registry, lastname, note, workstreet, firstname, workcountry, membership-number, category, ref, membership, target-group, topic, worklocality, membership-end, children, workpostalcode, membership-start, birthday, iban, personnel, homepage, profession, name, legal-form, ssn, acronym, tag, personnel-end, organization, workphone",
"semorg-list-person-headers": "person-email, person-workaddress, person-mentor, person-vat-number, person-personnel-number, person-birthplace, person-gender, person-tax-number, person-picture, person-prefix, person-personnel-start, person-suffix, person-legal-registry, person-lastname, person-note, person-workstreet, person-firstname, person-workcountry, person-membership-number, person-category, person-ref, person-membership, person-target-group, person-topic, person-worklocality, person-membership-end, person-children, person-workpostalcode, person-membership-start, person-birthday, person-iban, person-personnel, person-homepage, person-profession, person-name, person-legal-form, person-ssn, person-acronym, person-tag, person-personnel-end, person-organization, person-workphone",
"semorg-field-person-acronym-name": "Acronym", 
"semorg-field-person-acronym-parameters": "size=10",
"semorg-field-person-birthday-name": "", 
"semorg-field-person-birthday-parameters": "",
"semorg-field-person-birthplace-name": "", 
"semorg-field-person-birthplace-parameters": "",
"semorg-field-person-category-name": "Category", 
"semorg-field-person-category-parameters": "",
"semorg-field-person-children-name": "Children", 
"semorg-field-person-children-parameters": "",
"semorg-field-person-email-name": "", 
"semorg-field-person-email-parameters": "",
"semorg-field-person-firstname-name": "", 
"semorg-field-person-firstname-parameters": "",
"semorg-field-person-gender-name": "", 
"semorg-field-person-gender-parameters": "",
"semorg-field-person-homepage-name": "", 
"semorg-field-person-homepage-parameters": "",
"semorg-field-person-iban-name": "", 
"semorg-field-person-iban-parameters": "",
"semorg-field-person-lastname-name": "", 
"semorg-field-person-lastname-parameters": "",
"semorg-field-person-legal-form-name": "", 
"semorg-field-person-legal-form-parameters": "",
"semorg-field-person-legal-registry-name": "", 
"semorg-field-person-legal-registry-parameters": "",
"semorg-field-person-membership-name": "", 
"semorg-field-person-membership-parameters": "",
"semorg-field-person-membership-end-name": "", 
"semorg-field-person-membership-end-parameters": "",
"semorg-field-person-membership-number-name": "", 
"semorg-field-person-membership-number-parameters": "",
"semorg-field-person-membership-start-name": "", 
"semorg-field-person-membership-start-parameters": "",
"semorg-field-person-mentor-name": "Mentor", 
"semorg-field-person-mentor-parameters": "", 
"semorg-field-person-mentor-input-type": "combobox",
"semorg-field-person-name-name": "", 
"semorg-field-person-name-parameters": "",
"semorg-field-person-note-name": "", 
"semorg-field-person-note-parameters": "",
"semorg-field-person-organization-name": "", 
"semorg-field-person-organization-parameters": "",
"semorg-field-person-personnel-name": "", 
"semorg-field-person-personnel-parameters": "",
"semorg-field-person-personnel-end-name": "", 
"semorg-field-person-personnel-end-parameters": "",
"semorg-field-person-personnel-number-name": "", 
"semorg-field-person-personnel-number-parameters": "",
"semorg-field-person-personnel-start-name": "", 
"semorg-field-person-personnel-start-parameters": "",
"semorg-field-person-picture-name": "Picture", 
"semorg-field-person-picture-parameters": "",
"semorg-field-person-prefix-name": "", 
"semorg-field-person-prefix-parameters": "",
"semorg-field-person-profession-name": "profession", 
"semorg-field-person-profession-parameters": "",
"semorg-field-person-ref-name": "", 
"semorg-field-person-ref-parameters": "",
"semorg-field-person-ssn-name": "", 
"semorg-field-person-ssn-parameters": "",
"semorg-field-person-suffix-name": "", 
"semorg-field-person-suffix-parameters": "",
"semorg-field-person-tag-name": "Tags", 
"semorg-field-person-tag-parameters": "input type=tokens|values from property=Semorg-person-tag",
"semorg-field-person-target-group-name": "Target Group", 
"semorg-field-person-target-group-parameters": "",
"semorg-field-person-tax-number-name": "Tax number", 
"semorg-field-person-tax-number-parameters": "",
"semorg-field-person-topic-name": "Topic", 
"semorg-field-person-topic-parameters": "input type=checkboxes|values from category=semorg-topic|mapping property=Semorg-topic-name|list",
"semorg-field-person-vat-number-name": "VAT identification number", 
"semorg-field-person-vat-number-parameters": "",
"semorg-field-person-workaddress-name": "", 
"semorg-field-person-workaddress-parameters": "",
"semorg-field-person-workcountry-name": "", 
"semorg-field-person-workcountry-parameters": "",
"semorg-field-person-worklocality-name": "", 
"semorg-field-person-worklocality-parameters": "",
"semorg-field-person-workphone-name": "", 
"semorg-field-person-workphone-parameters": "",
"semorg-field-person-workpostalcode-name": "", 
"semorg-field-person-workpostalcode-parameters": "",
"semorg-field-person-workstreet-name": "", 
"semorg-field-person-workstreet-parameters": "",

Form

Form:Semorg-person

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

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

Category

Category:Semorg-person

{{semorg-category}}

Template

Template:Semorg-person

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-person-category}}]]{{#semorg-set:person 
  |email={{{email|}}} 
  |workaddress={{{workaddress|}}} 
  |mentor={{{mentor|}}} 
  |vat-number={{{vat-number|}}} 
  |personnel-number={{{personnel-number|}}} 
  |birthplace={{{birthplace|}}} 
  |gender={{{gender|}}} 
  |tax-number={{{tax-number|}}} 
  |picture={{{picture|}}} 
  |prefix={{{prefix|}}} 
  |personnel-start={{{personnel-start|}}} 
  |suffix={{{suffix|}}} 
  |legal-registry={{{legal-registry|}}} 
  |lastname={{{lastname|}}} 
  |note={{{note|}}} 
  |workstreet={{{workstreet|}}} 
  |firstname={{{firstname|}}} 
  |workcountry={{{workcountry|}}} 
  |membership-number={{{membership-number|}}} 
  |category={{{category|}}} 
  |ref={{{ref|}}} 
  |membership={{{membership|}}} 
  |target-group={{{target-group|}}} 
  |topic={{{topic|}}} 
  |worklocality={{{worklocality|}}} 
  |membership-end={{{membership-end|}}} 
  |children={{{children|}}} 
  |workpostalcode={{{workpostalcode|}}} 
  |membership-start={{{membership-start|}}} 
  |birthday={{{birthday|}}} 
  |iban={{{iban|}}} 
  |personnel={{{personnel|}}} 
  |homepage={{{homepage|}}} 
  |profession={{{profession|}}} 
  |name={{{name|}}} 
  |legal-form={{{legal-form|}}} 
  |ssn={{{ssn|}}} 
  |acronym={{{acronym|}}} 
  |tag={{{tag|}}} 
  |personnel-end={{{personnel-end|}}} 
  |organization={{{organization|}}} 
  |workphone={{{workphone|}}}
}}{{#semorg-detail:person}}{{#semorg-table:person 
  |email={{{email|}}} 
  |workaddress={{{workaddress|}}} 
  |mentor={{{mentor|}}} 
  |vat-number={{{vat-number|}}} 
  |personnel-number={{{personnel-number|}}} 
  |birthplace={{{birthplace|}}} 
  |gender={{{gender|}}} 
  |tax-number={{{tax-number|}}} 
  |picture={{{picture|}}} 
  |prefix={{{prefix|}}} 
  |personnel-start={{{personnel-start|}}} 
  |suffix={{{suffix|}}} 
  |legal-registry={{{legal-registry|}}} 
  |lastname={{{lastname|}}} 
  |note={{{note|}}} 
  |workstreet={{{workstreet|}}} 
  |firstname={{{firstname|}}} 
  |workcountry={{{workcountry|}}} 
  |membership-number={{{membership-number|}}} 
  |category={{{category|}}} 
  |ref={{{ref|}}} 
  |membership={{{membership|}}} 
  |target-group={{{target-group|}}} 
  |topic={{{topic|}}} 
  |worklocality={{{worklocality|}}} 
  |membership-end={{{membership-end|}}} 
  |children={{{children|}}} 
  |workpostalcode={{{workpostalcode|}}} 
  |membership-start={{{membership-start|}}} 
  |birthday={{{birthday|}}} 
  |iban={{{iban|}}} 
  |personnel={{{personnel|}}} 
  |homepage={{{homepage|}}} 
  |profession={{{profession|}}} 
  |name={{{name|}}} 
  |legal-form={{{legal-form|}}} 
  |ssn={{{ssn|}}} 
  |acronym={{{acronym|}}} 
  |tag={{{tag|}}} 
  |personnel-end={{{personnel-end|}}} 
  |organization={{{organization|}}} 
  |workphone={{{workphone|}}}
}}</includeonly>

Row Template

Template:Semorg-person-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td> 
<td>{{{email|}}}</td> 
<td>{{{workaddress|}}}</td> 
<td>{{{mentor|}}}</td> 
<td>{{{vat-number|}}}</td> 
<td>{{{personnel-number|}}}</td> 
<td>{{{birthplace|}}}</td> 
<td>{{{gender|}}}</td> 
<td>{{{tax-number|}}}</td> 
<td>{{{picture|}}}</td> 
<td>{{{prefix|}}}</td> 
<td>{{{personnel-start|}}}</td> 
<td>{{{suffix|}}}</td> 
<td>{{{legal-registry|}}}</td> 
<td>{{{lastname|}}}</td> 
<td>{{{note|}}}</td> 
<td>{{{workstreet|}}}</td> 
<td>{{{firstname|}}}</td> 
<td>{{{workcountry|}}}</td> 
<td>{{{membership-number|}}}</td> 
<td>{{{category|}}}</td> 
<td>{{{ref|}}}</td> 
<td>{{{membership|}}}</td> 
<td>{{{target-group|}}}</td> 
<td>{{{topic|}}}</td> 
<td>{{{worklocality|}}}</td> 
<td>{{{membership-end|}}}</td> 
<td>{{{children|}}}</td> 
<td>{{{workpostalcode|}}}</td> 
<td>{{{membership-start|}}}</td> 
<td>{{{birthday|}}}</td> 
<td>{{{iban|}}}</td> 
<td>{{{personnel|}}}</td> 
<td>{{{homepage|}}}</td> 
<td>{{{profession|}}}</td> 
<td>{{{name|}}}</td> 
<td>{{{legal-form|}}}</td> 
<td>{{{ssn|}}}</td> 
<td>{{{acronym|}}}</td> 
<td>{{{tag|}}}</td> 
<td>{{{personnel-end|}}}</td> 
<td>{{{organization|}}}</td> 
<td>{{{workphone|}}}</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-person-overview

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

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['person'] = [ "id" => "P","fields" => ["email" => [ "id" => "EM","type" => "ema" ],"workaddress" => [ "id" => "WAD","type" => "txt" ],"mentor" => [ "id" => "MT","type" => "wpg" ],"vat-number" => [ "id" => "VAT","type" => "txt" ],"personnel-number" => [ "id" => "PEN","type" => "num" ],"birthplace" => [ "id" => "BP","type" => "txt" ],"gender" => [ "id" => "GD","type" => "txt" ],"tax-number" => [ "id" => "TN","type" => "txt" ],"picture" => [ "id" => "PI","type" => "wpg" ],"prefix" => [ "id" => "PF","type" => "txt" ],"personnel-start" => [ "id" => "PES","type" => "dat" ],"suffix" => [ "id" => "SF","type" => "txt" ],"legal-registry" => [ "id" => "LR","type" => "txt" ],"lastname" => [ "id" => "LN","type" => "txt" ],"note" => [ "id" => "NT","type" => "txt" ],"workstreet" => [ "id" => "WST","type" => "txt" ],"firstname" => [ "id" => "FN","type" => "txt" ],"workcountry" => [ "id" => "WCO","type" => "txt" ],"membership-number" => [ "id" => "MEN","type" => "num" ],"category" => [ "id" => "CA","type" => "txt" ],"ref" => [ "id" => "RF","type" => "wpg" ],"membership" => [ "id" => "ME","type" => "boo" ],"target-group" => [ "id" => "TG","type" => "wpg" ],"topic" => [ "id" => "TO","type" => "wpg" ],"worklocality" => [ "id" => "WLO","type" => "txt" ],"membership-end" => [ "id" => "MEE","type" => "dat" ],"children" => [ "id" => "CH","type" => "txt" ],"workpostalcode" => [ "id" => "WPC","type" => "txt" ],"membership-start" => [ "id" => "MES","type" => "dat" ],"birthday" => [ "id" => "BD","type" => "dat" ],"iban" => [ "id" => "IB","type" => "txt" ],"personnel" => [ "id" => "PE","type" => "boo" ],"homepage" => [ "id" => "HP","type" => "uri" ],"profession" => [ "id" => "PR","type" => "txt" ],"name" => [ "id" => "NA","type" => "txt" ],"legal-form" => [ "id" => "LF","type" => "txt" ],"ssn" => [ "id" => "SS","type" => "txt" ],"acronym" => [ "id" => "AC","type" => "txt" ],"tag" => [ "id" => "TA","type" => "txt" ],"personnel-end" => [ "id" => "PEE","type" => "dat" ],"organization" => [ "id" => "OR","type" => "txt" ],"workphone" => [ "id" => "WPH","type" => "tel" ], ] ];