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)
 
(13 intermediate revisions by the same user not shown)
Line 2: Line 2:


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%">
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:{{{birth}}}{{{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}}}|{{{birth2}}}|span={{{birth}}}|colspan=2}}</tr>{{#if:{{{age|}}}{{{ageapprox|}}}{{{agenote|}}}{{{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>
{{#if:{{{age|}}}{{{ageapprox|}}}{{{agenote|}}}
{{#if:{{{age1|}}}{{{ageapprox1|}}}{{{agenote1|}}}{{{age2|}}}{{{ageapprox2|}}}{{{agenote2|}}}
|{{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={{{age1|}}}|approxage={{{approxage1|}}}|agenote={{{agenote1|}}}}}
{{Template:Character Details/age|age={{{age2|}}}|approxage={{{approxage2|}}}|agenote={{{agenote2|}}}}}}}</tr>}}|
{{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>
{{#if:{{{age|}}}{{{ageapprox|}}}{{{agenote|}}}
{{#if:{{{age1|}}}{{{ageapprox1|}}}{{{agenote1|}}}{{{age2|}}}{{{ageapprox2|}}}{{{agenote2|}}}
|{{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={{{age1|}}}|approxage={{{approxage1|}}}|agenote={{{agenote1|}}}}}
{{Template:Character Details/age|age={{{age2|}}}|approxage={{{approxage2|}}}|agenote={{{agenote2|}}}}}}}</tr>}}
{{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>
{{Character Details/multicell|{{{eyes1|}}}|{{{eyes2|}}}|span={{{eyes|}}}|default=Unknown|colspan=2}}</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|}}}|{{{hair2|}}}|span={{{hair|}}}|default=Unknown|colspan=2}}</tr>{{#if:{{{height}}}{{{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|}}}|span={{{height|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{weight}}}{{{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|}}}|span={{{weight|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{blood}}}{{{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|}}}|span={{{blood|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{show}}}{{{shoe1|}}}{{{shoe2|}}}|
{{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>
{{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|}}}|
{{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>
Line 34: Line 34:
{{Character Details/multicell|{{{weapon1|}}}|{{{weapon2|}}}|span={{{weapon|}}}|default=Unknown|colspan=2}}</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>
{{#if:{{{witch|}}}{{{witchlink|}}}{{{doppel|}}}
{{#if:{{{witch1|}}}{{{witchlink1|}}}{{{doppel1|}}}{{{witch2|}}}{{{witchlink2|}}}{{{doppel2|}}}
|{{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={{{witch1|}}}|witchlink={{{witchlink1|}}}|witchnote={{{witchnote1|}}}|doppel={{{doppel1|}}}}}
{{Template:Character Details/witch|witch={{{witch2|}}}|witchlink={{{witchlink2|}}}|witchnote={{{witchnote2|}}}|doppel={{{doppel2|}}}}}}}</tr>
{{Template:Character Details/witch|witch={{{witch2|}}}|witchlink={{{witchlink2|}}}|witchnote={{{witchnote2|}}}|doppel={{{doppel2|}}}}}
<tr><th style="width:20%">[[{{{mainpage|}}}#Powers and Abilities|Powers and Abilities]]</th>
|{{Template:Character Details/witch|witch={{{witch|}}}|witchlink={{{witchlink|}}}|witchnote={{{witchnote|}}}|doppel={{{doppel|}}}|colspan=2}}}}</tr>
{{Character Details/multicell|{{{powers1|}}}|{{{powers2|}}}|span={{{powers}}}|default=Unknown|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>
{{Character Details/multicell|{{{wish1|}}}|{{{wish2|}}}|span={{{wish}}}|default=Unknown|colspan=2}}</tr>}}
{{Character Details/multicell|{{{wish1|}}}|{{{wish2|}}}|span={{{wish|}}}|default=Unknown|colspan=2}}</tr>}}
<tr><th colspan="3">Other</th></tr>{{#if:{{{job|}}}{{{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:{{{likes|}}}{{{likes1|}}}{{{likes2|}}}|
{{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>
{{Character Details/multicell|{{{likes1|}}}|{{{likes2|}}}|span={{{likes|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{dislikes|}}}{{{dislikes1|}}}{{{dislikes2|}}}|
{{Character Details/multicell|{{{likes1|}}}|{{{likes2|}}}|span={{{likes|}}}|default=Unknown|colspan=2}}</tr>}}{{#if:{{{dislikes|}}}{{{dislikes1|}}}{{{dislikes2|}}}|
Line 54: Line 54:
{{Character Details/multicell|{{{weaknesses1|}}}|{{{weaknesses2|}}}|span={{{weaknesses|}}}|default=Unknown|colspan=2}}</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|}}}|{{{pronoun2|}}}|span={{{pronoun}}}|default=Unknown|colspan=2}}</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|}}}|{{{relatives2|}}}|span={{{relatives}}}|default=None known|colspan=2}}</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|}}}|{{{origin2|}}}|span={{{origin|}}}|default=Unknown|colspan=2}}</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|}}}|{{{school2|}}}|span={{{school}}}|default=Not attending|colspan=2}}</tr>{{#if:{{{affiliation1|}}}{{{affiliation2|}}}|
{{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>
{{Character Details/multicell|{{{affiliation1|}}}|{{{affiliation2|}}}|span={{{affiliation}}}|default=Unknown|colspan=2}}</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.