Difference between revisions of "User:R0o0di/Sandbox/CharAppearances2"

From Detective Conan Wiki
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div style="overflow: auto; margin-bottom: 2px;">
+
<div style="max-width: min-content; margin-bottom: 2px;">
     <div style="border: 1px dotted #7BA1EC; width: max-content;">
+
     <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>
         <div style="display:flex; overflow: auto; width: min-content; font-size: 90%; text-align: center;">
+
         <div style="overflow: auto;">
            {{{1}}}
+
            <div style="display:flex; width: min-content; font-size: 90%; text-align: center;">
 +
              {{{1}}}
 +
            </div>
 
         </div>
 
         </div>
 
     </div>
 
     </div>
Line 24: Line 26:
 
</pre>
 
</pre>
  
[[Category:Templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 08:00, 7 June 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