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 56: Line 56:
 
|<!--don't show child table--> }}
 
|<!--don't show child table--> }}
 
{{#if:{{{include content|}}}|{{{content}}}|<!--don othing--> }}
 
{{#if:{{{include content|}}}|{{{content}}}|<!--don othing--> }}
{{#ifeq:{{{include research log|}}}|false|<!--do nothing-->|{{Research log}} }}
+
{{#ifeq:{{{include research log|}}}|true|{{Research log}}|<!--do nothing--> }}
{{#ifeq:{{{include related pages|}}}|false|<!--do nothing-->|{{Related pages}} }}  
+
{{#ifeq:{{{include related pages|}}}|true|{{Related pages}}|<!--do nothing--> }}  
{{#ifeq:{{{include metadata|}}}|false|<!--do nothing-->|{{meta data}} }}
+
{{#ifeq:{{{include metadata|}}}|true|{{meta data}}|<!--do nothing--> }}
{{#ifeq:{{{include fact box|}}}|false|<!--do nothing-->|__SHOWFACTBOX__}}</includeonly><noinclude>{{documentation}}</noinclude>
+
{{#ifeq:{{{include fact box|}}}|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}} }} }} }}
 
{{#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 15:22, 3 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.