Jump to content

Template:Character2: Difference between revisions

Line 1: Line 1:
<includeonly><infobox type="Character">
<includeonly>
<title source="name"/>
<infobox type="Character">
<data source="valorik"><label>Name in Valorik</label><format><div class="valorik-calligraphy">{{{valorik}}}</div></format></data>
<title source="name" />
<group>
<data source="valorik"><label>Name in Valorik</label>
<header source="pronunciation">Pronunciation</header>
<format>
<data source="oed">
<div class="valorik-calligraphy">{{{valorik}}}</div>
<label>OED Pronunciation</label>
</format>
<format>[[wikipedia:Oxford_English_Dictionary|OED]]: {{{oed}}}</format>
</data>
</data>
<group>
<data source="ipa">
<header source="pronunciation">Pronunciation</header>
<label>IPA Pronunciation</label>
<data source="oed">
<format>[[wikipedia:Help:IPA|IPA]]:{{{ipa}}}</format>
<label>OED Pronunciation</label>
</data>
<format>[[wikipedia:Oxford_English_Dictionary|OED]]: {{{oed}}}</format>
</group>
</data>
<image source="image">
<data source="ipa">
<caption source="imagecaption" />
<label>IPA Pronunciation</label>
</image>
<format>[[wikipedia:Help:IPA|IPA]]:{{{ipa}}}</format>
<group>
</data>
<header>General Information</header>
</group>
<data source="aliases"><label>Aliases</label></data>
<image source="image">
<data source="titles"><label>Titles</label></data>
<caption source="imagecaption" />
<data source="affiliation"><label>Affiliation</label><format>{{#if: {{{affiliation2|}}} | * [[{{{affiliation|}}}]]<br> | [[{{{affiliation|}}}]] }}{{#if: {{{affiliation3|}}} | * [[{{{affiliation2|}}}]]<br> | {{#if {{{affiliation2}}} | [[{{{affiliation2|}}}]] }} }}{{#if: {{{affiliation4|}}} | * [[{{{affiliation3|}}}]]<br> | {{#if {{{affiliation3}}} | [[{{{affiliation3|}}}]] }} }}{{#if: {{{affiliation5|}}} | * [[{{{affiliation4|}}}]]<br> | {{#if {{{affiliation4}}} | [[{{{affiliation4|}}}]] }}}}{{#if {{{affiliation5}}} | [[{{{affiliation5|}}}]] }}</format></data>
</image>
<data source="occupation"><label>Occupation</label></data>
<group>
<data source="universe"><label>Universe</label><format>[[{{{universe|}}}]]</format></data>
<header>General Information</header>
<data source="homeworld"><label>Homeworld</label></data>
<data source="aliases"><label>Aliases</label></data>
<data source="allegiance"><label>Allegiance</label></data>
<data source="titles"><label>Titles</label></data>
</group>
<data source="affiliation"><label>Affiliation</label>
<group>
<format>
<header>Biographical Information</header>
<!-- One link if only first is present; otherwise a <ul> with all present -->
<data source="marital"><label>Marital status</label></data>
{{#if: {{{affiliation2|{{{affiliation3|{{{affiliation4|{{{affiliation5|}}}}}}}}}}}} |
<data source="partner1"><label>Partners</label><format>{{#genealogy:partners}}<!--
  <!-- At least one extra affiliation exists: render a list -->
  {{#tag:ul|
    {{#if: {{{affiliation|}}} | {{#tag:li|[[{{{affiliation}}}]]}} }}
    {{#if: {{{affiliation2|}}} | {{#tag:li|[[{{{affiliation2}}}]]}} }}
    {{#if: {{{affiliation3|}}} | {{#tag:li|[[{{{affiliation3}}}]]}} }}
    {{#if: {{{affiliation4|}}} | {{#tag:li|[[{{{affiliation4}}}]]}} }}
    {{#if: {{{affiliation5|}}} | {{#tag:li|[[{{{affiliation5}}}]]}} }}
  }}
|
  <!-- Only one: print it inline (no list) -->
  {{#if: {{{affiliation|}}} | [[{{{affiliation}}}]] }}
}}
 
</format>
</data>
<data source="occupation"><label>Occupation</label></data>
<data source="universe"><label>Universe</label>
<format>[[{{{universe|}}}]]</format>
</data>
<data source="homeworld"><label>Homeworld</label></data>
<data source="allegiance"><label>Allegiance</label></data>
</group>
<group>
<header>Biographical Information</header>
<data source="marital"><label>Marital status</label></data>
<data source="partner1"><label>Partners</label>
<format>{{#genealogy:partners}}<!--
-->{{#if: {{{partner1|}}} | {{#genealogy:partner | {{{partner1}}} }} }}<!--
-->{{#if: {{{partner1|}}} | {{#genealogy:partner | {{{partner1}}} }} }}<!--
-->{{#if: {{{partner2|}}} | {{#genealogy:partner | {{{partner2}}} }} }}<!--
-->{{#if: {{{partner2|}}} | {{#genealogy:partner | {{{partner2}}} }} }}<!--
-->{{#if: {{{partner3|}}} | {{#genealogy:partner | {{{partner3}}} }} }}</format></data>
-->{{#if: {{{partner3|}}} | {{#genealogy:partner | {{{partner3}}} }} }}</format>
<data source="lovers1"><label>Lovers</label><format>{{#genealogy:partners}}<!--
</data>
<data source="lovers1"><label>Lovers</label>
<format>{{#genealogy:partners}}<!--
-->{{#if: {{{lovers1|}}} | {{#genealogy:partner | {{{lovers1}}} }} }}<!--
-->{{#if: {{{lovers1|}}} | {{#genealogy:partner | {{{lovers1}}} }} }}<!--
-->{{#if: {{{lovers2|}}} | {{#genealogy:partner | {{{lovers2}}} }} }}<!--
-->{{#if: {{{lovers2|}}} | {{#genealogy:partner | {{{lovers2}}} }} }}<!--
Line 39: Line 67:
-->{{#if: {{{lovers4|}}} | {{#genealogy:partner | {{{lovers4}}} }} }}<!--
-->{{#if: {{{lovers4|}}} | {{#genealogy:partner | {{{lovers4}}} }} }}<!--
-->{{#if: {{{lovers5|}}} | {{#genealogy:partner | {{{lovers5}}} }} }}<!--
-->{{#if: {{{lovers5|}}} | {{#genealogy:partner | {{{lovers5}}} }} }}<!--
-->{{#if: {{{lovers6|}}} | {{#genealogy:partner | {{{lovers6}}} }} }}</format></data>
-->{{#if: {{{lovers6|}}} | {{#genealogy:partner | {{{lovers6}}} }} }}</format>
<data source="birthDate"><label>Date of birth</label></data>
</data>
<data source="birthPlace"><label>Place of birth</label><format>[[{{{birthPlace|}}}]]</format></data>
<data source="birthDate"><label>Date of birth</label></data>
<data source="birthCity"><label>Place of birth</label><format>[[{{{birthCity|}}}]], [[{{{birthPlanet|}}}]]</format></data>
<data source="birthPlace"><label>Place of birth</label>
<data source="deathDate"><label>Date of death</label></data>
<format>[[{{{birthPlace}}}]]</format>
<data source="deathPlace"><label>Place of death</label></data>
</data>
<data source="cause_of_death"><label>Cause of death</label></data>
<data source="birthCity"><label>Place of birth</label>
<data source="status"><label>Status</label></data>
<format>[[{{{birthCity}}}]], [[{{{birthPlanet}}}]]</format>
<data source="role"><label>Role</label></data>
</data>
</group>
<data source="deathDate"><label>Date of death</label></data>
<group>
<data source="deathPlace"><label>Place of death</label></data>
<header>Physical description</header>
<data source="cause_of_death"><label>Cause of death</label></data>
<data source="species"><label>Species</label></data>
<data source="status"><label>Status</label></data>
<data source="race"><label>Race</label></data>
<data source="role"><label>Role</label></data>
<data source="hair"><label>Hair Color</label></data>
<data source="eyes"><label>Eye Color</label></data>
<data source="lefteye"><label>Left Eye Color</label><format>[[{{{lefteye|}}}]]</format></data>
<data source="righteye"><label>Right Eye Color</label><format>[[{{{righteye|}}}]]</format></data>
<data source="skin"><label>Skin Color</label></data>
<data source="feathers"><label>Feather Color</label></data>
<data source="scales"><label>Scales Color</label></data>
<data source="fur"><label>Fur Color</label></data>
<data source="gender"><label>Gender</label></data>
<data source="height"><label>Height</label></data>
<data source="weight"><label>Weight</label></data>
<data source="physique"><label>Physique</label></data>
<data source="features"><label>Features</label></data>
</group>
 
<group>
<header source="family"><big><big><div style="text-align: center;">Family</div></big></big></header>
    <group>
    <data source="twin"><label>Twin</label><format>[[{{{twin|}}}]]</format></data>
    </group>
<group>
<header source="offsprings">Offspring</header>
<group layout="horizontal">
<data source="offspring1"><default>{{#genealogy:children}}</default><format>[[{{{offspring1|}}}]]</format></data>
<data source="offspring2"><format>[[{{{offspring2|}}}]]</format></data>
<data source="offspring3"><format>[[{{{offspring3|}}}]]</format></data>
</group>
</group>
<group layout="horizontal">
<group>
<data source="offspring4"><format>[[{{{offspring4|}}}]]</format></data>
<header>Physical description</header>
<data source="offspring5"><format>[[{{{offspring5|}}}]]</format></data>
<data source="species"><label>Species</label></data>
<data source="offspring6"><format>[[{{{offspring6|}}}]]</format></data>
<data source="race"><label>Race</label></data>
<data source="hair"><label>Hair Color</label></data>
<data source="eyes"><label>Eye Color</label></data>
<data source="lefteye"><label>Left Eye Color</label>
<format>[[{{{lefteye}}}]]</format>
</data>
<data source="righteye"><label>Right Eye Color</label>
<format>[[{{{righteye}}}]]</format>
</data>
<data source="skin"><label>Skin Color</label></data>
<data source="feathers"><label>Feather Color</label></data>
<data source="scales"><label>Scales Color</label></data>
<data source="fur"><label>Fur Color</label></data>
<data source="gender"><label>Gender</label></data>
<data source="height"><label>Height</label></data>
<data source="weight"><label>Weight</label></data>
<data source="physique"><label>Physique</label></data>
<data source="features"><label>Features</label></data>
</group>
</group>
<group layout="horizontal">
 
<data source="offspring7"><format>[[{{{offspring7|}}}]]</format></data>
<group>
<data source="offspring8"><format>[[{{{offspring8|}}}]]</format></data>
<header source="family"><big><big>
<data source="offspring9"><format>[[{{{offspring9|}}}]]</format></data>
<div style="text-align: center;">Family</div>
</group>
</big></big></header>
<group layout="horizontal">
<group>
<data source="offspring10"><format>[[{{{offspring1|}}}]]</format></data>
<data source="twin"><label>Twin</label>
<data source="offspring11"><format>[[{{{offspring1|}}}]]</format></data>
<format>[[{{{twin|}}}]]</format>
<data source="offspring12"><format>[[{{{offspring1|}}}]]</format></data>
</data>
</group>
</group>
</group>
<group>
<group>
<header source="offsprings">Offspring</header>
<header source="parents">Parents</header>
<group layout="horizontal">
<data source="mother">
<data source="offspring1">
<label>Mother</label>
<default>{{#genealogy:children}}</default>
<format>{{#genealogy:parent | {{{mother}}} }}</format>
<format>[[{{{offspring1}}}]]</format>
</data>
</data>
<data source="father">
<data source="offspring2">
<label>Father</label>
<format>[[{{{offspring2}}}]]</format>
<format>{{#genealogy:parent | {{{father}}} }}</format>
</data>
</data>
<data source="offspring3">
</group>
<format>[[{{{offspring3}}}]]</format>
<group>
</data>
<header source="siblings">Siblings</header>
</group>
<group layout="horizontal">
<group layout="horizontal">
<data source="sibling"><default>{{#genealogy:siblings|exclude_self=yes}}</default></data>
<data source="offspring4">
<data source="sibling2">Name</data>
<format>[[{{{offspring4}}}]]</format>
<data source="sibling3">Name</data>
</data>
</group>
<data source="offspring5">
<group layout="horizontal">
<format>[[{{{offspring5}}}]]</format>
<data source="sibling4">Name</data>
</data>
<data source="sibling5">Name</data>
<data source="offspring6">
<data source="sibling6">Name</data>
<format>[[{{{offspring6}}}]]</format>
</group>
</data>
<group layout="horizontal">
</group>
<data source="sibling7">Name</data>
<group layout="horizontal">
<data source="sibling8">Name</data>
<data source="offspring7">
<data source="sibling9">Name</data>
<format>[[{{{offspring7}}}]]</format>
</group>
</data>
<group layout="horizontal">
<data source="offspring8">
<data source="sibling10">Name</data>
<format>[[{{{offspring8}}}]]</format>
<data source="sibling11">Name</data>
</data>
<data source="sibling12">Name</data>
<data source="offspring9">
</group>
<format>[[{{{offspring9}}}]]</format>
</group>
</data>
<group>
</group>
<header source="relatives">Relatives</header>
<group layout="horizontal">
<group layout="horizontal">
<data source="offspring10">
<data source="relative1">Name</data>
<format>[[{{{offspring10}}}]]</format>
<data source="relative2">Name</data>
</data>
<data source="relative3">Name</data>
<data source="offspring11">
</group>
<format>[[{{{offspring11}}}]]</format>
<group layout="horizontal">
</data>
<data source="relative4">Name</data>
<data source="offspring12">
<data source="relative5">Name</data>
<format>[[{{{offspring12}}}]]</format>
<data source="relative6">Name</data>
</data>
</group>
</group>
<group layout="horizontal">
</group>
<data source="relative7">Name</data>
<group>
<data source="relative8">Name</data>
<header source="parents">Parents</header>
<data source="relative9">Name</data>
<data source="mother">
<label>Mother</label>
<format>{{#genealogy:parent | {{{mother}}} }}</format>
</data>
<data source="father">
<label>Father</label>
<format>{{#genealogy:parent | {{{father}}} }}</format>
</data>
</group>
<group>
<header source="siblings">Siblings</header>
<group layout="horizontal">
<data source="sibling">
<default>{{#genealogy:siblings|exclude_self=yes}}</default>
</data>
<data source="sibling2">Name</data>
<data source="sibling3">Name</data>
</group>
<group layout="horizontal">
<data source="sibling4">Name</data>
<data source="sibling5">Name</data>
<data source="sibling6">Name</data>
</group>
<group layout="horizontal">
<data source="sibling7">Name</data>
<data source="sibling8">Name</data>
<data source="sibling9">Name</data>
</group>
<group layout="horizontal">
<data source="sibling10">Name</data>
<data source="sibling11">Name</data>
<data source="sibling12">Name</data>
</group>
</group>
<group>
<header source="relatives">Relatives</header>
<group layout="horizontal">
<data source="relative1">Name</data>
<data source="relative2">Name</data>
<data source="relative3">Name</data>
</group>
<group layout="horizontal">
<data source="relative4">Name</data>
<data source="relative5">Name</data>
<data source="relative6">Name</data>
</group>
<group layout="horizontal">
<data source="relative7">Name</data>
<data source="relative8">Name</data>
<data source="relative9">Name</data>
</group>
</group>
</group>
</group>
</group>
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}</includeonly><noinclude>{{Documentation}}<templatedata>
</group>
{
</infobox>
"params": {
"name": {
"required": true
},
"image": {
"type": "wiki-file-name"
},
"aliases": {},
"affiliation": {
"type": "wiki-page-name"
},
"affiliation2": {
"type": "wiki-page-name"
},
"affiliation3": {
"type": "wiki-page-name"
},
"affiliation4": {
"type": "wiki-page-name"
},
"affiliation5": {
"type": "wiki-page-name"
},
"occupation": {},
"marital": {},
"partner1": {
"type": "wiki-page-name"
},
"partner2": {
"type": "wiki-page-name"
},
"partner3": {
"type": "wiki-page-name"
},
"birthDate": {},
"birthPlace": {},
"deathDate": {},
"deathPlace": {},
"role": {},
"species": {},
"hair": {},
"eyes": {},
"skin": {},
"feathers": {},
"scales": {},
"fur": {},
"gender": {
"aliases": [
"Gender",
"Sex",
"sex"
],
"type": "content",
"suggestedvalues": [
"[[Gender|Male]]",
"[[Gender|Female]]",
"[[Gender|Hermaphrodite]]"
]
},
"height": {},
"weight": {},
"physique": {},
"features": {},
"family": {},
"twin": {
"type": "wiki-page-name"
},
"mother": {
"type": "wiki-page-name"
        },
"father": {
        "type": "wiki-page-name"
        },
"offspring1": {
"type": "wiki-page-name"
},
"offspring2": {
"type": "wiki-page-name"
},
"offspring3": {
"type": "wiki-page-name"
},
"offspring4": {
"type": "wiki-page-name"
},
"offspring5": {
"type": "wiki-page-name"
},
"offspring6": {
"type": "wiki-page-name"
},
"offspring7": {
"type": "wiki-page-name"
},
"offspring8": {
"type": "wiki-page-name"
},
"offspring9": {
"type": "wiki-page-name"
},
"offspring10": {
"type": "wiki-page-name"
},
"offspring11": {
"type": "wiki-page-name"
},
"offspring12": {
"type": "wiki-page-name"
},
"sibling1": {
"type": "wiki-page-name"
},
"sibling2": {
"type": "wiki-page-name"
},
"sibling3": {
"type": "wiki-page-name"
},
"sibling4": {
"type": "wiki-page-name"
},
"sibling5": {
"type": "wiki-page-name"
},
"sibling6": {
"type": "wiki-page-name"
},
"sibling7": {
"type": "wiki-page-name"
},
"sibling8": {
"type": "wiki-page-name"
},
"sibling9": {
"type": "wiki-page-name"
},
"sibling10": {
"type": "wiki-page-name"
},
"sibling11": {
"type": "wiki-page-name"
},
"sibling12": {
"type": "wiki-page-name"
},
"relative1": {
"type": "wiki-page-name"
        },
"relative2": {
"type": "wiki-page-name"
        },
"relative3": {
"type": "wiki-page-name"
        },
"relative4": {
"type": "wiki-page-name"
        },
"relative5": {
"type": "wiki-page-name"
        },
"relative6": {
"type": "wiki-page-name"
        },
"relative7": {
"type": "wiki-page-name"
        },
"relative8": {
"type": "wiki-page-name"
        },
"relative9": {
"type": "wiki-page-name"
        },
"universe": {
"type": "wiki-page-name"
        },
"homeworld": {},
"imagecaption": {},
"oed": {
"type": "content",
"required": true
},
"ipa": {},
"titles": {},
"lovers1": {
"type": "wiki-page-name"
},
"lovers2": {
"type": "wiki-page-name"
},
"lovers3": {
"type": "wiki-page-name"
},
"lovers4": {
"type": "wiki-page-name"
},
"lovers5": {
"type": "wiki-page-name"
},
"lovers6": {
"type": "wiki-page-name"
},
"allegiance": {},
"cause_of_death": {},
"status": {},
"race": {},
"valorik": {}
},
"description": "Quick and Detailed Information Set for Characters from across the Universes.",
"paramOrder": [
"name",
"valorik",
"oed",
"ipa",
"image",
"imagecaption",
"aliases",
"titles",
"affiliation",
"affiliation2",
"affiliation3",
"affiliation4",
"affiliation5",
"occupation",
"universe",
"homeworld",
"allegiance",
"marital",
"partner1",
"partner2",
"partner3",
"lovers1",
"lovers2",
"lovers3",
"lovers4",
"lovers5",
"lovers6",
"birthDate",
"birthPlace",
"deathDate",
"deathPlace",
"cause_of_death",
"status",
"role",
"species",
"race",
"hair",
"eyes",
"skin",
"feathers",
"scales",
"fur",
"gender",
"height",
"weight",
"physique",
"features",
"family",
"twin",
"offspring1",
"offspring2",
"offspring3",
"offspring4",
"offspring5",
"offspring6",
"offspring7",
"offspring8",
"offspring9",
"offspring10",
"offspring11",
"offspring12",
"mother",
"father",
"sibling1",
"sibling2",
"sibling3",
"sibling4",
"sibling5",
"sibling6",
"sibling7",
"sibling8",
"sibling9",
"sibling10",
"sibling11",
"sibling12",
"relative1",
"relative2",
"relative3",
"relative4",
"relative5",
"relative6",
"relative7",
"relative8",
"relative9"
],
"format": "block"
}
</templatedata>[[Category:Templates]] [[Category:Infobox templates]]</noinclude>