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 15: Line 15:
</tr>
</tr>


<!-- First Appearance: Strict check with trim -->
{{#ifeq:{{{first_appearance|}}}||
{{#if:{{#trim:{{{first_appearance|}}}{{{show|}}}{{{episode|}}}}
{{#ifeq:{{{show|}}}||
|<tr>
{{#ifeq:{{{episode|}}}||
<th scope="row">First appearance</th>
<!-- All empty, don't show row -->
<td>
|<tr><th scope="row">First appearance</th><td>[[{{{show}}}]]{{#if:{{{episode|}}}| ([[{{{episode}}}]] )}}</td></tr>
{{#if:{{#trim:{{{first_appearance|}}}}
}}
|{{{first_appearance}}}
|<tr><th scope="row">First appearance</th><td>{{{first_appearance}}}</td></tr>
|{{#if:{{#trim:{{{show|}}}}
}}
|[[{{{show}}}]]{{#if:{{#trim:{{{episode|}}}}
| ([[{{{episode}}}]] )
|
}}
}}
}}
</td>
</tr>
}}
}}


<!-- Portrayed By -->
{{#ifeq:{{{portrayed_by|}}}||
{{#if:{{#trim:{{{portrayed_by|}}}}
|
|<tr>
|<tr>
<th scope="row">Portrayed by</th>
<th scope="row">Portrayed by</th>
Line 45: Line 37:
}}
}}


<!-- Other Names -->
{{#ifeq:{{{other_names|}}}||
{{#if:{{#trim:{{{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>
}}
}}


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


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


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


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


<!-- Catchphrase -->
{{#ifeq:{{{catchphrase|}}}||
{{#if:{{#trim:{{{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:53, 27 March 2026