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
Line 17: Line 17:
 
| father            = {{#if: {{{father|}}}|{{has father|{{{father|}}} }}|<!--do nothing--> }}
 
| father            = {{#if: {{{father|}}}|{{has father|{{{father|}}} }}|<!--do nothing--> }}
 
}}{{#ifexist:   
 
}}{{#ifexist:   
|<!--else do nothing-->}}
+
|<!--else do nothing-->}}{{#ifexist:{{BASEPAGENAME}}/Working Notes|<!--do nothing-->|Create [[:{{BASEPAGENAME}}/Working Notes}}]] }}{{sketch
{{#ifexist:{{BASEPAGENAME}}/Working Notes|<!--do nothing-->|Create [[:{{BASEPAGENAME}}/Working Notes}}]] }}
 
{{sketch
 
 
|name              = {{{name|}}}
 
|name              = {{{name|}}}
 
|gen                = {{{gen|}}}
 
|gen                = {{{gen|}}}
Line 44: Line 42:
 
|spouse father      = {{{spouse father|}}}
 
|spouse father      = {{{spouse father|}}}
 
|spouse mother      = {{{spouse mother|}}}
 
|spouse mother      = {{{spouse mother|}}}
}}
+
}}{{#if: {{{child table|}}}
{{#if: {{{child table|}}}
 
 
|==Children==
 
|==Children==
 
{{Child table/header
 
{{Child table/header
Line 54: Line 51:
 
{{{child table|}}}
 
{{{child table|}}}
 
{{child table/footer}}
 
{{child table/footer}}
|<!--don't show child table--> }} | <!--do nothing-->}}
+
|<!--don't show child table--> }} | <!--do nothing-->}}{{#if:{{{include content|}}}|{{{content}}}|<!--do nothing--> }}{{#ifexist:{{BASEPAGENAME}}/Working Notes|==Working Notes==
{{#if:{{{include content|}}}|{{{content}}}|<!--do nothing--> }}
+
[[{{BASEPAGENAME}}/Working Notes]]|<!--Show nothing-->}}{{#ifeq:{{#var:showresearchlog}}|true|{{Research log}}|<!--do nothing--> }}{{#ifeq:{{#var:showrelatedpages}}|true|{{Related pages}}|<!--do nothing--> }} {{#ifeq:{{#var:showmetadata}}|true|{{meta data}}|<!--do nothing--> }}{{#ifeq:{{#var:showfactbox}}|true|__SHOWFACTBOX__|<!--do nothing-->}}</includeonly><noinclude>{{documentation}}</noinclude>{{#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}} }} }} }}
{{#ifexist:{{BASEPAGENAME}}/Working Notes|==Working Notes==
 
[[{{BASEPAGENAME}}/Working Notes]]|<!--Show nothing-->}}
 
{{#ifeq:{{#var:showresearchlog}}|true|{{Research log}}|<!--do nothing--> }}
 
{{#ifeq:{{#var:showrelatedpages}}|true|{{Related pages}}|<!--do nothing--> }}  
 
{{#ifeq:{{#var:showmetadata}}|true|{{meta data}}|<!--do nothing--> }}
 
{{#ifeq:{{#var:showfactbox}}|true|__SHOWFACTBOX__|<!--do nothing-->}}</includeonly><noinclude>{{documentation}}</noinclude>
 
{{#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]]
 
[[Category:{{get surname|{{ROOTPAGENAME}} }}]][[Category:Individual]]

Revision as of 13:43, 11 December 2020

[[{Person stub surname=Stub|{Person stub surname=Stub]]Property "Is person" (as page type) with input value "{Person stub surname=Stub" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.