#2843 Fix needed on wiki CSS to display Template properly
Closed: Fixed None Opened 12 years ago by ppapadeas.

= phenomenon =

Template Hidden (https://fedoraproject.org/wiki/Template:Hidden) is not displayed properly. It should have shown a "Show" button on the side

= reason =

Possibly CSS of the mediawiki meshes with it. JS inclusion on it is possibly wrong

= recommendation =

Fix it :) Thanks!


Hrm -- at first glance, it appears I copied over the stuff for collapsible tables, not the hidden template. The hidden template appears to be deprecated by en.wikipedia.

going to do some testing

Alright template:hidden isn't going to work. You can use collapsible tables.

Here's a simple one:
{{{
{| class="wikitable collapsible padcollapsebutton"
! Simple collapsible table
|-
| Lorem ipsum dolor sit amet
|}
}}}

(I added the padcollapsebutton class to our CSS)

And full documentation: http://en.wikipedia.org/wiki/Help:Collapsing

Note, collapsible tables and template:hidden do slightly different things.

Ian, the template:Hidden doesn't appear to be deprecated as far as I can tell. Where did you find that information? It appears to be in full use still (https://secure.wikimedia.org/wikipedia/en/wiki/Template:Hidden).

Replying to [comment:3 jlaska]:

Ian, the template:Hidden doesn't appear to be deprecated as far as I can tell. Where did you find that information? It appears to be in full use still (https://secure.wikimedia.org/wikipedia/en/wiki/Template:Hidden).

Ah, I see now that only 1 page links to the upstream Template:Hidden. It seems a lot more pages are now using Template:Collapse. I have created that template instead, but it doesn't seem to display as expected yet.

https://fedoraproject.org/wiki/Template:Collapse

I'm sure it has something to do with our css, but I'm not seeing it at the moment. This template would seem to satisfy the need for Template:Hidden (and display as expected). Any thoughts on how to get this to properly format (as demonstrated at https://secure.wikimedia.org/wikipedia/en/wiki/Template:Collapse)?

It seems that this actually works now. ;)

Additionally, if I misunderstand and it's still broken, please file a new ticket (since I suspect none of the folks on this ticket still care )

Login to comment on this ticket.

Metadata