Difference between revisions of "Template:Char Appearances"

From Detective Conan Wiki
m
m (Prevents the surrounding box from going behind the main InfoBox and instead resize when the space is too narrow)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="{{#if:{{{width|}}}| width: {{{width}}}px; }}vertical-align: top; height: auto; overflow: auto; clear: left; margin-bottom: 2px; /*border: 1px dotted #7BA1EC;*/">
+
<includeonly>
{| class="char-appearances-table" style="border: 1px dotted #7BA1EC;"
+
<div style="max-width: min-content; margin-bottom: 2px; overflow:hidden;">
! style="background: #7BA1EC; color: #ffffff; text-align: left; padding-left: 5px;" | Characters
+
    <div style="border: 1px dotted #7BA1EC;">
|-
+
        <div  style="background: #7BA1EC; color: #ffffff; padding-left: 5px; font-weight:bold;">Characters</div>
|
+
        <div style="overflow: auto;">
{{#chartable:118.52|{{{1}}}}}
+
            <div style="display:flex; width: min-content; font-size: 90%; text-align: center;">
|}
+
              {{{1}}}
 +
            </div>
 +
        </div>
 +
    </div>
 
</div></includeonly><noinclude>
 
</div></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