Template:Char Appearances: Difference between revisions
Appearance
less complicated structure, better readability, 66% shorter html, better css, achieves same results (together with Template:Char) |
m Prevents the surrounding box from going behind the main InfoBox and instead resize when the space is too narrow |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="max-width: min-content; margin-bottom: 2px;"> | <div style="max-width: min-content; margin-bottom: 2px; overflow:hidden;"> | ||
<div style="border: 1px dotted #7BA1EC;"> | <div style="border: 1px dotted #7BA1EC;"> | ||
<div style="background: #7BA1EC; color: #ffffff; padding-left: 5px; font-weight:bold;">Characters</div> | <div style="background: #7BA1EC; color: #ffffff; padding-left: 5px; font-weight:bold;">Characters</div> | ||
| Line 9: | Line 9: | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div></includeonly><noinclude> | ||
</includeonly><noinclude> | |||
Displays a given list of characters within a "Character appearances" frame. | Displays a given list of characters within a "Character appearances" frame. | ||
Latest revision as of 23:33, 15 April 2025
Displays a given list of characters within a "Character appearances" frame.
Usage
The following is a list of required or optional parameters:
{{Char Appearances|
<list of characters>
| width = (Optional. Used mainly if the number of characters is small)
}}
list of characters = List of characters who appeared in the episode/movie/ova/etc...
Note: Remember to use the "{{Char}}" template to show individual formatted character frames