Fields: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=== Person === | === Person === | ||
{{fields|template=person|fields=firstname,lastname,prefix,suffix,workstreet,workpostalcode,worklocality,email,workphone,homepage,note,organization,gender}} | {{fields | ||
|template=person | |||
|fields=firstname, lastname, prefix,suffix,workstreet,workpostalcode,worklocality,email,workphone,homepage,note,organization,gender | |||
}} | |||
{{combofields|template=person|fields=fullname,address}} | {{combofields | ||
|template=person | |||
|fields=fullname,address | |||
}} | |||
==== Person Reference ==== | |||
{{fields | |||
|template=person-ref | |||
|fields=name,role,tag | |||
}} | |||
{{combofields | |||
|template=person-ref | |||
|fields=person-ref | |||
}} |
Revision as of 17:47, 5 January 2018
Person
Field | Name | Parameters |
---|---|---|
firstname | First Name | input type=text|size=20 |
lastname | Last Name | input type=text|size=20 |
prefix | Title (prefix) | input type=text|size=5 |
suffix | Title (suffix) | input type=text|size=5 |
workstreet | Street | input type=text|size=20 |
workpostalcode | Postal Code | input type=text |
worklocality | Locality | input type=text|size=20 |
list | ||
workphone | Phone Number | list |
homepage | Homepage | ⧼semorg-field-person-homepage-parameters⧽ |
note | Note | rows=1 |
organization | Organization | ⧼semorg-field-person-organization-parameters⧽ |
gender | Gender | mapping template=semorg-mapping-gender|default=unknown|mandatory |
Field | Name | Fields |
---|---|---|
fullname | Name | prefix,firstname,lastname,suffix |
address | Address | workstreet,workpostalcode,worklocality,workcountry |
Person Reference
Field | Name | Parameters |
---|---|---|
name | Name | input type=combobox|values from category=semorg-person|mapping property=Semorg-person-name|size=50 |
role | Role | input type=text with autocomplete|values from property=semorg-person-ref-role|size=50 |
tag | Tags | input type=tokens|list|values from property=semorg-person-ref-tag|size=20 |
Field | Name | Fields |
---|---|---|
person-ref | - | name,role,tag |