Difference between revisions of "Template:Person"
Jump to navigation
Jump to search
(trying again to reduce whitespace) |
(pluralize some fields) |
||
Line 7: | Line 7: | ||
|Birth date= | |Birth date= | ||
|Death date= | |Death date= | ||
− | | | + | |Countries= |
− | | | + | |Locations= |
− | | | + | |Occupations= |
|Tech areas= | |Tech areas= | ||
|Affiliations= | |Affiliations= | ||
}}</pre> | }}</pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | {{#cargo_declare:_table=Person|Name=List (;) of String (hidden)|Birth_date=Date|Death_date=Date| | + | {{#cargo_declare:_table=Person|Name=List (;) of String (hidden)|Birth_date=Date|Death_date=Date|Countries=Page|Locations=Text|Occupations=List (;) of Page|Tech_areas=List (;) of Page|Affiliations=List (;) of Page}} |
− | </noinclude><includeonly>{{#cargo_store:_table=Person|Name={{{Name|}}}|Birth_date={{{Birth date|}}}|Death_date={{{Death date|}}}| | + | </noinclude><includeonly>{{#cargo_store:_table=Person|Name={{{Name|}}}|Birth_date={{{Birth date|}}}|Death_date={{{Death date|}}}|Countries={{{Countries|}}}|Locations={{{Locations|}}}|Occupations={{{Occupations|}}}|Tech_areas={{{Tech areas|}}}|Affiliations={{{Affiliations|}}} }} {| class="wikitable" |
! Name | ! Name | ||
| {{{Name|}}} | | {{{Name|}}} | ||
Line 25: | Line 25: | ||
| {{{Death date|}}} | | {{{Death date|}}} | ||
|- | |- | ||
− | ! | + | ! Countries |
− | | {{#arraymap:{{{ | + | | {{#arraymap:{{{Countries|}}}|;|x|[[x]]}} |
|- | |- | ||
− | ! | + | ! Locations |
− | | {{{ | + | | {{{Locations|}}} |
|- | |- | ||
− | ! | + | ! Occupations |
− | | {{#arraymap:{{{ | + | | {{#arraymap:{{{Occupations|}}}|;|x|{{#formredlink:form=Techtype|target=x}} }} |
|- | |- | ||
! Tech areas | ! Tech areas |
Revision as of 11:54, 24 May 2018
This is the "Person" template. It should be called in the following format:
{{Person |Name= |Birth date= |Death date= |Countries= |Locations= |Occupations= |Tech areas= |Affiliations= }}
Edit the page to see the template text. This template defines the table "Person". View table.