FANDOM


Line 42: Line 42:
   
 
:::From there you can work to add additional tables/cells/blocks/headings etc. to expand the infobox. <span style="font-size:125%; font-weight:bold; font-family:Trebuchet MS, Helvetica, sans-serif; text-shadow:0 0 0.05em #646464">— [[User:Sovq|Sovq]]</span> 16:06, October 7, 2011 (UTC)
 
:::From there you can work to add additional tables/cells/blocks/headings etc. to expand the infobox. <span style="font-size:125%; font-weight:bold; font-family:Trebuchet MS, Helvetica, sans-serif; text-shadow:0 0 0.05em #646464">— [[User:Sovq|Sovq]]</span> 16:06, October 7, 2011 (UTC)
  +
  +
Thanks. I'll go do some experimenting. {{User:IamJakuhoRaikoben/Sig2|16:25,10/7/2011}}

Revision as of 16:25, October 7, 2011

Forums: Index Support Requests Help with Collapsible Infoboxes
FANDOM's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 3276 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


I've been trying for weeks to make an Infobox template collapse, but it's not worked out for me at all. With that being said, let's say for instance that I wanted to have all the info under the Proffessional Status heading on this template to collapse, would this be possible? If so, can anyone help me out with the coding necessary.  Iam...JakuhoRaikoben  00:10,10/7/2011 

You're using an import from the dev wiki for collapsible elements. There's a good ShowHide tutorial there, which contains all the info you need to know. Also, keep in mind that the preview mode currently doesn't load javascript, which means that you will never see collapsibility in preview and will have to save changes to actually see if it works. Sovq 06:57, October 7, 2011 (UTC)
Do you know how I can apply the info you linked me to on infoboxes? And yeah, I know.  Iam...JakuhoRaikoben  15:45,10/7/2011 
An infobox is just another table/div block, which can be made collapsible by adding an appropriate style classes. So:
<div class="NavFrame">
<div class="NavHead">Infobox header</div>
<div class="NavContent">Infobox content</div>
</div>
gives:
and
{|class="collapsible collapsed" style="border: 1px solid black; width:100%; text-align:center"
!Infobox header
|-
|Infobox content
|}
gives:
From there you can work to add additional tables/cells/blocks/headings etc. to expand the infobox. Sovq 16:06, October 7, 2011 (UTC)

Thanks. I'll go do some experimenting.  Iam...JakuhoRaikoben  16:25,10/7/2011 

Community content is available under CC-BY-SA unless otherwise noted.