Difference between revisions of "Template:Has person"

From Crews Genealogy Wiki: focusing on the Wiregrass south, and related families
Jump to navigation Jump to search
Line 4: Line 4:
 
{{#if:{{{surname|}}}|[[Category:{{{surname|}}}]]{{#set:has surname={{{surname|}}}}}| }}
 
{{#if:{{{surname|}}}|[[Category:{{{surname|}}}]]{{#set:has surname={{{surname|}}}}}| }}
  
surname: {{#if:<!--has three words-->{{#explode:{{{name}}}| |2}}|<!--show third word-->{{#explode:{{{name}}}| |2}}|<!--has less than three words-->}}
+
surname: {{#if:<!--has three words-->{{#explode:{{{name}}}| |2}}|<!--show third word-->{{#explode:{{{name}}}| |2}}|<!--has less than three words show the second word-->{{#explode:{{{name|}}}| |1}} }}

Revision as of 14:13, 25 January 2019

[[]]


surname: