Changes

Jump to navigation Jump to search
233 bytes added ,  14:23, 25 January 2019
no edit summary
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 show the second word-->{{#explode:{{{name|}}}| |1}} }}
+
alt: {{#if:{{{alt|}}}|<!--alt exists-->{{#if:<!--has three words-->{{#explode:{{{alt}}}| |2}}|<!--show third word-->{{#explode:{{{alt}}}| |2}}|<!--has less than three words show the second word-->{{#explode:{{{alt|}}}| |1}} }}|<!--no alt-->{{#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}} }}}}

Navigation menu