Template:Person: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
|Names=
|Names=
|Birth date=
|Birth date=
|Birth place=
|Death date=
|Death date=
|Death place=
|Countries=
|Countries=
|Affiliations=
|Affiliations=
Line 14: Line 16:
{{#cargo_declare:_table=Persons
{{#cargo_declare:_table=Persons
|Names=List (;) of String (hidden)
|Names=List (;) of String (hidden)
|Birth_date=Date|Death_date=Date
|Birth_date=Date
|Birth_place=String
|Death_date=Date
|Death_place=String
|Countries=List (;) of Page
|Countries=List (;) of Page
|Affiliations=List (;) of Page
|Affiliations=List (;) of Page
Line 21: Line 26:
|Names={{{Names|}}}
|Names={{{Names|}}}
|Birth_date={{{Birth date|}}}
|Birth_date={{{Birth date|}}}
|Birth_place={{{Birth place|}}}
|Death_date={{{Death date|}}}
|Death_date={{{Death date|}}}
|Death_place={{{Death place|}}}
|Countries={{{Countries|}}}
|Countries={{{Countries|}}}
|Affiliations={{{Affiliations|}}}
|Affiliations={{{Affiliations|}}}
|Wikidata_id={{{Wikidata id|}}}
|Wikidata_id={{{Wikidata id|}}}
}}
}}
'''{{{Names|}}}''' ({{#if: {{{Birth date|}}} | {{{Birth date|}}} | ? }} – {{#if: {{{Death date|}}} | {{{Death date|}}} | ?}}) {{#if: {{{Wikidata id|}}} | (&rarr; [https://wikidata.org/wiki/{{{Wikidata id|}}} WikiData]) | }}</includeonly>
'''{{{Names|}}}''' ({{#if: {{{Birth date|}}} | {{{Birth date|}}} | ? }}{{#if: {{{Birth place|}}} | in {{{Birth place|}}} |}} – {{#if: {{{Death date|}}} | {{{Death date|}}} | ?}}{{#if: {{{Death place|}}} | in {{{Death place|}}} |}}) {{#if: {{{Wikidata id|}}} | (&rarr; [https://wikidata.org/wiki/{{{Wikidata id|}}} WikiData]) | }}</includeonly>

Revision as of 06:18, 9 August 2021

This is the "Person" template. It should be called in the following format:

{{Person
|Names=
|Birth date=
|Birth place=
|Death date=
|Death place=
|Countries=
|Affiliations=
|Wikidata id=
}}

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