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;"> | ||
<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> | ||
<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> | ||
<!-- First Appearance: | <!-- First Appearance: Strict check with trim --> | ||
{{#if:{{{first_appearance|}}}{{{show|}}}{{{episode|}}} | {{#if:{{#trim:{{{first_appearance|}}}{{{show|}}}{{{episode|}}}} | ||
|<tr> | |<tr> | ||
<th scope="row">First appearance</th> | <th scope="row">First appearance</th> | ||
<td> | <td> | ||
{{#if:{{{first_appearance|}}} | {{#if:{{#trim:{{{first_appearance|}}}} | ||
|{{{first_appearance}}} | |{{{first_appearance}}} | ||
|{{#if:{{{show|}}} | |{{#if:{{#trim:{{{show|}}}} | ||
|[[{{{show}}}]]{{#if:{{{episode|}}} | |[[{{{show}}}]]{{#if:{{#trim:{{{episode|}}}} | ||
| ([[{{{episode}}}]] ) | | ([[{{{episode}}}]] ) | ||
| | | | ||
| Line 36: | Line 33: | ||
}} | }} | ||
<!-- Portrayed By | <!-- Portrayed By --> | ||
{{#if:{{{portrayed_by|}}} | {{#if:{{#trim:{{{portrayed_by|}}}} | ||
|<tr> | |<tr> | ||
<th scope="row">Portrayed by</th> | <th scope="row">Portrayed by</th> | ||
| Line 49: | Line 46: | ||
<!-- Other Names --> | <!-- Other Names --> | ||
{{#if:{{{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 --> | <!-- Occupation --> | ||
{{#if:{{{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 --> | <!-- Affiliation --> | ||
{{#if:{{{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 --> | <!-- Gender --> | ||
{{#if:{{{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 --> | <!-- Abilities --> | ||
{{#if:{{{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 --> | <!-- Catchphrase --> | ||
{{#if:{{{catchphrase|}}} | {{#if:{{#trim:{{{catchphrase|}}}} | ||
|<tr><th scope="row">Catchphrase</th><td>"{{{catchphrase}}}"</td></tr> | |<tr><th scope="row">Catchphrase</th><td>"{{{catchphrase}}}"</td></tr> | ||
}} | }} | ||