Actions

Template

Difference between revisions of "Person"

From Dragon Eye Atlas

 
(31 intermediate revisions by the same user not shown)
Line 2: Line 2:
<div style="float:right">
<div style="float:right">
{| class="wikitable"
{| class="wikitable"
|-
| house || [[lastname::{{{lastname}}}]]
|-
|-
| born || {{#if: {{{born|}}} | [[birthdate::{{{born}}} | {{#ifexpr: {{{born}}} > 0 | {{{born}}} AV | {{#expr: abs({{{born|0}}}) }} BV  }}]] | (unknown) }}
| born || {{#if: {{{born|}}} | [[birthdate::{{{born}}} | {{#ifexpr: {{{born}}} > 0 | {{{born}}} AV | {{#expr: abs({{{born|0}}}) }} BV  }}]] | (unknown) }}
|-
|-
| died || {{#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) }} }}
|-
|- style="vertical-align:top;"
| father || {{#if: {{{father|}}} | [[father::{{{father}}}]] | (unknown) }}
| father || {{#if: {{{father|}}} | [[father::{{{father}}}]]<br/>({{#show: {{{father}}} |?birthdate|default=? }} - {{#show: {{{father}}} |?deathdate|default=? }}) | (unknown) }}
|-
|- style="vertical-align:top;"
| mother || {{#if: {{{mother|}}} | [[mother::{{{mother}}}]] | (unknown) }}
| mother || {{#if: {{{mother|}}} | [[mother::{{{mother}}}]]<br/>({{#show: {{{mother}}} |?birthdate|default=? }} - {{#show: {{{mother}}} |?deathdate|default=? }}) | (unknown) }}
|-
|-
{{#if: {{{spouse|}}}|
{{!}} spouse {{!}}{{!}}  {{!}} [[spouse::{{{spouse}}}]]
{{!}}-
|}}
| sex || [[sex::{{{sex|male}}}]]
| sex || [[sex::{{{sex|male}}}]]
|- style="vertical-align:top;"
| children || {{#ask:
  [[father::{{PAGENAME}}]] OR [[mother::{{PAGENAME}}]]
  |format=ul
}}
|}
|}
</div>
</div>
{{#set:  
{{#set:  
  firstname={{{firstname}}}
  firstname={{{firstname}}}
|lastname={{{lastname}}}
  |birthname={{#if: {{{birthname|}}} | {{{birthname}}} | {{{lastname}}} }}
  |birthname={{#if: {{{birthname|}}} | {{{birthname}}} | {{{lastname}}} }}
}}
}}
Line 23: Line 33:
<noinclude>
<noinclude>
== Parameters ==
== Parameters ==
* firstname
* lastname
* birthname (optional)
* born
* born
* died
* died
* father (optional)
* father (optional)
* mother (optional)
* mother (optional)
* spouse (optional)
* sex (male/female)
* sex (male/female)
* firstname
* lastname
* birthname (optional)


<center>
<center>
Line 37: Line 48:
| style="text-align:center; font-weight: bold; font-size: 125%; border-bottom: #6680FF solid 1px;" | Semantic Coded Template
| style="text-align:center; font-weight: bold; font-size: 125%; border-bottom: #6680FF solid 1px;" | Semantic Coded Template
|-
|-
| style="text-align:center;" | This template contains. Do not use for anything other than its intended purpose.
| style="text-align:center;" | This template contains semantic markup. Do not use for anything other than its intended purpose.
|}
|}
</center>
</center>
</noinclude>
</noinclude>

Latest revision as of 13:15, 22 March 2022


Parameters

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