Difference between revisions of "Template:Person"
Jump to navigation
Jump to search
m |
(don't try to use Form:Occupations (although we could try that again)) |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Person | {{Person | ||
− | | | + | |Names= |
|Birth date= | |Birth date= | ||
|Death date= | |Death date= | ||
− | | | + | |Countries= |
− | | | + | |Locations= |
− | | | + | |Occupations= |
|Tech areas= | |Tech areas= | ||
|Affiliations= | |Affiliations= | ||
+ | |Wikidata id= | ||
+ | }}</pre> | ||
+ | Edit the page to see the template text. | ||
+ | {{#cargo_declare:_table=Person | ||
+ | |Names=List (;) of String (hidden) | ||
+ | |Birth_date=Date|Death_date=Date | ||
+ | |Countries=List (;) of Page | ||
+ | |Locations=Text | ||
+ | |Occupations=List (;) of Page | ||
+ | |Tech_areas=List (;) of Page | ||
+ | |Affiliations=List (;) of Page | ||
+ | |Wikidata_id=Text | ||
+ | }} | ||
+ | </noinclude><includeonly> | ||
+ | {{#cargo_store:_table=Person | ||
+ | |Names={{{Names|}}} | ||
+ | |Birth_date={{{Birth date|}}} | ||
+ | |Death_date={{{Death date|}}} | ||
+ | |Countries={{{Countries|}}} | ||
+ | |Locations={{{Locations|}}} | ||
+ | |Occupations={{{Occupations|}}} | ||
+ | |Tech_areas={{{Tech areas|}}} | ||
+ | |Affiliations={{{Affiliations|}}} | ||
+ | |Wikidata_id={{{Wikidata id|}}} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
− | ! | + | ! Names |
− | | {{{ | + | | {{{Names|}}} |
|- | |- | ||
! Birth date | ! Birth date | ||
Line 34: | Line 47: | ||
| {{{Death date|}}} | | {{{Death date|}}} | ||
|- | |- | ||
− | ! | + | ! Countries |
− | | {{{ | + | | {{#arraymap:{{{Countries|}}}|;|x|[[x]]}} |
|- | |- | ||
− | ! | + | ! Locations |
− | | {{{ | + | | {{{Locations|}}} |
|- | |- | ||
− | ! | + | ! Occupations |
− | | {{{ | + | | {{#arraymap:{{{Occupations|}}}|;|x|[[x]] }} |
|- | |- | ||
! Tech areas | ! Tech areas | ||
− | | {{#arraymap:{{{Tech areas|}}}|;|x| | + | | {{#arraymap:{{{Tech areas|}}}|;|x|{{#formredlink:form=Techtype|target=x}} }} |
|- | |- | ||
! Affiliations | ! Affiliations | ||
| {{#arraymap:{{{Affiliations|}}}|;|x|[[x]]}} | | {{#arraymap:{{{Affiliations|}}}|;|x|[[x]]}} | ||
− | |} | + | |- |
− | + | ! Wikidata id | |
+ | | {{#if: {{{Wikidata id|}}} | [[w:d:{{{Wikidata id}}}|{{{Wikidata id}}}]] }} | ||
+ | |} | ||
+ | [[Category:Person]] | ||
+ | </includeonly> | ||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
− | |||
− | |||
− |
Latest revision as of 18:18, 29 December 2021
This is the "Person" template. It should be called in the following format:
{{Person |Names= |Birth date= |Death date= |Countries= |Locations= |Occupations= |Tech areas= |Affiliations= |Wikidata id= }}
Edit the page to see the template text. This template defines the table "Person". View table.