Template:Person: Difference between revisions
Jump to navigation
Jump to search
(Generated from a page schema) |
(Generated from a page schema) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:PersonID|Surname|Initial1 (label=1st Initial)|Initial2 (label=2nd Initial)|Initial3 (label=3rd Initial)|Initial4 (label=4th Initial)|Initial5 (label=5th Initial)|Initial6 (label=6th Initial)|Gender (label=gender)|DoBPrefix (label=DoB Prefix)|DateOfBirth (label=Date of Birth)|DoEPrefix (label=DoE Prefix)|DateOfEmployment (label=Date Of Employment)|DoMPrefix (label=DoM Prefix)|DateOfMarriage (label=Date of Marriage)|DoDPrefix (label=Date of Death Prefix)|DateOfDeath (label=Date of Death)|Employee|Relative (label=Relative of Employee)|RelatedEmployee (label=Related Employee)|Dignitary (label=Dignitart)|Contractor|Consultant|DataSource (label=data Source)}} | {{#template_params:PersonID|Surname|Initial1 (label=1st Initial)|Initial2 (label=2nd Initial)|Initial3 (label=3rd Initial)|Initial4 (label=4th Initial)|Initial5 (label=5th Initial)|Initial6 (label=6th Initial)|Gender (label=gender)|DoBPrefix (label=DoB Prefix)|DateOfBirth (label=Date of Birth)|DoEPrefix (label=DoE Prefix)|DateOfEmployment (label=Date Of Employment)|DoMPrefix (label=DoM Prefix)|DateOfMarriage (label=Date of Marriage)|DoDPrefix (label=Date of Death Prefix)|DateOfDeath (label=Date of Death)|Employee|Relative (label=Relative of Employee)|RelatedEmployee (label=Related Employee)|Dignitary (label=Dignitart)|Contractor|Consultant|DataSource (label=data Source)}} | ||
{{#cargo_declare:_table=Person|PersonID=Page|Surname=String|Initial1=String|Initial2=String|Initial3=String|Initial4=String|Initial5=String|Initial6=String|Gender=String (allowed values=Male,Female)|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=Date|DoDPrefix=String|DateOfDeath=Date|Employee=String (allowed values=Yes,No)|Relative=String (allowed values=Father,Mother,Son,Daughter,Uncle,Auntie,Cousin,Nephew,Neice)|RelatedEmployee=Page|Dignitary=String (allowed values=Yes,No)|Contractor=String (allowed values=Yes,No)|Consultant=Page (allowed values=Yes,No)|DataSource=String}} | {{#cargo_declare:_table=Person|PersonID=Page|Surname=String|Initial1=String|Initial2=String|Initial3=String|Initial4=String|Initial5=String|Initial6=String|Gender=String (allowed values=Male,Female)|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=Date|DoDPrefix=String (allowed values=circa,before,after)|DateOfDeath=Date|Employee=String (allowed values=Yes,No)|Relative=String (allowed values=Father,Mother,Son,Daughter,Uncle,Auntie,Cousin,Nephew,Neice)|RelatedEmployee=Page|Dignitary=String (allowed values=Yes,No)|Contractor=String (allowed values=Yes,No)|Consultant=Page (allowed values=Yes,No)|DataSource=String}} | ||
</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 00:47, 10 May 2023
This is the "Person" template.
It should be called in the following format:
{{Person |PersonID= |Surname= |Initial1= |Initial2= |Initial3= |Initial4= |Initial5= |Initial6= |Gender= |DoBPrefix= |DateOfBirth= |DoEPrefix= |DateOfEmployment= |DoMPrefix= |DateOfMarriage= |DoDPrefix= |DateOfDeath= |Employee= |Relative= |RelatedEmployee= |Dignitary= |Contractor= |Consultant= |DataSource= }}
Edit the page to see the template text.
This template defines the table "Person". View table.