Template:Dual Character Details: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(typo)
(Default job to None for characters under 16)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>Like [[Template:Character Details]], but shows two characters at the same time. Supports all the parameters listed on that page, but with 1 or 2 appended to it. Additionally, you can specify '''character1=''' and '''character2=''' to add an extra heading for each displayed character. If neither is specified, the extra heading will be omitted.</includeonly></includeonly><table class=wikitable style="width:70%">
<noinclude>Like [[Template:Character Details]], but shows two characters at the same time. Supports all the parameters listed on that page, but with 1 or 2 optionally appended. If 1 or 2 is not appended, the cell fills both columns. If both forms are specified, the specific form overrides the generic one.
{{#if:{{{character1|}}}{{{character2|}}}|<tr><td style="width:20%"></td><th>{{{character1|???}}</th><th>{{{character2|???}}}</th></tr>
 
}}<tr><th colspan="3">Physical Features</th></tr>{{#if:{{{birth1|}}}{{{birth2|}}}|
Additionally, you can specify '''character1=''' and '''character2=''' to add an extra heading for each displayed character. If neither is specified, the extra heading will be omitted.</noinclude><includeonly><table class=wikitable style="width:70%">
{{#if:{{{character1|}}}{{{character2|}}}|<tr><td style="width:20%"></td><th>''{{{character1|???}}}''</th><th>''{{{character2|???}}}''</th></tr>
}}<tr><th colspan="3">Physical Features</th></tr>{{#if:{{{birth|}}}{{{birth1|}}}{{{birth2|}}}|
<tr><th style="width:20%">Date of Birth</th>
<tr><th style="width:20%">Date of Birth</th>
<td>{{{birth1}}}</td><td>{{{birth2}}}</td></tr>{{#if:{{{age1|}}}{{{ageapprox1|}}}{{{agenote1|}}}{{{age2|}}}{{{ageapprox2|}}}{{{agenote2|}}}|
{{Character Details/multicell|{{{birth1|}}}|{{{birth2|}}}|span={{{birth|}}}|default=Unknown|colspan=2}}</tr>{{#if:{{{age|}}}{{{ageapprox|}}}{{{agenote|}}}{{{age1|}}}{{{ageapprox1|}}}{{{agenote1|}}}{{{age2|}}}{{{ageapprox2|}}}{{{agenote2|}}}|
<tr><th style="width:20%">Age</th>
<tr><th style="width:20%">Age</th>
{{Template:Character Details/age|age={{{age1|}}}|approxage={{{approxage1|}}}|agenote={{{agenote1|}}}}}
{{#if:{{{age1|}}}{{{ageapprox1|}}}{{{agenote1|}}}{{{age2|}}}{{{ageapprox2|}}}{{{agenote2|}}}
{{Template:Character Details/age|age={{{age2|}}}|approxage={{{approxage2|}}}|agenote={{{agenote2|}}}}}</tr>}}|
|{{Template:Character Details/age|age={{{age1|}}}|approxage={{{approxage1|}}}|agenote={{{agenote1|}}}}}
{{Template:Character Details/age|age={{{age2|}}}|approxage={{{approxage2|}}}|agenote={{{agenote2|}}}}}
|{{Template:Character Details/age|age={{{age|}}}|approxage={{{approxage|}}}|agenote={{{agenote|}}}|colspan=2}}}}</tr>}}|
<tr><th style="width:20%">Age</th>
<tr><th style="width:20%">Age</th>
{{Template:Character Details/age|age={{{age1|}}}|approxage={{{approxage1|}}}|agenote={{{agenote1|}}}}}
{{#if:{{{age1|}}}{{{ageapprox1|}}}{{{agenote1|}}}{{{age2|}}}{{{ageapprox2|}}}{{{agenote2|}}}
{{Template:Character Details/age|age={{{age2|}}}|approxage={{{approxage2|}}}|agenote={{{agenote2|}}}}}</tr>}}
|{{Template:Character Details/age|age={{{age1|}}}|approxage={{{approxage1|}}}|agenote={{{agenote1|}}}}}
{{Template:Character Details/age|age={{{age2|}}}|approxage={{{approxage2|}}}|agenote={{{agenote2|}}}}}
|{{Template:Character Details/age|age={{{age|}}}|approxage={{{approxage|}}}|agenote={{{agenote|}}}|colspan=2}}}}</tr>}}
<tr><th style="width:20%">Eye colour</th>
<tr><th style="width:20%">Eye colour</th>
<td>{{{eyes1|Unknown}}}</td><td>{{{eyes2|Unknown}}}</td></tr>
{{Character Details/multicell|{{{eyes1|}}}|{{{eyes2|}}}|span={{{eyes|}}}|default=Unknown|colspan=2}}</tr>
<tr><th style="width:20%">Hair colour</th>
<tr><th style="width:20%">Hair colour</th>
<td>{{{hair1|Unknown}}}</td><td>{{{hair2|Unknown}}}</td></tr>{{#if:{{{height|}}}|
{{Character Details/multicell|{{{hair1|}}}|{{{hair2|}}}|span={{{hair|}}}|default=Unknown|colspan=2}}</tr>{{#if:{{{height|}}}{{{height1|}}}{{{height2|}}}|
<tr><th style="width:20%">Height</th>
<tr><th style="width:20%">Height</th>
<td>{{{height1}}}</td><td>{{{height2}}}</td></tr>}}{{#if:{{{weight|}}}|
{{Character Details/multicell|{{{height1|}}}|{{{height2|}}}|span={{{height|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{weight|}}}{{{weight1|}}}{{{weight2|}}}|
<tr><th style="width:20%">Weight</th>
<tr><th style="width:20%">Weight</th>
<td>{{{weight1}}}</td><td>{{{weight2}}}</td></tr>}}{{#if:{{{blood|}}}|
{{Character Details/multicell|{{{weight1|}}}|{{{weight2|}}}|span={{{weight|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{blood|}}}{{{blood1|}}}{{{blood2|}}}|
<tr><th style="width:20%">Blood type</th>
<tr><th style="width:20%">Blood type</th>
<td>{{{blood1}}}</td><td>{{{blood2}}}</td></tr>}}{{#if:{{{shoe|}}}|
{{Character Details/multicell|{{{blood1|}}}|{{{blood2|}}}|span={{{blood|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{shoe|}}}{{{shoe1|}}}{{{shoe2|}}}|
<tr><th style="width:20%">Shoe Size</th>
<tr><th style="width:20%">Shoe Size</th>
<td>{{{shoe1}}}</td><td>{{{shoe2}}}</td></tr>}}{{#if:{{{soulgem1|}}}{{{weapon1|}}}{{{witch1|}}}{{{witchlink1|}}}{{{doppel1|}}}{{{powers1|}}}{{{wish1|}}}{{{soulgem2|}}}{{{weapon2|}}}{{{witch2|}}}{{{witchlink2|}}}{{{doppel2|}}}{{{powers2|}}}{{{wish2|}}}|
{{Character Details/multicell|{{{shoe1|}}}|{{{shoe2|}}}|span={{{shoe|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{soulgem|}}}{{{weapon|}}}{{{witch|}}}{{{witchlink|}}}{{{doppel|}}}{{{powers|}}}{{{wish|}}}{{{soulgem1|}}}{{{weapon1|}}}{{{witch1|}}}{{{witchlink1|}}}{{{doppel1|}}}{{{powers1|}}}{{{wish1|}}}{{{soulgem2|}}}{{{weapon2|}}}{{{witch2|}}}{{{witchlink2|}}}{{{doppel2|}}}{{{powers2|}}}{{{wish2|}}}|
<tr><th colspan="2">Magic</th></tr>
<tr><th colspan="3">Magic</th></tr>
<tr><th style="width:20%">Soul Gem</th>
<tr><th style="width:20%">Soul Gem</th>
<td>{{{soulgem1|}}}</td><td>{{{soulgem2|}}}</td></tr>
{{Character Details/multicell|{{{soulgem1|}}}|{{{soulgem2|}}}|span={{{soulgem|}}}|default=Unknown|colspan=2}}</tr>
<tr><th style="width:20%">Weapon</th>
<tr><th style="width:20%">Weapon</th>
<td>{{{weapon1|}}}</td><td>{{{weapon2|}}}</td></tr>
{{Character Details/multicell|{{{weapon1|}}}|{{{weapon2|}}}|span={{{weapon|}}}|default=Unknown|colspan=2}}</tr>
<tr><th style="width:20%">Witch Form</th>
<tr><th style="width:20%">Witch Form</th>
{{Template:Character Details/witch|witch={{{witch1|}}}|witchlink={{{witchlink1|}}}|witchnote={{{witchnote1|}}}|doppel={{{doppel1|}}}}}
{{#if:{{{witch1|}}}{{{witchlink1|}}}{{{doppel1|}}}{{{witch2|}}}{{{witchlink2|}}}{{{doppel2|}}}
{{Template:Character Details/witch|witch={{{witch2|}}}|witchlink={{{witchlink2|}}}|witchnote={{{witchnote2|}}}|doppel={{{doppel2|}}}}}</tr>
|{{Template:Character Details/witch|witch={{{witch1|}}}|witchlink={{{witchlink1|}}}|witchnote={{{witchnote1|}}}|doppel={{{doppel1|}}}}}
<tr><th style="width:20%">[[{{{mainpage|}}}#Powers and Abilities|Powers and Abilities]]</th>
{{Template:Character Details/witch|witch={{{witch2|}}}|witchlink={{{witchlink2|}}}|witchnote={{{witchnote2|}}}|doppel={{{doppel2|}}}}}
<td>{{{powers1|Unknown}}}</td><td>{{{powers2|Unknown}}}</td></tr>
|{{Template:Character Details/witch|witch={{{witch|}}}|witchlink={{{witchlink|}}}|witchnote={{{witchnote|}}}|doppel={{{doppel|}}}|colspan=2}}}}</tr>
<tr><th style="width:20%">{{#if:{{{mainpage1|}}}{{{mainpage2|}}}|[[{{{mainpage1|}}}#Powers and Abilities|Powers]] and [[{{{mainpage2|}}}#Powers and Abilities|Abilities]]|[[{{{mainpage|}}}#Powers and Abilities|Powers and Abilities]]}}</th>
{{Character Details/multicell|{{{powers1|}}}|{{{powers2|}}}|span={{{powers|}}}|default=Unknown|colspan=2}}</tr>
<tr><th style="width:20%">Wish</th>
<tr><th style="width:20%">Wish</th>
<td>{{{wish1|Unknown}}}</td><td>{{{wish2|Unknown}}}</td></tr>}}
{{Character Details/multicell|{{{wish1|}}}|{{{wish2|}}}|span={{{wish|}}}|default=Unknown|colspan=2}}</tr>}}
<tr><th colspan="2">Other</th></tr>{{#if:{{{job|}}}|
<tr><th colspan="3">Other</th></tr>{{#if:{{{job|}}}{{{job1|}}}{{{job2|}}}|
<tr><th style="width:20%">Occupation</th>
<tr><th style="width:20%">Occupation</th>
<td>{{{job1}}}</td><td>{{{job2}}}</td></tr>}}{{#if:{{{likes|}}}|
{{Character Details/multicell|{{{job1|}}}|{{{job2|}}}|span={{{job|}}}|default={{#ifeq:{{#expr:{{{age|0}}} < 16}}|1|None|Unknown}}|colspan=2}}</tr>}}{{#if:{{{likes|}}}{{{likes1|}}}{{{likes2|}}}|
<tr><th style="width:20%">Likes</th>
<tr><th style="width:20%">Likes</th>
<td>{{{likes1}}}</td><td>{{{likes2}}}</td></tr>}}{{#if:{{{dislikes|}}}|
{{Character Details/multicell|{{{likes1|}}}|{{{likes2|}}}|span={{{likes|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{dislikes|}}}{{{dislikes1|}}}{{{dislikes2|}}}|
<tr><th style="width:20%">Dislikes</th>
<tr><th style="width:20%">Dislikes</th>
<td>{{{dislikes1}}}</td><td>{{{dislikes2}}}</td></tr>}}{{#if:{{{strengths|}}}|
{{Character Details/multicell|{{{dislikes1|}}}|{{{dislikes2|}}}|span={{{dislikes|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{strengths|}}}{{{strengths1|}}}{{{strengths2|}}}|
<tr><th style="width:20%">Strengths</th>
<tr><th style="width:20%">Strengths</th>
<td>{{{strengths1}}}</td><td>{{{strengths2}}}</td></tr>}}{{#if:{{{weaknesses|}}}|
{{Character Details/multicell|{{{strengths1|}}}|{{{strengths2|}}}|span={{{strengths|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{weaknesses|}}}{{{weaknesses1|}}}{{{weaknesses2|}}}|
<tr><th style="width:20%">Weaknesses</th>
<tr><th style="width:20%">Weaknesses</th>
<td>{{{weaknesses1}}}</td><td>{{{weaknesses2}}}</td></tr>}}
{{Character Details/multicell|{{{weaknesses1|}}}|{{{weaknesses2|}}}|span={{{weaknesses|}}}|default=Unknown|colspan=2}}</tr>}}
<tr><th style="width:20%">Japanese pronoun</th>
<tr><th style="width:20%">Japanese pronoun</th>
<td>{{{pronoun1|Unknown}}}</td><td>{{{pronoun2|Unknown}}}</td></tr>
{{Character Details/multicell|{{{pronoun1|}}}|{{{pronoun2|}}}|span={{{pronoun|}}}|default=Unknown|colspan=2}}</tr>
<tr><th style="width:20%">Known relatives</th>
<tr><th style="width:20%">Known relatives</th>
<td>{{{relatives1|None known}}}</td><td>{{{relatives2|None known}}}</td></tr>
{{Character Details/multicell|{{{relatives1|}}}|{{{relatives2|}}}|span={{{relatives|}}}|default=None known|colspan=2}}</tr>
<tr><th style="width:20%">Origins</th>
<tr><th style="width:20%">Origins</th>
<td>{{{origin1|Unknown}}}</td><td>{{{origin2|Unknown}}}</td></tr>
{{Character Details/multicell|{{{origin1|}}}|{{{origin2|}}}|span={{{origin|}}}|default=Unknown|colspan=2}}</tr>
<tr><th style="width:20%">School</th>
<tr><th style="width:20%">School</th>
<td>{{{school1|Not attending}}}</td><td>{{{school2|Not attending}}}</td></tr>{{#if:{{{affiliation|}}}|
{{Character Details/multicell|{{{school1|}}}|{{{school2|}}}|span={{{school|}}}|default=Not attending|colspan=2}}</tr>{{#if:{{{affiliation|}}}{{{affiliation1|}}}{{{affiliation2|}}}|
<tr><th style="width:20%">Affiliation</th>
<tr><th style="width:20%">Affiliation</th>
<td>{{{affiliation1}}}</td><td>{{{affiliation2}}}</td></tr>}}
{{Character Details/multicell|{{{affiliation1|}}}|{{{affiliation2|}}}|span={{{affiliation|}}}|default=None known|colspan=2}}</tr>}}
</table></includeonly>
</table></includeonly>

Latest revision as of 07:09, 3 May 2023

Like Template:Character Details, but shows two characters at the same time. Supports all the parameters listed on that page, but with 1 or 2 optionally appended. If 1 or 2 is not appended, the cell fills both columns. If both forms are specified, the specific form overrides the generic one.

Additionally, you can specify character1= and character2= to add an extra heading for each displayed character. If neither is specified, the extra heading will be omitted.