Difference between revisions of "Template:Has person"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
[[{{#if:{{{first name|}}}|{{{first name|}}}|<!--show nothing-->}}{{#if:{{{middle name|}}}| {{{middle name|}}}|<!--show nothing-->}}{{#if:{{{last name|}}}| {{{last name|}}}|<!--show nothing-->}}{{#if:{{{suffix|}}}| {{{suffix|}}}|<!--show nothing-->}}{{#if: {{{id|}}}| ({{{id|}}})|<!--show nothing-->}}]] | [[{{#if:{{{first name|}}}|{{{first name|}}}|<!--show nothing-->}}{{#if:{{{middle name|}}}| {{{middle name|}}}|<!--show nothing-->}}{{#if:{{{last name|}}}| {{{last name|}}}|<!--show nothing-->}}{{#if:{{{suffix|}}}| {{{suffix|}}}|<!--show nothing-->}}{{#if: {{{id|}}}| ({{{id|}}})|<!--show nothing-->}}]] | ||
− | {{#if:{{{name|}}}|{{#if:{{{alt|}}}|<!-name and alt exists-->|<!-name only-->}}| <!-no name->{{#if:{{{alt|}}}|<!-no name, yes alt -->|<!- no name no alt -->[[{{#if:{{{first name|}}}|{{{first name|}}}|<!--show nothing-->}}{{#if:{{{middle name|}}}| {{{middle name|}}}|<!--show nothing-->}}{{#if:{{{last name|}}}| {{{last name|}}}|<!--show nothing-->}}{{#if:{{{suffix|}}}| {{{suffix|}}}|<!--show nothing-->}}{{#if: {{{id|}}}| ({{{id|}}})|<!--show nothing-->}}]]}}}} | + | {{#if:{{{name|}}}|{{#if:{{{alt|}}}|<!-name and alt exists-->[[{{{name|}}}{{#!:|}}{{{alt|}}}]]|<!-name only-->}}[[{{{name|}}}]]| <!-no name->{{#if:{{{alt|}}}|<!-no name, yes alt -->|<!- no name no alt -->[[{{#if:{{{first name|}}}|{{{first name|}}}|<!--show nothing-->}}{{#if:{{{middle name|}}}| {{{middle name|}}}|<!--show nothing-->}}{{#if:{{{last name|}}}| {{{last name|}}}|<!--show nothing-->}}{{#if:{{{suffix|}}}| {{{suffix|}}}|<!--show nothing-->}}{{#if: {{{id|}}}| ({{{id|}}})|<!--show nothing-->}}]]}}}} |
{{{name|}}}{{#!:|}}{{{alt|}}} | {{{name|}}}{{#!:|}}{{{alt|}}} |
Revision as of 10:54, 25 January 2019
[[]]
<!-no name-><!- no name no alt -->[[]]
|
surname when id is present