Jump to content

Template:Character2: Difference between revisions

 
(16 intermediate revisions by the same user not shown)
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 source="ipa">
<label>IPA Pronunciation</label>
<format>[[wikipedia:Help:IPA|IPA]]:{{{ipa}}}</format>
</data>
</group>
<image source="image">
<caption source="imagecaption" />
</image>
<group>
<header>General Information</header>
<data source="aliases"><label>Aliases</label></data>
<data source="titles"><label>Titles</label></data>
<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|}}}]] }}</data>{{#if: {{{affiliation5|}}} | * [[{{{affiliation4|}}}]]<br> | {{#if {{{affiliation4}}} | [[{{{affiliation4|}}}]] }}{{#if {{{affiliation5}}} | [[{{{affiliation5|}}}]] }}
<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: {{{partner2|}}} | {{#genealogy:partner | {{{partner2}}} }} }}<!--
-->{{#if: {{{partner3|}}} | {{#genealogy:partner | {{{partner3}}} }} }}</format></data>
<data source="lovers1"><label>Lovers</label><format>{{#genealogy:partners}}<!--
-->{{#if: {{{lovers1|}}} | {{#genealogy:partner | {{{lovers1}}} }} }}<!--
-->{{#if: {{{lovers2|}}} | {{#genealogy:partner | {{{lovers2}}} }} }}<!--
-->{{#if: {{{lovers3|}}} | {{#genealogy:partner | {{{lovers3}}} }} }}<!--
-->{{#if: {{{lovers4|}}} | {{#genealogy:partner | {{{lovers4}}} }} }}<!--
-->{{#if: {{{lovers5|}}} | {{#genealogy:partner | {{{lovers5}}} }} }}<!--
-->{{#if: {{{lovers6|}}} | {{#genealogy:partner | {{{lovers6}}} }} }}</format></data>
<data source="birthDate"><label>Date of birth</label></data>
<data source="birthPlace"><label>Place of birth</label><format>[[{{{birthPlace|}}}]]</format></data>
<data source="birthCity"><label>Place of birth</label><format>[[{{{birthCity|}}}]], [[{{{birthPlanet|}}}]]</format></data>
<data source="deathDate"><label>Date of death</label></data>
<data source="deathPlace"><label>Place of death</label></data>
<data source="cause_of_death"><label>Cause of death</label></data>
<data source="status"><label>Status</label></data>
<data source="role"><label>Role</label></data>
</group>
<group>
<header>Physical description</header>
<data source="species"><label>Species</label></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>
<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 layout="horizontal">
<data source="offspring4"><format>[[{{{offspring4|}}}]]</format></data>
<data source="offspring5"><format>[[{{{offspring5|}}}]]</format></data>
<data source="offspring6"><format>[[{{{offspring6|}}}]]</format></data>
</group>
<group layout="horizontal">
<data source="offspring7"><format>[[{{{offspring7|}}}]]</format></data>
<data source="offspring8"><format>[[{{{offspring8|}}}]]</format></data>
<data source="offspring9"><format>[[{{{offspring9|}}}]]</format></data>
</group>
<group layout="horizontal">
<data source="offspring10"><format>[[{{{offspring1|}}}]]</format></data>
<data source="offspring11"><format>[[{{{offspring1|}}}]]</format></data>
<data source="offspring12"><format>[[{{{offspring1|}}}]]</format></data>
</group>
</group>
<group>
<header source="parents">Parents</header>
<data source="mother">
<label>Mother</label>
<format>{{#genealogy:parent | {{{mother}}} }}</format>
</data>
</data>
<data source="father">
<group>
<label>Father</label>
<header source="pronunciation">Pronunciation</header>
<format>{{#genealogy:parent | {{{father}}} }}</format>
<data source="oed">
</data>
<label>OED Pronunciation</label>
</group>
<format>[[wikipedia:Oxford_English_Dictionary|OED]]: {{{oed}}}</format>
<group>
</data>
<header source="siblings">Siblings</header>
<data source="ipa">
<group layout="horizontal">
<label>IPA Pronunciation</label>
<data source="sibling"><default>{{#genealogy:siblings|exclude_self=yes}}</default></data>
<format>[[wikipedia:Help:IPA|IPA]]:{{{ipa}}}</format>
<data source="sibling2">Name</data>
</data>
<data source="sibling3">Name</data>
</group>
</group>
<group layout="horizontal">
<image source="image">
<data source="sibling4">Name</data>
<caption source="imagecaption" />
<data source="sibling5">Name</data>
</image>
<data source="sibling6">Name</data>
<group>
<header>General Information</header>1
<data source="aliases"><label>Aliases</label></data>
<data source="titles"><label>Titles</label></data>
<data source="affiliation"><label>Affiliation</label>
<format>
{{#if:
{{{affiliation|{{{affiliation2|{{{affiliation3|{{{affiliation4|{{{affiliation5|}}}}}}}}}}}}}}} |
{{#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}}}]]}} }}| class=affiliations }} | }}
</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>
<format>[[{{{homeworld}}}]]</format>
</data>
<data source="allegiance"><label>Allegiance</label></data>
</group>
</group>
<group layout="horizontal">
<group>
<data source="sibling7">Name</data>
<header>Biographical Information</header>
<data source="sibling8">Name</data>
<data source="marital"><label>Marital status</label></data>
<data source="sibling9">Name</data>
<data source="partner1"><label>Partner</label>
  <format>
  <!-- Block genealogy calls on generic-concept pages like "Partner" -->
  {{#switch: {{lc:{{PAGENAME}}}}
  | partner =  <!-- do nothing on page "Partner" -->
  | spouse =    <!-- example: also block on a page named "Spouse" -->
  | lover  =    <!-- example: also block on a page named "Lover" -->
  | #default =
      {{#if: {{{partner1|}}} | {{#genealogy:partner | {{{partner1}}} | type=partner }} }}
      {{#if: {{{partner2|}}} | {{#genealogy:partner | {{{partner2}}} | type=partner }} }}
      {{#if: {{{partner3|}}} | {{#genealogy:partner | {{{partner3}}} | type=partner }} }}
 
      {{#if: {{{lover1|}}} | {{#genealogy:partner | {{{lover1}}} | type=lover }} }}
      {{#if: {{{lover2|}}} | {{#genealogy:partner | {{{lover2}}} | type=lover }} }}
      {{#if: {{{lover3|}}} | {{#genealogy:partner | {{{lover3}}} | type=lover }} }}
      {{#if: {{{lover4|}}} | {{#genealogy:partner | {{{lover4}}} | type=lover }} }}
      {{#if: {{{lover5|}}} | {{#genealogy:partner | {{{lover5}}} | type=lover }} }}
      {{#if: {{{lover6|}}} | {{#genealogy:partner | {{{lover6}}} | type=lover }} }}
  }}
  </format>
</data>
 
<data source="birthDate"><label>Date of birth</label></data>
<data source="birthPlace"><label>Place of birth</label>
<format>[[{{{birthPlace}}}]], [[{{{birthPlanet}}}]]</format>
</data>
<data source="deathDate"><label>Date of death</label></data>
<data source="deathPlace"><label>Place of death</label><format>[[{{{deathPlace}}}]], [[{{{deathPlanet}}}]]</format></data>
<data source="cause_of_death"><label>Cause of death</label></data>
<data source="status"><label>Status</label></data>
<data source="role"><label>Role</label></data>
</group>
</group>
<group layout="horizontal">
<group>
<data source="sibling10">Name</data>
<header>Physical description</header>
<data source="sibling11">Name</data>
<data source="species"><label>Species</label></data>
<data source="sibling12">Name</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>
 
<group>
<group>
<header source="relatives">Relatives</header>
<header source="family"><big><big>
<group layout="horizontal">
<div style="text-align: center;">Family</div>
<data source="relative1">Name</data>
</big></big></header>
<data source="relative2">Name</data>
<group>
<data source="relative3">Name</data>
<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 layout="horizontal">
<data source="offspring4">
<format>[[{{{offspring4}}}]]</format>
</data>
<data source="offspring5">
<format>[[{{{offspring5}}}]]</format>
</data>
<data source="offspring6">
<format>[[{{{offspring6}}}]]</format>
</data>
</group>
<group layout="horizontal">
<data source="offspring7">
<format>[[{{{offspring7}}}]]</format>
</data>
<data source="offspring8">
<format>[[{{{offspring8}}}]]</format>
</data>
<data source="offspring9">
<format>[[{{{offspring9}}}]]</format>
</data>
</group>
<group layout="horizontal">
<data source="offspring10">
<format>[[{{{offspring10}}}]]</format>
</data>
<data source="offspring11">
<format>[[{{{offspring11}}}]]</format>
</data>
<data source="offspring12">
<format>[[{{{offspring12}}}]]</format>
</data>
</group>
</group>
<group>
<header source="parents">Parents</header>
<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"><format>{{{sibling2|}}}</format></data>
<data source="sibling3"><format>{{{sibling3|}}}</format></data>
</group>
<group layout="horizontal">
<data source="sibling4"><format>{{{sibling4|}}}</format>Name</data>
<data source="sibling5"><format>{{{sibling5|}}}</format></data>
<data source="sibling6"><format>{{{sibling6|}}}</format></data>
</group>
<group layout="horizontal">
<data source="sibling7"><format>{{{sibling7|}}}</format></data>
<data source="sibling8"><format>{{{sibling8|}}}</format></data>
<data source="sibling9"><format>{{{sibling9|}}}</format></data>
</group>
<group layout="horizontal">
<data source="sibling10"><format>{{{sibling10|}}}</format></data>
<data source="sibling11"><format>{{{sibling11|}}}</format></data>
<data source="sibling12"><format>{{{sibling12|}}}</format></data>
</group>
</group>
<group>
  <header>Relatives</header>
  <data source="relative1">
  <format>
    {{#if: {{{relative1|{{{relative2|{{{relative3|}}}}}}}}} |
      <ul class="relatives-list">
        {{#if: {{{relative1|}}} | <li>[[{{{relative1}}}]]</li> }}
        {{#if: {{{relative2|}}} | <li>[[{{{relative2}}}]]</li> }}
        {{#if: {{{relative3|}}} | <li>[[{{{relative3}}}]]</li> }}
        {{#if: {{{relative4|}}} | <li>[[{{{relative4}}}]]</li> }}
        {{#if: {{{relative5|}}} | <li>[[{{{relative5}}}]]</li> }}
        {{#if: {{{relative6|}}} | <li>[[{{{relative6}}}]]</li> }}
        {{#if: {{{relative7|}}} | <li>[[{{{relative7}}}]]</li> }}
        {{#if: {{{relative8|}}} | <li>[[{{{relative8}}}]]</li> }}
        {{#if: {{{relative9|}}} | <li>[[{{{relative9}}}]]</li> }}
      </ul>
    }}
  </format>
  </data>
</group>
 
</group>
</group>
<group layout="horizontal">
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}
<data source="relative4">Name</data>
</includeonly>
<data source="relative5">Name</data>
<noinclude>{{Documentation}}<templatedata>
<data source="relative6">Name</data>
{
</group>
"params": {
<group layout="horizontal">
<data source="relative7">Name</data>
<data source="relative8">Name</data>
<data source="relative9">Name</data>
</group>
</group>
</group>
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}</includeonly><noinclude>{{Documentation}}<templatedata>
{
"params": {
"name": {
"name": {
"required": true
    "required": true
},
},
"image": {
"image": {
Line 166: Line 238:
},
},
"affiliation3": {
"affiliation3": {
"type": "wiki-page-name"
"type": "wiki-page-name"
},
},
"affiliation4": {
"affiliation4": {
"type": "wiki-page-name"
"type": "wiki-page-name"
},
},
"affiliation5": {
"affiliation5": {
"type": "wiki-page-name"
"type": "wiki-page-name"
},
},
"occupation": {},
"occupation": {},
Line 183: Line 255:
},
},
"partner3": {
"partner3": {
"type": "wiki-page-name"
},
        "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"
"type": "wiki-page-name"
},
},
"birthDate": {},
"birthDate": {},
"birthPlace": {},
"birthPlace": {
"type": "wiki-page-name"
},
"birthPlanet": {
"type": "wiki-page-name"
},
"deathDate": {},
"deathDate": {},
"deathPlace": {},
"deathPlace": {
    "type": "wiki-page-name"
},
"deathPlanet": {
    "type": "wiki-page-name"
},
"role": {},
"role": {},
"species": {},
"species": {},
Line 198: Line 298:
"fur": {},
"fur": {},
"gender": {
"gender": {
"aliases": [
"aliases": [
"Gender",
            "Gender",
"Sex",
            "Sex",
"sex"
            "sex"
],
],
"type": "content",
"type": "content",
"suggestedvalues": [
"suggestedvalues": [
"[[Gender|Male]]",
            "[[Gender|Male]]",
"[[Gender|Female]]",
            "[[Gender|Female]]",
"[[Gender|Hermaphrodite]]"
            "[[Gender|Hermaphrodite]]"
]
]
},
},
"height": {},
"height": {},
Line 219: Line 319:
},
},
"mother": {
"mother": {
"type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"father": {
"father": {
        "type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"offspring1": {
"offspring1": {
"type": "wiki-page-name"
"type": "wiki-page-name"
Line 298: Line 398:
"relative1": {
"relative1": {
"type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"relative2": {
"relative2": {
"type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"relative3": {
"relative3": {
"type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"relative4": {
"relative4": {
"type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"relative5": {
"relative5": {
"type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"relative6": {
"relative6": {
"type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"relative7": {
"relative7": {
"type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"relative8": {
"relative8": {
"type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"relative9": {
"relative9": {
"type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"universe": {
"universe": {
"type": "wiki-page-name"
"type": "wiki-page-name"
        },
},
"homeworld": {},
"homeworld": {
"type": "wiki-page-name"
},
"imagecaption": {},
"imagecaption": {},
"oed": {
"oed": {
"type": "content",
"type": "content",
"required": true
"required": true
},
},
"ipa": {},
"ipa": {},
"titles": {},
"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": {},
"allegiance": {},
"cause_of_death": {},
"cause_of_death": {},
Line 357: Line 441:
"race": {},
"race": {},
"valorik": {}
"valorik": {}
},
},
"description": "Quick and Detailed Information Set for Characters from across the Universes.",
"description": "Quick and Detailed Information Set for Characters from across the Universes.",
"paramOrder": [
"paramOrder": [
"name",
            "name",
"valorik",
            "valorik",
"oed",
            "oed",
"ipa",
            "ipa",
"image",
            "image",
"imagecaption",
            "imagecaption",
"aliases",
            "aliases",
"titles",
            "titles",
"affiliation",
            "affiliation",
"affiliation2",
            "affiliation2",
"affiliation3",
            "affiliation3",
"affiliation4",
            "affiliation4",
"affiliation5",
            "affiliation5",
"occupation",
            "occupation",
"universe",
            "universe",
"homeworld",
            "homeworld",
"allegiance",
            "allegiance",
"marital",
            "marital",
"partner1",
            "partner1",
"partner2",
            "partner2",
"partner3",
            "partner3",
"lovers1",
            "lovers1",
"lovers2",
            "lovers2",
"lovers3",
            "lovers3",
"lovers4",
            "lovers4",
"lovers5",
            "lovers5",
"lovers6",
            "lovers6",
"birthDate",
            "birthDate",
"birthPlace",
            "birthPlace",
"deathDate",
            "birthPlanet",
"deathPlace",
            "deathDate",
"cause_of_death",
            "deathPlace",
"status",
            "deathPlanet",
"role",
            "cause_of_death",
"species",
            "status",
"race",
            "role",
"hair",
            "species",
"eyes",
            "race",
"skin",
            "hair",
"feathers",
            "eyes",
"scales",
            "skin",
"fur",
            "feathers",
"gender",
            "scales",
"height",
            "fur",
"weight",
            "gender",
"physique",
            "height",
"features",
            "weight",
"family",
            "physique",
"twin",
            "features",
"offspring1",
            "family",
"offspring2",
            "twin",
"offspring3",
            "offspring1",
"offspring4",
            "offspring2",
"offspring5",
            "offspring3",
"offspring6",
            "offspring4",
"offspring7",
            "offspring5",
"offspring8",
            "offspring6",
"offspring9",
            "offspring7",
"offspring10",
            "offspring8",
"offspring11",
            "offspring9",
"offspring12",
            "offspring10",
"mother",
            "offspring11",
"father",
            "offspring12",
"sibling1",
            "mother",
"sibling2",
            "father",
"sibling3",
            "sibling1",
"sibling4",
            "sibling2",
"sibling5",
            "sibling3",
"sibling6",
            "sibling4",
"sibling7",
            "sibling5",
"sibling8",
            "sibling6",
"sibling9",
            "sibling7",
"sibling10",
            "sibling8",
"sibling11",
            "sibling9",
"sibling12",
            "sibling10",
"relative1",
            "sibling11",
"relative2",
            "sibling12",
"relative3",
            "relative1",
"relative4",
            "relative2",
"relative5",
            "relative3",
"relative6",
            "relative4",
"relative7",
            "relative5",
"relative8",
            "relative6",
"relative9"
            "relative7",
],
            "relative8",
"format": "block"
            "relative9"
}
],
</templatedata>[[Category:Templates]] [[Category:Infobox templates]]</noinclude>
"format": "block"
}
</templatedata>[[Category:Templates]] [[Category:Infobox templates]]</noinclude>