Difference between revisions of "Template:Person stub"

From Crews Genealogy Wiki: focusing on the Wiregrass south, and related families
Jump to navigation Jump to search
 
(87 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq: {{{include sketch}}}|false|<!--don't show the sketch-->|<!--show the sketch-->
+
<includeonly><!--set defaults-->{{#if:{{{include infobox|}}}|{{#vardefine:showinfobox |{{lc: {{{include infobox}}}  }}  }}|{{#vardefine:showinfobox|false}} }}{{#if:{{{include sketch|}}} |{{#vardefine:showsketch  |{{lc: {{{include sketch}}}  }}  }}|{{#vardefine:showsketch |false}} }}{{#if:{{{include infobox|}}}|{{#vardefine:showinfobox |{{lc: {{{include infobox|}}} }}  }}|{{#vardefine:showinfobox|false}} }}{{#if:{{{include research log|}}} |{{#vardefine:showresearchlog|{{lc: {{{include research log}}} }} }}|{{#vardefine:showresearchlog|true}} }}{{#if:{{{include related pages|}}}|{{#vardefine:showrelatedpages|{{lc: {{{include related pages}}} }} }}|{{#vardefine:showrelatedpages|true}} }}{{#if:{{{include metadata|}}}|{{#vardefine:showmetadata|{{lc: {{{include matadata}}} }} }}|{{#vardefine:showmetdata|false}} }}{{#if:{{{include factbox|}}}|{{vardefine:showfactbox|{{lc: {{{include factbox|}}} }} }}|{{#vardefine:showfactbox|false}} }}<!--infobox -->{{#ifeq: {{#var:showinfobox}}|true
{{Infobox person
+
|<!--then-->{{Infobox person
 
| name              = {{{name|}}}
 
| name              = {{{name|}}}
 
| image            = {{{image file|}}}
 
| image            = {{{image file|}}}
 
| caption          = {{{image caption|}}}  
 
| caption          = {{{image caption|}}}  
| birth_name        = {{#if: {{{birth name|}}|{{{birth name}}}|{{{name|}}}
+
| birth_name        = {{#if: {{{birth name|}}|{{{birth name|}}}|{{{name|}}} }}
| birth_date        = {{{born on}}}
+
| birth_date        = {{{born on|}}}
| birth_place      = {{{born at}}}
+
| birth_place      = {{{born at|}}}
| death_date        = {{{died on}}}
+
| death_date        = {{{died on|}}}
| death_place      = {{{died at}}}
+
| death_place      = {{{died at|}}}
| resting_place    = {{{buried at}}}  
+
| resting_place    = {{{buried at|}}}  
| occupation        = {{{occupation}}}  
+
| occupation        = {{{occupation|}}}  
| spouse            = {{{spouse}}}
+
| spouse            = [[{{{spouse|}}}]]
| residence        = {{{residence list}}}
+
| residence        = {{{residence list|}}}
| children          = {{{child list}}}  
+
| children          = {{{child list|}}}  
| mother            = {{{mother}}}
+
| mother            = {{#if: {{{mother|}}}|{{has mother|{{{mother|}}} }}|<!--do nothing--> }}
| father            = {{{father}}}
+
| father            = {{#if: {{{father|}}}|{{has father|{{{father|}}} }}|<!--do nothing--> }}
 +
}}{{#ifexist: 
 +
|<!--else do nothing-->}}{{sketch
 +
|name              = {{{name|}}}
 +
|gen                = {{{gen|}}}
 +
|alt                = {{{alt|}}}
 +
|first              = {{{first|}}}
 +
|middle            = {{{middle|}}}
 +
|last              = {{{last|}}}
 +
|id                = {{{id|}}}
 +
|link              = {{{link|}}}
 +
|surname            = {{{surname|}}}
 +
|male line          = {{{male line|}}}
 +
|born at            = {{{born at|}}}
 +
|born on            = {{{born on|}}}
 +
|died at            = {{{died at|}}}
 +
|died on            = {{{died on|}}}
 +
|married at        = {{{married at|}}}
 +
|pronoun            = {{{pronoun|}}}
 +
|married on        = {{{married on|}}}
 +
|spouse            = {{{spouse|}}}
 +
|spouse born at    = {{{spouse born at|}}}
 +
|spouse born on    = {{{spouse born on|}}}
 +
|spouse died at    = {{{spouse died at|}}}
 +
|spouse died on    = {{{spouse died on|}}}
 +
|spouse father      = {{{spouse father|}}}
 +
|spouse mother      = {{{spouse mother|}}}
 +
|alt sketch        = {{{alt sketch|}}}
 
}}
 
}}
{{sketch
+
{{#if: {{{child table|}}}
|name= {{{name}}}
+
|==Children==
|gen= {{{gen}}}
+
{{Child table/header
|alt={{{alt}}}
+
|father name={{{name|}}} |father gen={{{father gen}}}
|first= {{{first}}}
+
|mother name={{{spouse|}}} |mother gen={{{mother gen}}}
|middle= {{{middle}}}
+
|gen = {{{generation number}}}
|last= {{{last}}}
+
|note={{{child header note}}} }}
|id= {{{id}}}
+
{{{child table|}}}
|link= {{{link}}}
+
{{child table/footer}}
|surname= {{{surname}}}
+
|<!--don't show child table--> }} | <!--do nothing-->}}
|male line= {{{male line}}}
+
{{#if:{{{include content|}}}|{{{content}}}|<!--do nothing--> }}
|born at= {{{born at}}}
+
{{#ifexist:{{BASEPAGENAME}}/Working Notes|==Working Notes==
|born on= {{{born on}}}
+
[[{{BASEPAGENAME}}/Working Notes]]|<!--Show nothing-->}}
|died at= {{{died at}}}
+
{{#if: {{#ask: [[has person::{{PAGENAME}}]]|format=gallery}}|==Gallery==
|died on= {{{died on}}}
+
{{#ask: [[has person::{{PAGENAME}}]]|format=gallery}}|<!--do nothing --> }}
|married at= {{{married at}}}
+
{{#ifeq:{{#var:showresearchlog}}|true|{{Research log}}|<!--do nothing--> }}
|pronoun= {{{pronoun}}}
+
{{#ifeq:{{#var:showrelatedpages}}|true|{{Related pages |show people={{{show people|}}} }}|<!--do nothing--> }} {{#ifeq:{{#var:showmetadata}}|true|{{meta data}}|<!--do nothing--> }}
|married on=  {{{married on}}}
+
==References==
|spouse= {{{spouse}}}
+
<references />{{#ifeq:{{#var:showfactbox}}|true|__SHOWFACTBOX__|<!--do nothing-->}}</includeonly><!--{{#if: {{{first name|}}}{{{middle name|}}}{{{last name|}}}{{{suffix|}}}{{{id|}}} | {{is person |first name={{{first name|}}} |middle name={{{middle name|}}} |last name={{{last name|}}} |suffix={{{suffix|}}} |id={{{id|}}} }} | {{is person |name={{{ROOTPAGENAME}} |surname={{get surname|{{ROOTPAGENAME}} }} }} }}-->
|spouse born at=  {{{spouse born at}}}
+
[[Category:{{get surname|{{ROOTPAGENAME}} }}]][[Category:Individual]]<noinclude>{{documentation}}</noinclude>
|spouse born on=   {{{spouse born on}}}
 
|spouse died at=  {{{spouse died at}}}
 
|spouse died on=  {{{spouse died on}}} }}
 
}}
 
 
 
{{Research pages}}{{Related pages}}{{#if: {{{first name|}}}{{{middle name|}}}{{{last name|}}}{{{suffix|}}}{{{id|}}} | {{is person |first name={{{first name|}}} |middle name={{{middle name|}}} |last name={{{last name|}}} |suffix={{{suffix|}}} |id={{{id|}}} }} | {{is person |name={{{ROOTPAGENAME}} surname={{get surname|{{ROOTPAGENAME}} }} }} }}
 
[[Category:{{get surname|{{ROOTPAGENAME}} }}]][[Category:Individual]]{{#ifeq: {{{show fact box|}}}|false|<!--do nothing-->|__SHOWFACTBOX__}}<noinclude>{{documentation}}</noinclude>
 

Latest revision as of 07:34, 25 June 2021