Jump to content

Template talk:Divhide

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Compatibility?

[edit]

After testing the Template page in IE (edit: to make sure it wasn't the template), I found that the "[show]/[hide]" links do not appear in Firefox 3.0.3. -Chrishy 06:31, 4 November 2008 (UTC)[reply]

Caps in closing param

[edit]

I closed with {{Divhide|End}} and here's the result, rest of the talk page was hidden in a nested divhide. Changing caps to {{Divhide|end}} worked as expected; should this be fixed or should we just include a note about it in the documentation? Sam Sailor Talk! 10:41, 27 June 2016 (UTC)[reply]

fixed. Frietjes (talk) 19:32, 9 February 2018 (UTC)[reply]

Refactor

[edit]

I refactored this to use {{hidden begin}} and {{hidden end}}, which reduces the number of variations that need to be supported on mobile. let me know if there is a problem. Frietjes (talk) 19:32, 9 February 2018 (UTC)[reply]

add option show=preview

[edit]

I propose to add option |show=preview. The effect is that the box is regularly hidden (collapsed) on the page, but in Preview the box shows (uncollapsed).

I met the need for this when editing/previewing Wikipedia:Selected anniversaries/March 1, which at the moment collapses (hides) the edit I'm checking.

Code is in {{divhide/sandbox}}, see /testcases (so test the edit/preview situation). -DePiep (talk) 16:10, 15 February 2019 (UTC)[reply]