Actions

Template

Person: Difference between revisions

From Dragon Eye Atlas

No edit summary
No edit summary
Line 9: Line 9:
| died || {{#ifeq: {{{died|}}} | alive | (alive) | {{#if: {{{died|}}} | [[deathdate::{{{died}}} | {{#ifexpr: {{{died}}} > 0 | {{{died}}} AV | {{#expr: abs({{{died|0}}}) }} BV  }}]] | (unknown) }} }}
| died || {{#ifeq: {{{died|}}} | alive | (alive) | {{#if: {{{died|}}} | [[deathdate::{{{died}}} | {{#ifexpr: {{{died}}} > 0 | {{{died}}} AV | {{#expr: abs({{{died|0}}}) }} BV  }}]] | (unknown) }} }}
|-
|-
| father || {{#if: {{{father|}}} | [[father::{{{father}}}]] | (unknown) }}
| father || {{#if: {{{father|}}} | {{#genealogy:parent|{{{father}}}}} | (unknown) }}
|-
|-
| mother || {{#if: {{{mother|}}} | [[mother::{{{mother}}}]] | (unknown) }}
| mother || {{#if: {{{mother|}}} | {{#genealogy:parent|{{{mother}}}}} | (unknown) }}
|-
|-
| sex || [[sex::{{{sex|male}}}]]
| sex || [[sex::{{{sex|male}}}]]
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| children || {{#ask:
| children || {{#genealogy:children}}
  [[father::{{PAGENAME}}]] OR [[mother::{{PAGENAME}}]]
|- style="vertical-align:top;"
  |format=ul
| siblings || {{#genealogy:siblings}}
}}
|}
|}
</div>
</div>

Revision as of 10:08, 12 October 2019


Parameters

  • born
  • died
  • father (optional)
  • mother (optional)
  • sex (male/female)
  • firstname
  • lastname
  • birthname (optional)
Semantic Coded Template
This template contains. Do not use for anything other than its intended purpose.