Difference between revisions of "Template:Person"

From Inventing aviation
Jump to navigation Jump to search
(correction I think)
(add Wikidata Qid)
Line 12: Line 12:
 
|Tech areas=
 
|Tech areas=
 
|Affiliations=
 
|Affiliations=
 +
|Qid=
 
}}</pre>
 
}}</pre>
 
Edit the page to see the template text.
 
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}}
 
{{#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}}
</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|}}} }} {| class="wikitable"
+
</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|}}}|Qid={{{Qid|}}} }} {| class="wikitable"
 
! Names
 
! Names
 
| {{{Names|}}}
 
| {{{Names|}}}
Line 39: Line 40:
 
! Affiliations
 
! Affiliations
 
| {{#arraymap:{{{Affiliations|}}}|;|x|[[x]]}}
 
| {{#arraymap:{{{Affiliations|}}}|;|x|[[x]]}}
 +
|-
 +
! Qid
 +
| {{{Qid|}}}
 
|}  
 
|}  
 
[[Category:Person]]
 
[[Category:Person]]

Revision as of 15:05, 31 January 2020

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=
|Qid=
}}

Edit the page to see the template text. This template defines the table "Person". View table.