Jump to content

Template:Gadgets Appearances: Difference between revisions

From Detective Conan Wiki
less complicated structure, better readability, 66% shorter, better css, achieves same results (together with Template:Gadget)
m If there are no gadgets, the box will now disappear
Line 1: Line 1:
<includeonly>
<includeonly> {{#if: {{{1}}} |
<div style="max-width: min-content; margin-bottom: 2px;">
<div style="max-width: min-content; margin-bottom: 2px;">
     <div style="border: 1px dotted #FF9900;">
     <div style="border: 1px dotted #FF9900;">
         <div style="background: #FF9900; color: #ffffff; padding-left: 5px; font-weight:bold;">Gadgets</div>
         <div style="background: #FF9900; color: #ffffff; padding-left: 5px; font-weight:bold;">Gadgets</div>
         <div style="overflow: auto;">
         <div style="overflow: auto;">
             <div style="display:flex; width: min-content; font-size: 90%; text-align: center;">
             <div style="display:flex; width: min-content; font-size: 90%; text-align: center;">
Line 9: Line 9:
         </div>
         </div>
     </div>
     </div>
</div>
</div> }}</includeonly><noinclude>
</includeonly><noinclude>
Displays a given list of gadgets within a "Gadgets appearances" frame.
Displays a given list of gadgets within a "Gadgets appearances" frame.



Revision as of 20:03, 12 April 2025

Displays a given list of gadgets within a "Gadgets appearances" frame.

Usage

The following is a list of required or optional parameters:

{{Gadget Appearances|
<list of gadgets>
| width               =    (Optional. Used mainly if the number of characters is small)
}}

list of gadgets       =    List of gadgets who appeared in the episode/movie/ova/etc...
                           Note: Remember to use the "{{Gadget}}" template to show individual formatted gadget frames