Template:Person/display: Difference between revisions
Template page
More actions
SemanticSchemas: Update static display template for Person |
SemanticSchemas: Update static display template for Person |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
<includeonly> | <includeonly> | ||
{| class="wikitable source-semanticschemas" | {| class="wikitable source-semanticschemas" | ||
|- | |- | ||
! colspan="2" style="background-color: #eaecf0; text-align: center;" | Person <span style="float: right; font-weight: normal; font-size: 0.8em;">[[Special:FormEdit/Person/{{FULLPAGENAME}}|edit]]</span> | |||
{{#if:{{{has_first_name|}}}| | |||
{{!}}- | |||
! First name | ! First name | ||
{{!}} {{Property/Default | value={{{has_first_name|}}} }} | |||
|- | }} | ||
{{#if:{{{has_last_name|}}}| | |||
{{!}}- | |||
! Last name | ! Last name | ||
| {{ | {{!}} {{Property/Default | value={{{has_last_name|}}} }} | ||
}} | |||
{{#if:{{{has_email|}}}| | |||
{{!}}- | |||
! Email | |||
{{!}} {{Property/Default | value={{{has_email|}}} }} | |||
}} | |||
{{#if:{{{has_institutional_affiliation|}}}| | |||
{{!}}- | |||
! Institutional Affiliation | |||
{{!}} {{Property/Default | value={{{has_institutional_affiliation|}}} }} | |||
}} | |||
{{#if:{{{has_role|}}}| | |||
{{!}}- | |||
! Role | |||
{{!}} {{Property/Default | value={{{has_role|}}} }} | |||
}} | |||
{{#if:{{{has_preferred_email|}}}| | |||
{{!}}- | |||
! Preferred Email | |||
{{!}} {{Property/Default | value={{{has_preferred_email|}}} }} | |||
}} | |||
{{#if:{{{has_lab_affiliation|}}}| | |||
{{!}}- | |||
! Lab Affiliation | |||
{{!}} {{Property/Default | value={{{has_lab_affiliation|}}} }} | |||
}} | |||
{{#if:{{{has_website|}}}| | |||
{{!}}- | |||
! Website | |||
{{!}} {{Property/Default | value={{{has_website|}}} }} | |||
}} | |||
{{#if:{{{has_social_media|}}}| | |||
{{!}}- | |||
! Social Media | |||
{{!}} {{Property/Default | value={{{has_social_media|}}} }} | |||
}} | |||
{{#if:{{{has_collaborator|}}}| | |||
{{!}}- | |||
! Collaborator | |||
{{!}} {{Property/Default | value={{{has_collaborator|}}} }} | |||
}} | |||
{{#if:{{{uses_miniscope|}}}| | |||
{{!}}- | |||
! Miniscope(s) | |||
{{!}} {{Property/Page | value={{{uses_miniscope|}}} }} | |||
}} | |||
{{#if:{{{has_publication|}}}| | |||
{{!}}- | |||
! Publication | |||
{{!}} {{Property/Default | value={{{has_publication|}}} }} | |||
}} | |||
|} | |} | ||
[[Category:Person]] | |||
[[Category:SemanticSchemas-managed]] | |||
</includeonly><noinclude>[[Category:SemanticSchemas-managed-display]]</noinclude> | </includeonly><noinclude>[[Category:SemanticSchemas-managed-display]]</noinclude> | ||