Template:Person: Difference between revisions

From Railway Knowledge Base for New Zealand
Jump to navigation Jump to search
(Generated from a page schema)
(Generated from a page schema)
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Person_Prefix (label=Person's Title or prefix)|Surname|Initials (list)|GivenNames (label=Christian Names;list)|Gender|EarlyYear (label=Earliest year of Data)|EarlyJob (label=Early Job)|Late Job|LateYear (label=Latest year of data)|P_Group (label=People Group)|Company (label=Private Company Name)|DateOfBirth (label=Date of Birth)|DateOfEmployment (label=Employment date)|DateOfMarriage (label=Marriage Date;list)|DateOfFinishWork (label=Finish Work Date)|DateofDeath (label=Date of Death)|RelatedToIDs (list)|Relationships (label=Relationship(s);list)|BackReference (label=Back Reference)|DataSources (label=Data Sources;list)}}
{{#template_params:Person_Prefix (label=Person's Title or prefix)|Surname|Initials (list)|GivenNames (label=Christian Names;list)|Gender|EarlyYear (label=Earliest year of Data)|EarlyJob (label=Early Job)|Late Job|LateYear (label=Latest year of data)|P_Group (label=People Group)|Company (label=Private Company Name)|DateOfBirth (label=Date of Birth)|DateOfEmployment (label=Employment date;list)|DateOfMarriage (label=Marriage Date;list)|DateOfFinishWork (label=Finish Work Date;list)|DateofDeath (label=Date of Death)|RelatedToIDs (list)|Relationships (label=Relationship(s);list)|BackReference (label=Back Reference)|DataSources (label=Data Sources;list)|Photograph (namespace=File)}}
{{#cargo_declare:_table=Person|Person_Prefix=String (allowed values=Mr.,Mrs.,Sir,Rev. Dr. Lady,Dame,Mayor,King,Queen,Prince,Princess)|Surname=String|Initials=List (,) of String|GivenNames=List (,) of String|Gender=String (allowed values=Male,Female)|EarlyYear=Date|EarlyJob=Text|Late_Job=Text|LateYear=Date|P_Group=String (allowed values=NZR,Pvt,Mun,Ind,Rel,Eng,Con,Dig,Vis)|Company=Page|DateOfBirth=Text|DateOfEmployment=Text|DateOfMarriage=List (,) of Text|DateOfFinishWork=Text|DateofDeath=Text|RelatedToIDs=List (,) of String|Relationships=List (,) of String (allowed values=Father,Mother,Brother,Sister,Step-brother,Step-sister,Uncle,Aunt,Grandfather,Grandmother,Nephew,Niece,Cousin)|BackReference=Text|DataSources=List (,) of Text}}
{{#cargo_declare:_table=Person|Person_Prefix=String (allowed values=Mr.,Mrs.,Sir,Rev. Dr. Lady,Dame,Mayor,King,Queen,Prince,Princess)|Surname=String|Initials=List (,) of String|GivenNames=List (,) of String|Gender=String (allowed values=Male,Female)|EarlyYear=Date|EarlyJob=Text|Late_Job=Text|LateYear=Date|P_Group=String (allowed values=NZR,Pvt,Mun,Ind,Rel,Eng,Con,Dig,Vis)|Company=Page|DateOfBirth=String|DateOfEmployment=List (,) of String|DateOfMarriage=List (,) of String|DateOfFinishWork=List (,) of String|DateofDeath=String|RelatedToIDs=List (,) of String|Relationships=List (,) of String (allowed values=Father,Mother,Brother,Sister,Step-brother,Step-sister,Uncle,Aunt,Grandfather,Grandmother,Nephew,Niece,Cousin)|BackReference=String|DataSources=List (,) of Text|Photograph=File}}
</noinclude><includeonly>{{#cargo_store:_table=Person}}
</noinclude><includeonly>{{#cargo_store:_table=Person}}
{{#template_display:_format=standard}}
{{#template_display:_format=standard}}
[[Category:Person]]
[[Category:Person]]
</includeonly>
</includeonly>

Latest revision as of 22:24, 26 September 2024

This is the "Person" template.

It should be called in the following format:

{{Person
|Person_Prefix=
|Surname=
|Initials=
|GivenNames=
|Gender=
|EarlyYear=
|EarlyJob=
|Late Job=
|LateYear=
|P_Group=
|Company=
|DateOfBirth=
|DateOfEmployment=
|DateOfMarriage=
|DateOfFinishWork=
|DateofDeath=
|RelatedToIDs=
|Relationships=
|BackReference=
|DataSources=
|Photograph=
}}

Edit the page to see the template text.

This template defines the table "Person". View table.