Difference between revisions of "Template:Gadgets Appearances"

From Detective Conan Wiki
m (Mmm, nope. Sorry, not a clue. :/)
(less complicated structure, better readability, 66% shorter, better css, achieves same results (together with Template:Gadget))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div style="{{#if:{{{width|}}}| width: {{{width}}}px; }}vertical-align: top; height: 188px; overflow: auto; overflow-y: hidden; clear: left; margin-bottom: 2px; /*border: 1px dotted #7BA1EC;*/">
+
<includeonly>
{| class="gadget-appearances-table" style="border: 1px dotted #FF9900;"
+
<div style="max-width: min-content; margin-bottom: 2px;">
! style="background: #FF9900; color: #ffffff; text-align: left; padding-left: 5px;" | Gadgets
+
    <div style="border: 1px dotted #FF9900;">
|-
+
        <div  style="background: #FF9900; color: #ffffff; padding-left: 5px; font-weight:bold;">Gadgets</div>
|
+
        <div style="overflow: auto;">
{{#chartable:118.52|{{{1}}}}}
+
            <div style="display:flex; width: min-content; font-size: 90%; text-align: center;">
|}
+
              {{{1}}}
</div></includeonly><noinclude>
+
            </div>
 +
        </div>
 +
    </div>
 +
</div>
 +
</includeonly><noinclude>
 
Displays a given list of gadgets within a "Gadgets appearances" frame.
 
Displays a given list of gadgets within a "Gadgets appearances" frame.
  

Latest revision as of 13:55, 2 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