Difference between revisions of "Template:Collapse"

From Detective Conan Wiki
(Created page with "<includeonly>{| class="collapsible collapsed" style="background: transparent; width: 100%; border-collapse: collapse;" cellspacing="0" |- ! colspan="2" style="border: none; te...")
 
Line 5: Line 5:
 
| style="border: none; text-align: left;" | {{{2|<!-- Content goes here -->}}}
 
| style="border: none; text-align: left;" | {{{2|<!-- Content goes here -->}}}
 
|}</includeonly>
 
|}</includeonly>
<noinclude>
+
<noinclude>This template is used in a rather specific way - created for the role listing in staff pages, especially for spin-offs. This is a replication of the "voice cast" found in the '''[[Template:InfoBox TV]]'''; consequently, the line of text (heading) will possess a button of [EXPAND] and [COLLAPSE] as the user clicks it. This is to deter excessive scrolling, whilst improving visual representation.
This template is used in a rather specific way - created for the role listing in staff pages, especially for spin-offs. This is a replication of the "voice cast" found in the '''[[Template:InfoBox TV]]'''; consequently, the line of text (heading) will possess a button of [EXPAND] and [COLLAPSE] as the user clicks it. This is to deter excessive scrolling, whilst improving visual representation.
 
  
 
Note that initially the template did not work when inserted into the tables, as a border would emerge. As a result, "style="border: none" was assigned to each parameter so that the border will disappear. Now, utilising them within wikitables won't be a problem. (example see [[Chie Saito#Spin-offs|Chie Saito]] page)
 
Note that initially the template did not work when inserted into the tables, as a border would emerge. As a result, "style="border: none" was assigned to each parameter so that the border will disappear. Now, utilising them within wikitables won't be a problem. (example see [[Chie Saito#Spin-offs|Chie Saito]] page)

Revision as of 17:21, 13 May 2024

This template is used in a rather specific way - created for the role listing in staff pages, especially for spin-offs. This is a replication of the "voice cast" found in the Template:InfoBox TV; consequently, the line of text (heading) will possess a button of [EXPAND] and [COLLAPSE] as the user clicks it. This is to deter excessive scrolling, whilst improving visual representation.

Note that initially the template did not work when inserted into the tables, as a border would emerge. As a result, "style="border: none" was assigned to each parameter so that the border will disappear. Now, utilising them within wikitables won't be a problem. (example see Chie Saito page)

{{Collapse|Voice Cast|[[Minami Takayama]] as [[Conan Edogawa]]}}

Results in



Here is how will look when inserted into wikitables:

Jpn# Episode title Original broadcast Role Note
8 Next Conan's Hint "Hairball" November 22, 2022 Animation director