Template:Character2: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) |
Cdjensen94 (talk | contribs) |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 22: | Line 22: | ||
</image> | </image> | ||
<group> | <group> | ||
<header>General Information</header> | <header>General Information</header>1 | ||
<data source="aliases"><label>Aliases</label></data> | <data source="aliases"><label>Aliases</label></data> | ||
<data source="titles"><label>Titles</label></data> | <data source="titles"><label>Titles</label></data> | ||
<data source="affiliation"><label>Affiliation</label> | <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|}}} | | |||
</data> | {{#tag:li|[[{{{affiliation5}}}]]}} }}| class=affiliations }} | }} | ||
<data source="occupation"><label>Occupation</label></data> | </format> | ||
</data> | |||
<data source="occupation"><label>Occupation</label></data> | |||
<data source="universe"><label>Universe</label> | <data source="universe"><label>Universe</label> | ||
<format>[[{{{universe|}}}]]</format> | <format>[[{{{universe|}}}]]</format> | ||
</data> | </data> | ||
<data source="homeworld"><label>Homeworld</label></data> | <data source="homeworld"><label>Homeworld</label> | ||
<format>[[{{{homeworld}}}]]</format> | |||
</data> | |||
<data source="allegiance"><label>Allegiance</label></data> | <data source="allegiance"><label>Allegiance</label></data> | ||
</group> | </group> | ||
| Line 45: | Line 49: | ||
<header>Biographical Information</header> | <header>Biographical Information</header> | ||
<data source="marital"><label>Marital status</label></data> | <data source="marital"><label>Marital status</label></data> | ||
<data source="partner1"><label> | <data source="partner1"><label>Partner</label> | ||
<format> | |||
-->{{#if: {{{partner1|}}} | {{#genealogy:partner | {{{partner1}}} }} }} | <!-- 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="birthDate"><label>Date of birth</label></data> | ||
<data source="birthPlace"><label>Place of birth</label> | <data source="birthPlace"><label>Place of birth</label> | ||
<format>[[{{{birthPlace | <format>[[{{{birthPlace}}}]], [[{{{birthPlanet}}}]]</format> | ||
</data> | </data> | ||
<data source="deathDate"><label>Date of death</label></data> | <data source="deathDate"><label>Date of death</label></data> | ||
<data source="deathPlace"><label>Place 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="cause_of_death"><label>Cause of death</label></data> | ||
<data source="status"><label>Status</label></data> | <data source="status"><label>Status</label></data> | ||
| Line 170: | Line 178: | ||
<default>{{#genealogy:siblings|exclude_self=yes}}</default> | <default>{{#genealogy:siblings|exclude_self=yes}}</default> | ||
</data> | </data> | ||
<data source="sibling2"> | <data source="sibling2"><format>{{{sibling2|}}}</format></data> | ||
<data source="sibling3"> | <data source="sibling3"><format>{{{sibling3|}}}</format></data> | ||
</group> | </group> | ||
<group layout="horizontal"> | <group layout="horizontal"> | ||
<data source="sibling4">Name</data> | <data source="sibling4"><format>{{{sibling4|}}}</format>Name</data> | ||
<data source="sibling5"> | <data source="sibling5"><format>{{{sibling5|}}}</format></data> | ||
<data source="sibling6"> | <data source="sibling6"><format>{{{sibling6|}}}</format></data> | ||
</group> | </group> | ||
<group layout="horizontal"> | <group layout="horizontal"> | ||
<data source="sibling7"> | <data source="sibling7"><format>{{{sibling7|}}}</format></data> | ||
<data source="sibling8"> | <data source="sibling8"><format>{{{sibling8|}}}</format></data> | ||
<data source="sibling9"> | <data source="sibling9"><format>{{{sibling9|}}}</format></data> | ||
</group> | </group> | ||
<group layout="horizontal"> | <group layout="horizontal"> | ||
<data source="sibling10"> | <data source="sibling10"><format>{{{sibling10|}}}</format></data> | ||
<data source="sibling11"> | <data source="sibling11"><format>{{{sibling11|}}}</format></data> | ||
<data source="sibling12"> | <data source="sibling12"><format>{{{sibling12|}}}</format></data> | ||
</group> | </group> | ||
</group> | </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> | </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}} | ||
{ | </includeonly> | ||
<noinclude>{{Documentation}}<templatedata> | |||
{ | |||
"params": { | |||
"name": { | "name": { | ||
"required": true | |||
}, | }, | ||
"image": { | "image": { | ||
| Line 225: | Line 238: | ||
}, | }, | ||
"affiliation3": { | "affiliation3": { | ||
"type": "wiki-page-name" | |||
}, | }, | ||
"affiliation4": { | "affiliation4": { | ||
"type": "wiki-page-name" | |||
}, | }, | ||
"affiliation5": { | "affiliation5": { | ||
"type": "wiki-page-name" | |||
}, | }, | ||
"occupation": {}, | "occupation": {}, | ||
| Line 242: | 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 257: | Line 298: | ||
"fur": {}, | "fur": {}, | ||
"gender": { | "gender": { | ||
"aliases": [ | |||
"Gender", | |||
"Sex", | |||
"sex" | |||
], | |||
"type": "content", | "type": "content", | ||
"suggestedvalues": [ | |||
"[[Gender|Male]]", | |||
"[[Gender|Female]]", | |||
"[[Gender|Hermaphrodite]]" | |||
] | |||
}, | }, | ||
"height": {}, | "height": {}, | ||
| Line 278: | Line 319: | ||
}, | }, | ||
"mother": { | "mother": { | ||
"type": "wiki-page-name" | |||
}, | |||
"father": { | "father": { | ||
"type": "wiki-page-name" | |||
}, | |||
"offspring1": { | "offspring1": { | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
| Line 357: | 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 | |||
}, | }, | ||
"ipa": {}, | "ipa": {}, | ||
"titles": {}, | "titles": {}, | ||
"allegiance": {}, | "allegiance": {}, | ||
"cause_of_death": {}, | "cause_of_death": {}, | ||
| Line 416: | 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", | |||
"relative5", | |||
"relative6", | |||
"relative7", | |||
"relative8", | |||
"relative9" | |||
} | ], | ||
</templatedata>[[Category:Templates]] [[Category:Infobox templates]]</noinclude> | "format": "block" | ||
} | |||
</templatedata>[[Category:Templates]] [[Category:Infobox templates]]</noinclude> | |||