Difference between revisions of "Template:Person"

From Security Vision
Jump to: navigation, search
 
(13 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
{{Person
 
{{Person
 
|D.O.B.=
 
|D.O.B.=
|Institution=
+
|Studied At=
|WorksFor=
+
|WorkFor=
 +
|Has Position=
 
|Keywords=
 
|Keywords=
 
|Web=
 
|Web=
 
|Research Category=
 
|Research Category=
 +
|WikidataID=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
</noinclude><includeonly>
 +
 
 +
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;display:none;"
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
|-
 
|-
Line 20: Line 24:
 
}}
 
}}
 
|-
 
|-
! Current Institution(s)
+
! Studied at
| {{#arraymap:{{{Institution|}}}|,|x|[[Institution::x]]}}
+
|   {{{Studied At|}}}
 
 
 
|-
 
|-
 
! Works For
 
! Works For
 
|  {{{WorksFor|}}}
 
|  {{{WorksFor|}}}
{{#ask:
+
 
[[Is employment for::{{PAGENAME}}]]
 
|?Institution=Institution
 
|?Position=Position
 
|?Start Date=Start Date
 
|?End Date=End Date
 
|mainlabel=-
 
}}
 
 
|-
 
|-
 
! Keywords
 
! Keywords
Line 47: Line 43:
 
! Research Category
 
! Research Category
 
| {{#arraymap:{{{Research Category|}}}|,|x|[[Research Category::x]]}}
 
| {{#arraymap:{{{Research Category|}}}|,|x|[[Research Category::x]]}}
 +
|-
 +
! Wikidata ID
 +
| [[WikidataID::{{{WikidataID|}}}]]
 +
|-
 
|}
 
|}
  
 +
<!--When using subproperty instead of record: {{#ask:
 +
[[Is employment for::{{PAGENAME}}]]
 +
|?Institution=Institution
 +
|?Position=Position
 +
|?Start Date=Start Date
 +
|?End Date=End Date
 +
|mainlabel=-
 +
}}-->
 +
 +
 +
{{#set:Is unknown={{#ifeq: {{#explode:{{PAGENAME}}| |0}}|Unknown|true|false}}}}
  
 
[[Category:Person]]
 
[[Category:Person]]
 +
 +
{{Special:Browse/{{FULLPAGENAME}}}}
 +
 +
 
</includeonly>
 
</includeonly>

Latest revision as of 17:39, 20 January 2022

This is the "Person" template. It should be called in the following format:

{{Person
|D.O.B.=
|Studied At=
|WorkFor=
|Has Position=
|Keywords=
|Web=
|Research Category=
|WikidataID=
}}

Edit the page to see the template text.