Template:Infobox Character: Difference between revisions
From Scooby-Doo Wiki
Jump to navigationJump to search
Created page with "<includeonly> <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;"> <tr> <th colspan="2" style="background-color: #b0c4de; text-align: center; font-size: 125%; font-weight: bold; padding: 0.2em;"> {{{name|}}} </th> </tr> <tr> <td colspan="2" style..." |
No edit summary Tag: Reverted |
||
| Line 14: | Line 14: | ||
</td> | </td> | ||
</tr> | </tr> | ||
<!-- First Appearance Logic --> | |||
{{#if:{{{first_appearance|}}} | {{#if:{{{first_appearance|}}} | ||
|<tr><th scope="row">First appearance</th><td>{{{first_appearance|}}}</td></tr> | |<tr><th scope="row">First appearance</th><td>{{{first_appearance|}}}</td></tr> | ||
}}{{#if:{{{show|}}} | |||
|<tr> | |||
<th scope="row">First appearance</th> | |||
<td> | |||
{{#if:{{{episode|}}} | |||
|[[{{{show}}}]] ([[{{{episode}}}]]) | |||
|[[{{{show}}}]] | |||
}} | |||
</td> | |||
</tr> | |||
}} | }} | ||
{{#if:{{{portrayed_by|}}} | {{#if:{{{portrayed_by|}}} | ||
|<tr> | |<tr> | ||
<th scope="row">Portrayed by</th> | <th scope="row">Portrayed by</th> | ||
<td> | <td style="padding-left: 0.5em;"> | ||
<ul> | <ul style="margin: 0; padding-left: 1.2em;"> | ||
{{#arraymap:{{{portrayed_by|}}}|,|x|<li>x</li>|}} | {{#arraymap:{{{portrayed_by|}}}|,|x|<li>{{{x}}}</li>|}} | ||
</ul> | </ul> | ||
</td> | </td> | ||
| Line 43: | Line 56: | ||
}} | }} | ||
{{#if:{{{catchphrase|}}} | {{#if:{{{catchphrase|}}} | ||
|<tr><th scope="row">Catchphrase</th><td>"{{{catchphrase | |<tr><th scope="row">Catchphrase</th><td>"{{{catchphrase}}}"</td></tr> | ||
}} | }} | ||
</table> | </table> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||