跳转到内容

Template talk:Ombox

页面内容不支持其他语言。
添加话题
维基百科,自由的百科全书
臺灣象象在话题“編輯請求 2026-10-25”中的最新留言:30天前

Urgent: Please fix this template for printed content Template:Ombox/style.css.

[编辑]

Firstly, apologies for writing in English if this is not your first language (this is an automated message).

This template has been detected as one of 436 pages using styles that break the page when printed when the user is using dark mode. The fix is very straightforward - all your styles relating to dark mode must be scoped to. Since there is a high risk of this templates being copied to other wikis it is important this notice is acted on ASAP.

To fix this:

  1. Update `@media (prefers-color-scheme: dark` to `@media screen and (prefers-color-scheme: dark`
  2. Wrap any styles relating to `html.skin-theme-clientpref-night` in `@media screen`

If this message has not been acted on in 7 days, this will be fixed by an automated script. Thank you for your help fixing this important issue.

Jon (WMF)(留言) 2024年8月2日 (五) 17:55 (UTC) on behalf of the web team.回复

編輯請求 2025-05-22

[编辑]
请求已拒绝

将MediaWiki:Common.css中的样式迁移至模板样式。在开头加上

<templatestyles src="Template:Ombox/style.css" />

以上。--碟之舞📀💿 2025年5月22日 (四) 08:50 (UTC)回复


撤回请求,被Module_talk:Message_box#編輯請求_2025-05-22代替。--碟之舞📀💿 2025年5月22日 (四) 10:52 (UTC)回复

編輯請求 2026-10-25

[编辑]

使用Draft:Template:Ombox/style.css更新模板样式(应该可以直接移动合并)。--Dabao qian℡ 2026年10月25日 (日) 18:00 (UTC)回复

所以是要移動覆蓋的方式合併嗎?--象象🐘(留言|貢獻) 2026年10月25日 (日) 18:03 (UTC)回复
覆盖移动合并或者剪贴移动均可,前者可以消除草稿。--Dabao qian℡ 2026年10月25日 (日) 18:11 (UTC)回复