Forum:Editing Template:Hidden

Hello. I would like to edit my wiki's Template:Hidden, so that the "[show]" button resembles the show/hide button in the table of contents (colored, underlined). Can I do this just by making changes to the template itself? Or do I need some form of css code uploaded?

Thank you,

-- 01:24, September 5, 2012 (UTC)


 * Your wiki is on Mediawiki 1.19. You can native  classes - see Help:Collapsing for details.


 * To make the styling more closely resemble the toggle found in the TOC, you can add this to your Common.css:


 * You can also edit MediaWiki:Collapsible-expand and MediaWiki:Collapsible-collapse to change the expand/collapse buttons to hide/show.


 * Thank you. That has worked quite well. I was wondering, is there any way to move the Expand/Collapse button next to text, rather than having it on the far side of the page? Or is that impossible?
 * -- 03:02, September 6, 2012 (UTC)


 * Your collapse button does show up next to the title text. (Aren't you seeing the same thing?) If you don't apply  to   like Community Central and some other wikis, it won't appear in the right corner.


 * No, the collapse button is across from the text. I think you must be looking at the template. Per Dzylon's advice above, I've replaced the template with the table, and the results can be seen here. I'm not using  to   as far as I can tell, so is there anyway to move the collapse button next to text?-- 05:31, September 6, 2012 (UTC)


 * Oh now I understand. But as you are using the  method, you can hardly make the button left-adjust because its HTML syntax doesn't fit. If you add   to your CSS, your collapse button will be placed before the title text, not after. If you want to do so, I recommand you to use the old   method or the Navbox source (both of them require some CSS fix).