Difference between revisions of "Template:Sketch"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
− | <!--spouse section -->{{#if: {{{spouse|}}}{{{married on|}}}{{{married at|}}}|{{{pronoun|}}} married |}}{{#if: {{{married at|}}} |married at {{{married at|}}}{{#if:{{{married on|}}}| {{{married on|}}}| | + | <!--spouse section -->{{#if:{{{spouse|}}}|{{#if: {{{spouse|}}}{{{married on|}}}{{{married at|}}}|{{{pronoun|}}} married |}}{{#if: {{{married at|}}} |married at {{{married at|}}}{{#if:{{{married on|}}}| {{{married on|}}}|<!--Do nothing --> }}{{#if: {{spouse|}}} |, '''{{has spouse|name={{{spouse}}} }}''' | <!--do nothing--> }}|<!--do nothing--> }}{{#if:{{{spouse|}}}|'''{{has spouse|name={{{spouse|}}}{{{1|}}}}}'''{{#if:{{{spouse born at|}}}| Who was born at {{{spouse born at|}}}|<!--do nothing-->}}{{#if:{{{spouse born on|}}}|{{#if:{{{spouse born at}}}| {{{spouse born on|}}}| who was born {{{born on|}}} }}|<!--do nothing-->}} {{#if:{{{spouse died at|}}}|{{#if:{{{spouse died on}}} | and died at {{{spouse died at}}} | died at {{{spouse died at}}} }}|<!--do nothing-->}} {{#if:{{{spouse died on|}}}|{{#if:{{{spouse died at}}}| and died on {{{spouse died on}}}| and died on {{{spouse died on}}} }},|<!--do nothing-->}}|<!---no spouse, do nothing-->}}{{#if: {{{spouse father|}}}{{{spouse mother}}}|{{#ifeq: {{{pronoun}}}|He|daughter of|son of}}{{#if:{{{spouse father}}}|{{has person|{{{spouse father|}}} }}|<!--don't show the father-->}}{{#if:{{{spouse father|}}}|{{#if: {{{spouse mother|}}}| and {{has person|{{{spouse mother}}} }}|{{has person|{{{spouse mother}}} }} }}| <!--don't show the mother-->}} |<!--do nothing-->}}. | }} |
</includeonly><noinclude>{{documentation}}<noinclude> | </includeonly><noinclude>{{documentation}}<noinclude> |
Revision as of 12:35, 30 November 2020
{{sketch |name = {{{name}}} |gen = {{{gen}}} |alt = {{{alt}}} |first = {{{first}}} |middle = {{{middle}}} |last = {{{last}}} |id = {{{id}}} |link = {{{link}}} |surname = {{{surname}}} |male line = {{{male line}}} |born at = {{{born at}}} |born on = {{{born on}}} |died at = {{{died at}}} |died on = {{{died on}}} |married at = {{{married at}}} |pronoun = {{{pronoun}}} |married on = {{{married on}}} |spouse = {{{spouse}}} |spouse born at = {{{spouse born at}}} |spouse born on = {{{spouse born on}}} |spouse died at = {{{spouse died at}}} |spouse died on = {{{spouse died on}}} |spouse father = {{{spouse father}}} |spouse mother = {{{spouse mother}}} |alt sketch = {{{alt sketch}}} }}
Templates
This template uses the following templates.