Person: Difference between revisions
From Dragon Eye Atlas
No edit summary |
No edit summary |
||
(37 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| | | house || [[lastname::{{{lastname}}}]] | ||
|- | |- | ||
| | | born || {{#if: {{{born|}}} | [[birthdate::{{{born}}} | {{#ifexpr: {{{born}}} > 0 | {{{born}}} AV | {{#expr: abs({{{born|0}}}) }} BV }}]] | (unknown) }} | ||
|- | |- | ||
| father || [[ | | died || {{#ifeq: {{{died|}}} | alive | (alive) | {{#if: {{{died|}}} | [[deathdate::{{{died}}} | {{#ifexpr: {{{died}}} > 0 | {{{died}}} AV | {{#expr: abs({{{died|0}}}) }} BV }}]] | (unknown) }} }} | ||
|- | |- style="vertical-align:top;" | ||
| mother || [[ | | father || {{#if: {{{father|}}} | [[father::{{{father}}}]]<br/>({{#show: {{{father}}} |?birthdate|default=? }} - {{#show: {{{father}}} |?deathdate|default=? }}) | (unknown) }} | ||
|- style="vertical-align:top;" | |||
| 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}}} | |||
|birthname={{#if: {{{birthname|}}} | {{{birthname}}} | {{{lastname}}} }} | |||
| birthname={{#if: {{{birthname|}}} | {{{birthname}}} | {{{lastname}}} | |||
}} | }} | ||
[[Category:Person]] | [[Category:Person]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
== Parameters == | |||
* firstname | |||
* lastname | |||
* birthname (optional) | |||
* born | |||
* died | |||
* father (optional) | |||
* mother (optional) | |||
* spouse (optional) | |||
* sex (male/female) | |||
<center> | <center> | ||
{| style="margin-left: 1em; margin-bottom: 0.5em; width: 750px; border: #6680FF solid 1px; background-color: #DDDDFF; color: #000000;" | {| style="margin-left: 1em; margin-bottom: 0.5em; width: 750px; border: #6680FF solid 1px; background-color: #DDDDFF; color: #000000;" | ||
Line 27: | 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 12: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. |