Template:Dual Character Details: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Default job to None for characters under 16) |
||
(11 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:{{{ | {{#if:{{{age1|}}}{{{ageapprox1|}}}{{{agenote1|}}}{{{age2|}}}{{{ageapprox2|}}}{{{agenote2|}}} | ||
|{{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:{{{ | {{#if:{{{age1|}}}{{{ageapprox1|}}}{{{agenote1|}}}{{{age2|}}}{{{ageapprox2|}}}{{{agenote2|}}} | ||
|{{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> | ||
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:{{{ | {{#if:{{{witch1|}}}{{{witchlink1|}}}{{{doppel1|}}}{{{witch2|}}}{{{witchlink2|}}}{{{doppel2|}}} | ||
|{{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 60: | Line 60: | ||
{{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= | {{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.