Difference between revisions of "Template:Char Appearances"

From Detective Conan Wiki
(Template to display character appearances in a scrolling frame. It's using another custom-made extension made for DCW. This template also includes a fix for IE)
 
m (Usage)
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="height: 190px; overflow: auto; overflow-y: hidden; clear: left; border: 1px dotted #7BA1EC">
+
<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;*/">
{|
+
{| class="char-appearances-table" style="border: 1px dotted #7BA1EC;"
! style="background: #7BA1EC; color: #ffffff; text-align: left; padding-left: 5px" | Characters
+
! style="background: #7BA1EC; color: #ffffff; text-align: left; padding-left: 5px;" | Characters
 
|-
 
|-
 
|
 
|
{{#chartable:118.52|
+
{{#chartable:118.52|{{{1}}}}}
{{Char|Shinichi Kudo}}
 
{{Char|Conan Edogawa}}
 
{{Char|Ran Mouri}}
 
{{Char|Ai Haibara}}
 
{{Char|Hiroshi Agasa}}
 
{{Char|Inspector Megure}}
 
{{Char|Ninzaburo Shiratori}}
 
{{Char|Officer Chiba}}
 
{{Char|Wataru Takagi}}
 
{{Char|Miwako Sato}}
 
{{Char|Heiji Hattori}}
 
{{Char|Kazuha Toyama}}
 
{{Char|Jodie Starling}}
 
{{Char|James Black}}
 
{{Char|Shuichi Akai}}
 
{{Char|Hidemi Hondou}}
 
{{Char|Chianti}}
 
{{Char|Korn}}
 
{{Char|Gin}}
 
{{Char|Vodka}}
 
{{Char|Mitsuhiko Tsuburaya}}
 
{{Char|Ayumi Yoshida}}
 
{{Char|Genta Kojima}}
 
{{Char|Sharon Vineyard}}
 
{{Char|Yusaku Kudo}}
 
{{Char|Yukiko Kudo}}
 
{{Char|Kogoro Mouri}}
 
}}
 
 
|}
 
|}
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
Line 43: Line 15:
 
{{Char Appearances|
 
{{Char Appearances|
 
<list of characters>
 
<list of characters>
 +
| width              =    (Optional. Used mainly if the number of characters is small)
 
}}
 
}}
  
list of appearances  =    List of characters who appeared in the episode/movie/ova/etc...
+
list of characters    =    List of characters who appeared in the episode/movie/ova/etc...
                           Note: Remember to use the "{{Char}}" template show individual formatted character frames
+
                           Note: Remember to use the "{{Char}}" template to show individual formatted character frames
 
</pre>
 
</pre>
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:15, 8 July 2011

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