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|P_Group (label=People Group)|Company (label=Private Company Name)|DoBPrefix (label=Birth Prefix)|DateOfBirth (label=Date of Birth)|DoEPrefix (label=Employment Prefix)|DateOfEmployment (label=Employment date)|DoMPrefix (label=Marriage Prefix)|DateOfMarriage (label=Marriage Date;list)|DoFPrefix (label=Prefix)|DateOfFinishWork (label=Finish Work Date)|DoDPrefix (label=Death Prefix)|DateofDeath (label=Date of Death)|RelatedToIDs (list)|Relationships (label=Relationship(s);list)|1st_NZR_Record (label=Earliest Record)|DataSources (label=Data Sources)}}
{{#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)|LateYear (label=Latest year of data)|P_Group (label=People Group)|Company (label=Private Company Name)|DoBPrefix (label=Birth Prefix)|DateOfBirth (label=Date of Birth)|DoEPrefix (label=Employment Prefix)|DateOfEmployment (label=Employment date)|DoMPrefix (label=Marriage Prefix)|DateOfMarriage (label=Marriage Date;list)|DoFPrefix (label=Prefix)|DateOfFinishWork (label=Finish Work Date)|DoDPrefix (label=Death Prefix)|DateofDeath (label=Date of Death)|RelatedToIDs (list)|Relationships (label=Relationship(s);list)|BackReference (label=Back Reference)|DataSources (label=Data Sources;list)}}
{{#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)|P_Group=String (allowed values=N,P,M,I,R,E,C,D,V)|Company=Page|DoBPrefix=String (allowed values=circa,before,after)|DateOfBirth=Date|DoEPrefix=String (allowed values=circa,before,after)|DateOfEmployment=Date|DoMPrefix=String (allowed values=circa,before,after)|DateOfMarriage=List (,) of Date|DoFPrefix=Date (allowed values=circa,before,after)|DateOfFinishWork=Date|DoDPrefix=String (allowed values=circa,before,after)|DateofDeath=Date|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)|1st_NZR_Record=Text|DataSources=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|LateYear=Date|P_Group=String (allowed values=NZR,Pvt,Mun,Ind,Rel,Eng,Con,Dig,Vis)|Company=Page|DoBPrefix=String (allowed values=circa,before,after,during,on,early,late)|DateOfBirth=Date|DoEPrefix=String (allowed values=circa,before,after,during,on,early,late)|DateOfEmployment=Date|DoMPrefix=String (allowed values=circa,before,after,during,on,early,late)|DateOfMarriage=List (,) of Date|DoFPrefix=Date (allowed values=circa,before,after,during,on,early,late)|DateOfFinishWork=Date|DoDPrefix=String (allowed values=circa,before,after,during,on,early,late)|DateofDeath=Date|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}}
</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>

Revision as of 22:58, 30 January 2024

This is the "Person" template.

It should be called in the following format:

{{Person
|Person_Prefix=
|Surname=
|Initials=
|GivenNames=
|Gender=
|EarlyYear=
|LateYear=
|P_Group=
|Company=
|DoBPrefix=
|DateOfBirth=
|DoEPrefix=
|DateOfEmployment=
|DoMPrefix=
|DateOfMarriage=
|DoFPrefix=
|DateOfFinishWork=
|DoDPrefix=
|DateofDeath=
|RelatedToIDs=
|Relationships=
|BackReference=
|DataSources=
}}

Edit the page to see the template text.

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