Template:Dual Character Details: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
No edit summary
(Default job to None for characters under 16)
 
Line 44: Line 44:
<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|}}}|span={{{job|}}}|default=Unknown|colspan=2}}</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|}}}|

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.