Line 1: |
Line 1: |
− | <includeonly> | + | <includeonly><!--set defaults-->{{#if:{{{include infobox|}}}|{{#vardefine:showinfobox |{{lc: {{{include infobox}}} }} }}|{{#vardefine:showinfobox|false}} }}{{#if:{{{include sketch|}}} |{{#vardefine:showsketch |{{lc: {{{include sketch}}} }} }}|{{#vardefine:showsketch |false}} }}{{#if:{{{include infobox|}}}|{{#vardefine:showinfobox |{{lc: {{{include infobox|}}} }} }}|{{#vardefine:showinfobox|false}} }}{{#if:{{{include research log|}}} |{{#vardefine:showresearchlog|{{lc: {{{include research log}}} }} }}|{{#vardefine:showresearchlog|true}} }}{{#if:{{{include related pages|}}}|{{#vardefine:showrelatedpages|{{lc: {{{include related pages}}} }} }}|{{#vardefine:showrelatedpages|true}} }}{{#if:{{{include metadata|}}}|{{#vardefine:showmetadata|{{lc: {{{include matadata}}} }} }}|{{#vardefine:showmetdata|false}} }}{{#if:{{{include factbox|}}}|{{vardefine:showfactbox|{{lc: {{{include factbox|}}} }} }}|{{#vardefine:showfactbox|false}} }}<!--infobox -->{{#ifeq: {{#var:showinfobox}}|true |
− | <!--infobox -->{{#ifeq: {{{include infobox}}}|false|<!--do nothing -->| | + | |<!--then-->{{Infobox person |
− | {{Infobox person | |
| | name = {{{name|}}} | | | name = {{{name|}}} |
| | image = {{{image file|}}} | | | image = {{{image file|}}} |
Line 12: |
Line 11: |
| | resting_place = {{{buried at|}}} | | | resting_place = {{{buried at|}}} |
| | occupation = {{{occupation|}}} | | | occupation = {{{occupation|}}} |
− | | spouse = {{{spouse|}}} | + | | spouse = [[{{{spouse|}}}]] |
| | residence = {{{residence list|}}} | | | residence = {{{residence list|}}} |
| | children = {{{child list|}}} | | | children = {{{child list|}}} |
− | | mother = {{has mother|{{{mother|}}} }} | + | | mother = {{#if: {{{mother|}}}|{{has mother|{{{mother|}}} }}|<!--do nothing--> }} |
− | | father = {{has father|{{{father|}}} }} | + | | father = {{#if: {{{father|}}}|{{has father|{{{father|}}} }}|<!--do nothing--> }} |
− | }} }} | + | }}{{#ifexist: |
− | {{#ifeq: {{{include sketch|}}}|false|<!--do nothing-->| | + | |<!--else do nothing-->}}{{sketch |
− | {{sketch | |
| |name = {{{name|}}} | | |name = {{{name|}}} |
| |gen = {{{gen|}}} | | |gen = {{{gen|}}} |
Line 44: |
Line 42: |
| |spouse father = {{{spouse father|}}} | | |spouse father = {{{spouse father|}}} |
| |spouse mother = {{{spouse mother|}}} | | |spouse mother = {{{spouse mother|}}} |
− | }} }} | + | |alt sketch = {{{alt sketch|}}} |
| + | }} |
| {{#if: {{{child table|}}} | | {{#if: {{{child table|}}} |
| |==Children== | | |==Children== |
Line 54: |
Line 53: |
| {{{child table|}}} | | {{{child table|}}} |
| {{child table/footer}} | | {{child table/footer}} |
− | |<!--don't show child table--> }} | + | |<!--don't show child table--> }} | <!--do nothing-->}} |
− | {{#ifeq:{{{include content|}}}|false|<!--do nothing-->|{{{content}}} }} | + | {{#if:{{{include content|}}}|{{{content}}}|<!--do nothing--> }} |
− | {{#ifeq:{{{include research log|}}}|false|<!--do nothing-->|{{Research log}} }} | + | {{#ifexist:{{BASEPAGENAME}}/Working Notes|==Working Notes== |
− | {{#ifeq:{{{include related pages|}}}|false|<!--do nothing-->|{{Related pages}} }} | + | [[{{BASEPAGENAME}}/Working Notes]]|<!--Show nothing-->}} |
− | {{#ifeq:{{{include metadata|}}}|false|<!--do nothing-->|{{meta data}} }} | + | {{#if: {{#ask: [[has person::{{PAGENAME}}]]|format=gallery}}|==Gallery== |
− | {{#ifeq:{{{include fact box|}}}|false|<!--do nothing-->|__SHOWFACTBOX__}}</includeonly><noinclude>{{documentation}}</noinclude> | + | {{#ask: [[has person::{{PAGENAME}}]]|format=gallery}}|<!--do nothing --> }} |
− | {{#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}} }} }} }} | + | {{#ifeq:{{#var:showresearchlog}}|true|{{Research log}}|<!--do nothing--> }} |
− | [[Category:{{get surname|{{ROOTPAGENAME}} }}]][[Category:Individual]] | + | {{#ifeq:{{#var:showrelatedpages}}|true|{{Related pages |show people={{{show people|}}} }}|<!--do nothing--> }} {{#ifeq:{{#var:showmetadata}}|true|{{meta data}}|<!--do nothing--> }} |
| + | ==References== |
| + | <references />{{#ifeq:{{#var:showfactbox}}|true|__SHOWFACTBOX__|<!--do nothing-->}}</includeonly><!--{{#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]]<noinclude>{{documentation}}</noinclude> |