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 11: Line 11:
 
{{#if:{{{include factbox|}}}|{{vardefine:showfactbox|{{{include factbox|}}} }}|{{#vardefine:showfactbox|false}} }}
 
{{#if:{{{include factbox|}}}|{{vardefine:showfactbox|{{{include factbox|}}} }}|{{#vardefine:showfactbox|false}} }}
 
<!--infobox -->should the infobox should be shown: {{#var:showinfobox}}
 
<!--infobox -->should the infobox should be shown: {{#var:showinfobox}}
{{#ifeq: {{#var:showinfobox}}|true|
+
{{#ifeq: {{#var:showinfobox}}|true|should show the infobox
 
|<!--then->{{Infobox person
 
|<!--then->{{Infobox person
 
| name              = {{{name|}}}
 
| name              = {{{name|}}}
Line 29: Line 29:
 
| father            = {{has father|{{{father|}}} }}
 
| father            = {{has father|{{{father|}}} }}
 
}}  
 
}}  
| <!--else do nothing-->}}
+
| should not show the infobox<!--else do nothing-->}}
  
 
{{#ifeq: {{#var:showsketch}}|true|
 
{{#ifeq: {{#var:showsketch}}|true|

Revision as of 21:09, 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.