Difference between revisions of "Template:Person"

From Security Vision
Jump to: navigation, search
(Generated from a page schema)
 
(26 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Person
 
{{Person
|Date of birth=
+
|D.O.B.=
|Institution=
+
|Studied At=
 +
|WorkFor=
 
|Has Position=
 
|Has Position=
 
|Keywords=
 
|Keywords=
|URL=
+
|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>{| class="wikitable"
+
</noinclude><includeonly>
{{#if:{{{Date of birth|}}}|! Date of birth
+
 
{{!}} [[Date of birth::{{{Date of birth|}}}]]
+
{| 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>
 +
|-
 +
{{#if:{{{D.O.B.|}}}|! Date of birth
 +
{{!}} [[D.O.B.::{{{D.O.B.|}}}]]
 
}}
 
}}
 
|-
 
|-
! Current Institution(s)
+
! Studied at
| {{#arraymap:{{{Institution|}}}|,|x|[[Institution::x]]}}
+
|   {{{Studied At|}}}
 
 
 
|-
 
|-
! Has Position
+
! Works For
| {{#arraymap:{{{Has Position|}}}|,|x|[[Has Position::x]]}}
+
|   {{{WorksFor|}}}
  
 
|-
 
|-
Line 29: Line 34:
 
| {{#arraymap:{{{Keywords|}}}|,|x|[[Keywords::x]]}}
 
| {{#arraymap:{{{Keywords|}}}|,|x|[[Keywords::x]]}}
  
{{#if:{{{URL|}}}|
+
{{#if:{{{Web|}}}|
 
{{!}}-
 
{{!}}-
 
! URL
 
! URL
{{!}} {{#arraymap:{{{URL|}}}|,|x|[[URL::x]]}}
+
{{!}} {{#arraymap:{{{Web|}}}|,|x|[[Web::x]]}}
  
 
}}
 
}}
Line 38: 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.