Template talk:Hidden archive top
This is the talk page for discussing improvements to the Hidden archive top template. |
|
Archives: 1 |
![]() | This template (Template:Hidden archive top) was considered for deletion on 2010 September 23. The result of the discussion was ""WP:SNOW Keep" (after 17 hours)". |
Nomination for merging of Template:Collapse bottom and Template:Hidden archive bottom
[edit]Template:Collapse bottom has been nominated for merging with Template:Hidden archive bottom. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. Thank you. –MJL ‐Talk‐☖ 03:15, 28 February 2021 (UTC)
Why?
[edit]Why is basically the same line used twice? --91.5.101.3 (talk) 01:33, 17 June 2022 (UTC)
[show] button not working
[edit]I'm not familiar with this template, so I'm not sure where the issue is and whether there's an issue in the first place, but I've encountered it on Talk:Viktor Shokin where it's in the top section of the talk page. The template displays the text [show] and I would expect that this is a button/hyperlink to see said archived discussion. The problem is that this show-button/hyperlink is not clickable. To see the discussion I need to go into the Editor (~edit section). There, I can see the discussion in raw wiki syntax. But that's probably not how this template is supposed to work...? Nakonana (talk) 11:37, 22 October 2023 (UTC)
Heading text colour unreadable in dark mode
[edit]![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
In Vector 2022 dark mode, as can (not) be seen at Special:Permalink/1237147973, all headings inside the hatted section are shown with white text, making them unreadable on the light orange background. This is because of two style rules: .mw-heading, h1, h2, h3, h4, h5, h6 { color: var(--color-emphasized, #000) }
and html.skin-theme-clientpref-night { --color-emphasized: #f8f9fa }
.
I think this could be fixed using TemplateStyles with either something like .hidden-archive { --color-emphasized: black }
or.hidden-archive .mw-heading { color: black }
, but maybe someone else has a better idea. Thoughts? Rummskartoffel 10:49, 28 July 2024 (UTC) Turns out TemplateStyles doesn't allow setting variables, so that fix wouldn't work. Rummskartoffel 11:31, 28 July 2024 (UTC)
- Please copy Special:Permalink/1237150758 to Template:Hidden archive top/styles.css, then insert
<templatestyles src="Template:Hidden archive top/styles.css" />
before the current first line of Template:Hidden archive top. Rummskartoffel 20:26, 31 July 2024 (UTC)Not done for now: please establish a consensus for this alteration before using the
{{Edit template-protected}}
template.- Headings won't be the only thing that can be broken inside a {{hat}}/{{hab}} pair in dark mode. A more general approach, perhaps using mw:Codex colors (with
color: var(--color-base, #202122);
to deal dark mode styling), should be used. I tried some colors: Special:Diff/1148582313/1238559239, but it is too far from the current #fcf4ef . - The top row of {{hat}} has color #f2dfce . Perhaps, we should completely revamp the coloring and only use Codex colors? —andrybak (talk) 14:44, 4 August 2024 (UTC)
Template-protected edit request on 3 August 2025 support indentation
[edit]![]() | It is requested that an edit be made to the template-protected template at Template:Hidden archive top. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · test cases · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the template's sandbox and test them thoroughly here before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
The reply tool was inserting comments ahead of the section I {{hat}}ed at Talk:2025_Kamchatka_Peninsula_earthquake#Requested_move_31_July_2025. Other people kept needing to move comments into chronological order.
Please sync from Special:Permalink/1304091969. At the same time, change {{hab}} to </td></tr></table>
. This solution of expanding the HTML tables was taken from https://stackoverflow.com/a/42906173 . 174.138.212.166 (talk) 09:01, 3 August 2025 (UTC)
Indentation demo
[edit]The : and * need to be replaced with HTML to properly use this new feature of having {{hat}} itself indented.
Demo [[Special:Contributions/174.138.212.166|174.138.212.166]] ([[User talk:174.138.212.166|talk]]) 23:12, 1 August 2025 (UTC)
* test [[Special:Contributions/174.138.212.166|174.138.212.166]] ([[User talk:174.138.212.166|talk]]) 08:50, 3 August 2025 (UTC)
*{{Template:Hidden_archive_top/sandbox}}<dl><!--
--><dd>test</dd><!--
--><dd>test2 [[Special:Contributions/174.138.212.166|174.138.212.166]] ([[User talk:174.138.212.166|talk]]) 08:39, 3 August 2025 (UTC)</dd><!--
--></dl></td></tr></table>
* test [[Special:Contributions/174.138.212.166|174.138.212.166]] ([[User talk:174.138.212.166|talk]]) 08:49, 3 August 2025 (UTC)
I substed {{Hidden_archive_top/sandbox}} below using ExpandTemplates in case someone modifies the sandbox. Notice that the "Reply" button to the right of "Demo" works properly now.
Demo 174.138.212.166 (talk) 23:12, 1 August 2025 (UTC)
- test 174.138.212.166 (talk) 08:50, 3 August 2025 (UTC)
This discussion has been closed. Please do not modify it. The following discussion has been closed. Please do not modify it. - test
- test2 174.138.212.166 (talk) 08:39, 3 August 2025 (UTC)
- test 174.138.212.166 (talk) 08:49, 3 August 2025 (UTC)
The show button being on the left is apparently indended on line 355. 174.138.212.166 (talk) 09:11, 3 August 2025 (UTC)
- Yes, because the safesubst:ifsubst template wasn't closed within the table's opening parameters. Additionally, tables may not be placed on bulleted lines (see MW:Help:Lint errors/multiline-html-table-in-list). Zinnober9 (talk) 11:57, 3 August 2025 (UTC)
- In your link, it said
An alternative fix would be to make the HTML table be on the same line
, which is how my proposal works without lint errors.I also fixed the problem wherethe safesubst:ifsubst template wasn't closed
. 174.138.212.166 (talk) 23:05, 3 August 2025 (UTC)
- In your link, it said