Template:Character2: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) |
Cdjensen94 (talk | contribs) |
||
| (22 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 | <title source="name" /> | ||
<data source="valorik"><label>Name in Valorik</label> | |||
<format> | |||
<div class="valorik-calligraphy">{{{valorik}}}</div> | |||
</format> | |||
</data> | </data> | ||
<data source=" | <group> | ||
<header source="pronunciation">Pronunciation</header> | |||
<data source="oed"> | |||
<label>OED Pronunciation</label> | |||
<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> | </group> | ||
<group | <image source="image"> | ||
<data source=" | <caption source="imagecaption" /> | ||
<data source=" | </image> | ||
<data source=" | <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 | <group> | ||
<data source=" | <header>Biographical Information</header> | ||
<data source=" | <data source="marital"><label>Marital status</label></data> | ||
<data source=" | <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 | <group> | ||
<data source=" | <header>Physical description</header> | ||
<data source=" | <data source="species"><label>Species</label></data> | ||
<data source=" | <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> | |||
<header source="family"><big><big> | |||
<div style="text-align: center;">Family</div> | |||
<data source=" | </big></big></header> | ||
<data source=" | <group> | ||
<data source="relative3"> | <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> | ||
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}} | |||
</includeonly> | |||
<noinclude>{{Documentation}}<templatedata> | |||
{ | |||
"params": { | |||
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}</includeonly><noinclude>{{Documentation}}<templatedata> | |||
{ | |||
"name": { | "name": { | ||
"required": true | |||
}, | |||
"image": { | |||
"type": "wiki-file-name" | |||
}, | }, | ||
"aliases": {}, | "aliases": {}, | ||
"affiliation": {}, | "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": {}, | "occupation": {}, | ||
"marital": {}, | "marital": {}, | ||
| Line 161: | 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 175: | Line 297: | ||
"scales": {}, | "scales": {}, | ||
"fur": {}, | "fur": {}, | ||
"gender": {}, | "gender": { | ||
"aliases": [ | |||
"Gender", | |||
"Sex", | |||
"sex" | |||
], | |||
"type": "content", | |||
"suggestedvalues": [ | |||
"[[Gender|Male]]", | |||
"[[Gender|Female]]", | |||
"[[Gender|Hermaphrodite]]" | |||
] | |||
}, | |||
"height": {}, | "height": {}, | ||
"weight": {}, | "weight": {}, | ||
| Line 181: | Line 315: | ||
"features": {}, | "features": {}, | ||
"family": {}, | "family": {}, | ||
"mother": {}, | "twin": { | ||
"father": {}, | "type": "wiki-page-name" | ||
}, | |||
"mother": { | |||
"type": "wiki-page-name" | |||
}, | |||
"father": { | |||
"type": "wiki-page-name" | |||
}, | |||
"offspring1": { | "offspring1": { | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
| Line 255: | Line 396: | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"relative1": { | "relative1": { | ||
"type": "wiki-page-name" | |||
" | }, | ||
"relative2": { | |||
" | "type": "wiki-page-name" | ||
}, | |||
"relative3": { | |||
"type": "wiki-page-name" | |||
" | }, | ||
"relative4": { | |||
"type": "wiki-page-name" | |||
}, | |||
" | "relative5": { | ||
"type": " | "type": "wiki-page-name" | ||
}, | }, | ||
" | "relative6": { | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
" | "relative7": { | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
" | "relative8": { | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
" | "relative9": { | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
" | "universe": { | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
" | "homeworld": { | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"imagecaption": {}, | |||
"oed": { | |||
"type": "content", | |||
"required": true | |||
}, | |||
"ipa": {}, | |||
"titles": {}, | |||
"allegiance": {}, | "allegiance": {}, | ||
"cause_of_death": {}, | "cause_of_death": {}, | ||
| Line 296: | Line 441: | ||
"race": {}, | "race": {}, | ||
"valorik": {} | "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", | |||
"birthPlanet", | |||
"deathDate", | |||
"deathPlace", | |||
"deathPlanet", | |||
"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", | ||
</templatedata>[[Category:Templates]] [[Category:Infobox templates]]</noinclude> | "relative5", | ||
"relative6", | |||
"relative7", | |||
"relative8", | |||
"relative9" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata>[[Category:Templates]] [[Category:Infobox templates]]</noinclude> | |||