Template:Infobox Character: Difference between revisions

From Scooby-Doo Wiki
Jump to navigationJump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 2: Line 2:
<div class="infobox" style="border: 1px solid #a2a9b1; background-color: #f8f9fa; color: black; margin: 0.5em; padding: 0.2em; float: right; clear: right; width: 22em; font-size: 88%; line-height: 1.5em;">
<div class="infobox" style="border: 1px solid #a2a9b1; background-color: #f8f9fa; color: black; margin: 0.5em; padding: 0.2em; float: right; clear: right; width: 22em; font-size: 88%; line-height: 1.5em;">
<table style="width: 100%; border-collapse: collapse;">
<table style="width: 100%; border-collapse: collapse;">
<!-- Header: Name (Required) -->
<tr>
<tr>
<th colspan="2" style="background-color: #b0c4de; text-align: center; font-size: 125%; font-weight: bold; padding: 0.2em;">
<th colspan="2" style="background-color: #b0c4de; text-align: center; font-size: 125%; font-weight: bold; padding: 0.2em;">
Line 8: Line 7:
</th>
</th>
</tr>
</tr>
<!-- Image: (Required) -->
<tr>
<tr>
<td colspan="2" style="text-align: center; padding: 0.5em;">
<td colspan="2" style="text-align: center; padding: 0.5em;">
Line 18: Line 15:
</tr>
</tr>
<!-- Row: First Appearance (Handles 3 modes: direct link, show+episode, or just show) -->
{{#iferror:{{{first_appearance|}}}{{{show|}}}{{{episode|}}}
{{#if:{{{first_appearance|}}}{{{show|}}}{{{episode|}}}
|
|<tr>
|<tr>
<th scope="row">First appearance</th>
<th scope="row">First appearance</th>
<td>
<td>
{{#if:{{{first_appearance|}}}
{{#if:{{{first_appearance|}}}
|{{{first_appearance|}}}
|{{{first_appearance}}}
|{{#if:{{{show|}}}
|{{#if:{{{show|}}}
|{{#if:{{{episode|}}}
|[[{{{show}}}]]{{#if:{{{episode|}}}
|[[{{{show}}}]] ([[{{{episode}}}]])
| ([[{{{episode}}}]] )
|[[{{{show}}}]]
|
}}
}}
}}
}}
Line 36: Line 33:
}}
}}


<!-- Row: Portrayed By (Vertical List) -->
{{#if:{{{portrayed_by|}}}
{{#if:{{{portrayed_by|}}}
|<tr>
|<tr>
Line 48: Line 44:
}}
}}


<!-- Row: Other Names -->
{{#if:{{{other_names|}}}
{{#if:{{{other_names|}}}
|<tr><th scope="row">Other names</th><td>{{{other_names|}}}</td></tr>
|<tr><th scope="row">Other names</th><td>{{{other_names|}}}</td></tr>
}}
}}


<!-- Row: Occupation -->
{{#if:{{{occupation|}}}
{{#if:{{{occupation|}}}
|<tr><th scope="row">Occupation</th><td>{{{occupation|}}}</td></tr>
|<tr><th scope="row">Occupation</th><td>{{{occupation|}}}</td></tr>
}}
}}


<!-- Row: Affiliation -->
{{#if:{{{affiliation|}}}
{{#if:{{{affiliation|}}}
|<tr><th scope="row">Affiliation</th><td>{{{affiliation|}}}</td></tr>
|<tr><th scope="row">Affiliation</th><td>{{{affiliation|}}}</td></tr>
}}
}}


<!-- Row: Gender -->
{{#if:{{{gender|}}}
{{#if:{{{gender|}}}
|<tr><th scope="row">Gender</th><td>{{{gender|}}}</td></tr>
|<tr><th scope="row">Gender</th><td>{{{gender|}}}</td></tr>
}}
}}


<!-- Row: Abilities -->
{{#if:{{{abilities|}}}
{{#if:{{{abilities|}}}
|<tr><th scope="row">Abilities</th><td>{{{abilities|}}}</td></tr>
|<tr><th scope="row">Abilities</th><td>{{{abilities|}}}</td></tr>
}}
}}


<!-- Row: Catchphrase -->
{{#if:{{{catchphrase|}}}
{{#if:{{{catchphrase|}}}
|<tr><th scope="row">Catchphrase</th><td>"{{{catchphrase}}}"</td></tr>
|<tr><th scope="row">Catchphrase</th><td>"{{{catchphrase}}}"</td></tr>

Revision as of 15:48, 27 March 2026