Template:Dual Character Details: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
No edit summary
(Support full-span cells)
Line 1: Line 1:
<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 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.</noinclude><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.
 
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>
{{#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|}}}|
}}<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>
{{Character Details/multicell|{{{birth1}}}|{{{birth}2}}}}</tr>{{#if:{{{age1|}}}{{{ageapprox1|}}}{{{agenote1|}}}{{{age2|}}}{{{ageapprox2|}}}{{{agenote2|}}}|
{{Character Details/multicell|{{{birth1}}}|{{{birth2}}}|span={{{birth}}}|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:{{{age|}}}{{{ageapprox|}}}{{{agenote|}}}
{{Template:Character Details/age|age={{{age2|}}}|approxage={{{approxage2|}}}|agenote={{{agenote2|}}}}}</tr>}}|
|{{Template:Character Details/age|age={{{age|}}}|approxage={{{approxage|}}}|agenote={{{agenote|}}}|colspan=2}}
|{{Template:Character Details/age|age={{{age1|}}}|approxage={{{approxage1|}}}|agenote={{{agenote1|}}}}}
{{Template:Character Details/age|age={{{age2|}}}|approxage={{{approxage2|}}}|agenote={{{agenote2|}}}}}}}</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:{{{age|}}}{{{ageapprox|}}}{{{agenote|}}}
{{Template:Character Details/age|age={{{age2|}}}|approxage={{{approxage2|}}}|agenote={{{agenote2|}}}}}</tr>}}
|{{Template:Character Details/age|age={{{age|}}}|approxage={{{approxage|}}}|agenote={{{agenote|}}}|colspan=2}}
|{{Template:Character Details/age|age={{{age1|}}}|approxage={{{approxage1|}}}|agenote={{{agenote1|}}}}}
{{Template:Character Details/age|age={{{age2|}}}|approxage={{{approxage2|}}}|agenote={{{agenote2|}}}}}}}</tr>}}
<tr><th style="width:20%">Eye colour</th>
<tr><th style="width:20%">Eye colour</th>
{{Character Details/multicell|{{{eyes1|Unknown}}}|{{{eyes2|Unknown}}}}}</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>
{{Character Details/multicell|{{{hair1|Unknown}}}|{{{hair2|Unknown}}}}}</tr>{{#if:{{{height1|}}}{{{height2|}}}|
{{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>
{{Character Details/multicell|{{{height1}}}|{{{height2}}}}}</tr>}}{{#if:{{{weight1|}}}{{{weight2|}}}|
{{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>
{{Character Details/multicell|{{{weight1}}}|{{{weight2}}}}}</tr>}}{{#if:{{{blood1|}}}{{{blood2|}}}|
{{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>
{{Character Details/multicell|{{{blood1}}}|{{{blood2}}}}}</tr>}}{{#if:{{{shoe1|}}}{{{shoe2|}}}|
{{Character Details/multicell|{{{blood1|}}}|{{{blood2|}}}|span={{{blood|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{show}}}{{{shoe1|}}}{{{shoe2|}}}|
<tr><th style="width:20%">Shoe Size</th>
<tr><th style="width:20%">Shoe Size</th>
{{Character Details/multicell|{{{shoe1}}}{{{shoe2}}}}}</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="3">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>
{{Character Details/multicell|{{{soulgem1|}}}|{{{soulgem2|}}}}}</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>
{{Character Details/multicell|{{{weapon1|}}}|{{{weapon2|}}}}}</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:{{{witch|}}}{{{witchlink|}}}{{{doppel|}}}
{{Template:Character Details/witch|witch={{{witch2|}}}|witchlink={{{witchlink2|}}}|witchnote={{{witchnote2|}}}|doppel={{{doppel2|}}}}}</tr>
|{{Template:Character Details/witch|witch={{{witch|}}}|witchlink={{{witchlink|}}}|witchnote={{{witchnote|}}}|doppel={{{doppel|}}}}}
|{{Template:Character Details/witch|witch={{{witch1|}}}|witchlink={{{witchlink1|}}}|witchnote={{{witchnote1|}}}|doppel={{{doppel1|}}}}}
{{Template:Character Details/witch|witch={{{witch2|}}}|witchlink={{{witchlink2|}}}|witchnote={{{witchnote2|}}}|doppel={{{doppel2|}}}}}}}</tr>
<tr><th style="width:20%">[[{{{mainpage|}}}#Powers and Abilities|Powers and Abilities]]</th>
<tr><th style="width:20%">[[{{{mainpage|}}}#Powers and Abilities|Powers and Abilities]]</th>
{{Character Details/multicell|{{{powers1|Unknown}}}|{{{powers2|Unknown}}}}}</tr>
{{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>
{{Character Details/multicell|{{{wish1|Unknown}}}|{{{wish2|Unknown}}}}}</tr>}}
{{Character Details/multicell|{{{wish1|}}}|{{{wish2|}}}|span={{{wish}}}|default=Unknown|colspan=2}}</tr>}}
<tr><th colspan="3">Other</th></tr>{{#if:{{{job1|}}}{{{job2|}}}|
<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>
{{Character Details/multicell|{{{job1}}}|{{{job2}}}}}</tr>}}{{#if:{{{likes1|}}}{{{likes2|}}}|
{{Character Details/multicell|{{{job1}}}|{{{job2}}}}}</tr>}}{{#if:{{{likes|}}}{{{likes1|}}}{{{likes2|}}}|
<tr><th style="width:20%">Likes</th>
<tr><th style="width:20%">Likes</th>
{{Character Details/multicell|{{{likes1}}}|{{{likes2}}}}}</tr>}}{{#if:{{{dislikes1|}}}{{{dislikes2|}}}|
{{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>
{{Character Details/multicell|{{{dislikes1}}}|{{{dislikes2}}}}}</tr>}}{{#if:{{{strengths1|}}}{{{strengths2|}}}|
{{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>
{{Character Details/multicell|{{{strengths1}}}|{{{strengths2}}}}}</tr>}}{{#if:{{{weaknesses1|}}}{{{weaknesses2|}}}|
{{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>
{{Character Details/multicell|{{{weaknesses1}}}|{{{weaknesses2}}}}}</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>
{{Character Details/multicell|{{{pronoun1|Unknown}}}|{{{pronoun2|Unknown}}}}}</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>
{{Character Details/multicell|{{{relatives1|None known}}}|{{{relatives2|None known}}}}}</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>
{{Character Details/multicell|{{{origin1|Unknown}}}|{{{origin2|Unknown}}}}}</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>
{{Character Details/multicell|{{{school1|Not attending}}}|{{{school2|Not attending}}}}}</tr>{{#if:{{{affiliation1|}}}{{{affiliation2|}}}|
{{Character Details/multicell|{{{school1|}}}|{{{school2|}}}|span={{{school}}}|default=Not attending|colspan=2}}</tr>{{#if:{{{affiliation1|}}}{{{affiliation2|}}}|
<tr><th style="width:20%">Affiliation</th>
<tr><th style="width:20%">Affiliation</th>
{{Character Details/multicell|{{{affiliation1}}}|{{{affiliation2}}}}}</tr>}}
{{Character Details/multicell|{{{affiliation1|}}}|{{{affiliation2|}}}|span={{{affiliation}}}|default=Unknown|colspan=2}}</tr>}}
</table></includeonly>
</table></includeonly>

Revision as of 04:18, 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.