Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Form:Person/composite: Difference between revisions

From Miniscope
SemanticSchemas: Auto-generated form
 
SemanticSchemas: Auto-generated form
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
<!-- Composite form slot for Person -->
<!-- Composite form slot for Person -->
</noinclude><includeonly>
</noinclude><includeonly>
<h2>Person</h2>
{{#if:{{{subobject|}}}|<h3>Person</h3>|<h2>Person</h2>}}


<nowiki>{{{for template|Person}}}</nowiki>
{{#if:{{{subobject|}}}
 
|{{#if:{{{required|}}}
'''Required fields:'''
|<nowiki>{{{for template|Person/subobject|multiple|minimum instances=1}}}</nowiki>
 
|<nowiki>{{{for template|Person/subobject|multiple}}}</nowiki>
{| class="formtable"
}}
|-
|<nowiki>{{{for template|Person}}}</nowiki>
! Email<span style="color:red;"> *</span>: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">A person&#039;s email.</p>
}}
| <nowiki>{{{field|has_email|property=Has email|input type=text|size=60|mandatory=true}}}</nowiki>
|-
! First name<span style="color:red;"> *</span>: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">The first name of a person</p>
| <nowiki>{{{field|has_first_name|property=Has first name|input type=text|size=60|mandatory=true}}}</nowiki>
|-
! Institutional Affiliation<span style="color:red;"> *</span>: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">University/organization/company affiliation of a person.</p>
| <nowiki>{{{field|has_institutional_affiliation|property=Has institutional affiliation|input type=tokens|multiple|size=60|mandatory=true}}}</nowiki>
|-
! Last name<span style="color:red;"> *</span>: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">The last name of a person.</p>
| <nowiki>{{{field|has_last_name|property=Has last name|input type=text|size=60|mandatory=true}}}</nowiki>
|-
! Role<span style="color:red;"> *</span>: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">A person&#039;s role in a lab/organization/company.</p>
| <nowiki>{{{field|has_role|property=Has role|input type=text|size=60|mandatory=true}}}</nowiki>
|}
 
'''Optional fields:'''
 
{| class="formtable"
|-
! Collaborator: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">Groups or person(s) collaborating with another group or person(s).</p>
| <nowiki>{{{field|has_collaborator|property=Has collaborator|input type=tokens|multiple|size=60}}}</nowiki>
|-
! Lab Affiliation: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">A person&#039;s lab affiliation (ie the lab where they conduct their research).</p>
| <nowiki>{{{field|has_lab_affiliation|property=Has lab affiliation|input type=text|size=60}}}</nowiki>
|-
! Preferred Email: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">A person&#039;s prefered email, if different from their primary email.</p>
| <nowiki>{{{field|has_preferred_email|property=Has preferred email|input type=text|size=60}}}</nowiki>
|-
! Publication: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">A publication associate with a person, project, grant etc.</p>
| <nowiki>{{{field|has_publication|property=Has publication|input type=tokens|multiple|size=60}}}</nowiki>
|-
! Social Media: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">A person or group&#039;s social media account.</p>
| <nowiki>{{{field|has_social_media|property=Has social media|input type=tokens|multiple|size=60}}}</nowiki>
|-
! Website: <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">A website associated with a person, project etc.</p>
| <nowiki>{{{field|has_website|property=Has website|input type=tokens|multiple|size=60}}}</nowiki>
|-
! Miniscope(s): <br><p class="pfFieldDescription" style="font-size:0.7em; color:gray;">The miniscope version used by a person, project, publication, grant etc.</p>
| <nowiki>{{{field|uses_miniscope|property=Uses miniscope|input type=tokens|multiple|values from category=Miniscope|autocomplete=on}}}</nowiki>
|}


<nowiki>{{{end template}}}</nowiki>
<nowiki>{{{end template}}}</nowiki>


</includeonly>
</includeonly>

Latest revision as of 07:25, 27 April 2026