Difference between revisions of "Template:Person"
From Security Vision
(Generated from a page schema) |
|||
(27 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Person | {{Person | ||
− | | | + | |D.O.B.= |
− | | | + | |Studied At= |
+ | |WorkFor= | ||
|Has Position= | |Has Position= | ||
|Keywords= | |Keywords= | ||
− | | | + | |Web= |
+ | |Research Category= | ||
+ | |WikidataID= | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly>{| | + | </noinclude><includeonly> |
− | {{#if:{{{ | + | |
− | {{!}} [[ | + | {| 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.|}}}]] | ||
}} | }} | ||
|- | |- | ||
− | ! | + | ! Studied at |
− | | {{ | + | | {{{Studied At|}}} |
− | |||
|- | |- | ||
− | ! | + | ! Works For |
− | | {{ | + | | {{{WorksFor|}}} |
|- | |- | ||
Line 28: | Line 34: | ||
| {{#arraymap:{{{Keywords|}}}|,|x|[[Keywords::x]]}} | | {{#arraymap:{{{Keywords|}}}|,|x|[[Keywords::x]]}} | ||
− | {{#if:{{{ | + | {{#if:{{{Web|}}}| |
{{!}}- | {{!}}- | ||
! URL | ! URL | ||
− | {{!}} {{#arraymap:{{{ | + | {{!}} {{#arraymap:{{{Web|}}}|,|x|[[Web::x]]}} |
}} | }} | ||
+ | |- | ||
+ | ! Research Category | ||
+ | | {{#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.