template talk:hidden

{{permprot}}

{{Archives|banner = yes|age = 30|bot = lowercase sigmabot III|minthreadsleft = 5}}

{{User:MiszaBot/config

| algo=old(90d)

| archive=Template talk:Hidden/Archive %(counter)d

| counter=1

| maxarchivesize=75K

| archiveheader={{Automatic archive navigator}}

| minthreadsleft=5

| minthreadstoarchive=1

}}

Doc updates, post-merge

{{re|Terasail}}, are you working on /doc updates to align with the recent code changes per the merge? Apologies, if I was too quick with my note, but I normally do them simultaneously. Mathglot (talk) 09:43, 12 December 2022 (UTC)

:@Mathglot I left updating docs for today. I updated this doc for the renamed parameters and updated Hidden begin with the changes I made. Terasail[✉️] 14:40, 12 December 2022 (UTC)

:: {{re|Terasail}}, thanks. Mathglot (talk) 07:22, 13 December 2022 (UTC)

Show button is too far away

For me, the show button seems to be very far away visually from the heading name. Perhaps a good solution would be to have the show button be inline (regular left alignment), instead of floating it to the right? –Novem Linguae (talk) 21:06, 9 February 2023 (UTC)

:@Novem Linguae You should be able to set the show/hide button to the left with the parameter {{para|toggle|left}}. Terasail[✉️] 22:01, 9 February 2023 (UTC)

::Thanks for the idea. Looks like that puts it before the title. Know of anything to put it after the title? –Novem Linguae (talk) 22:21, 9 February 2023 (UTC)

:::No, sorry. The show/hide button is handled by mw-collapsible and I am not aware of any way to do that. Terasail[✉️] 08:42, 10 February 2023 (UTC)

Show/hide a table?

There is a long table at Blue moon that is of limited interest but is still relevant, so an obvious candidate for show/hide. But this template seems to choke when fed a table (see https://en.wikipedia.org/w/index.php?title=Blue_moon&diff=1241335711&oldid=1241281198 ). Or have I missed something? 𝕁𝕄𝔽 (talk) 16:27, 20 August 2024 (UTC)

:Plain table wikitext cannot be put inside a template. See Help:Template#Hints and workarounds, starting with {{tq|1=Similarly, it is not possible to use an ordinary pipe character ...}}

:How to do it without templates is described in {{section link|Help:Collapsing#Collapsible tables}}. —⁠andrybak (talk) 00:24, 21 August 2024 (UTC)

::Yes, I knew about that but have never done one so hoped that this template would allow me to evade the inevitable for while longer {{smiley}}. But I see that you have done the needful (thank you again) so I will look at how you have done it, for future reference. 𝕁𝕄𝔽 (talk) 22:07, 22 August 2024 (UTC)

Use of apostrophes/bullets instead of break tags?

Greetings and felicitations. Is it possible to use bullets/apostrophes instead of HTML break tags to separate elements in the list in this template? I find carriage return separated bullets are easier to parse/read and therefore to edit. Also, what is meant by "This template prefers block formatting of parameters."? The image gives a hint, but I want to make certain that I understand it correctly. —DocWatson42 (talk) 00:35, 16 September 2024 (UTC)

:Re: {{tq|Is it possible to use bullets/apostrophes instead of HTML break tags to separate elements in the list in this template?}} – Yes, it is possible to use bullets inside template {{tl|Hidden}}:

{{Hidden|1=The header|2=

  • Red
  • Green
  • Blue

}}

: Re: {{tq|Also, what is meant by "This template prefers block formatting of parameters."?}} – this is a line from Wikipedia:TemplateData/Tutorial. There are two common ways of arranging the template parameters in the source wikitext:

1st: {{Example|param1=foo|param2=bar}}

vs

2nd: {{Example

|param1=foo

|param2=bar

}}

: The first one is called "inline". The second one is called "block". For template {{tl|Hidden}}, the TemplateData block {{em|doesn't}} specify the preferred format. If you give more details about how you encountered this string of text, we'll be able to give a more precise answer. Hope this helps. —⁠andrybak (talk) 04:05, 16 September 2024 (UTC)

:: I'm sorry for taking so long to reply—I lost track of this conversation. Apparently I found the phrase in Wikipedia:TemplateData/Tutorial. —DocWatson42 (talk) 11:36, 1 October 2024 (UTC) Edit: Thank you. ^_^ —DocWatson42 (talk) 11:37, 1 October 2024 (UTC)

"Hidden" template formatting issue