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 7: | Line 8: | ||
</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 15: | Line 18: | ||
</tr> | </tr> | ||
<!-- First Appearance | <!-- Row: First Appearance (Handles 3 modes: direct link, show+episode, or just show) --> | ||
{{#if:{{{first_appearance|}}} | {{#if:{{{first_appearance|}}}{{{show|}}}{{{episode|}}} | ||
|<tr> | |<tr> | ||
<th scope="row">First appearance</th> | <th scope="row">First appearance</th> | ||
<td> | <td> | ||
{{#if:{{{episode|}}} | {{#if:{{{first_appearance|}}} | ||
|{{{first_appearance|}}} | |||
|{{#if:{{{show|}}} | |||
|{{#if:{{{episode|}}} | |||
|[[{{{show}}}]] ([[{{{episode}}}]]) | |||
|[[{{{show}}}]] | |||
}} | |||
}} | |||
}} | }} | ||
</td> | </td> | ||
| Line 30: | Line 36: | ||
}} | }} | ||
<!-- Row: Portrayed By (Vertical List) --> | |||
{{#if:{{{portrayed_by|}}} | {{#if:{{{portrayed_by|}}} | ||
|<tr> | |<tr> | ||
| Line 40: | Line 47: | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- 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> | ||