维基百科:条目消息框

维基百科,自由的百科全书
跳转至: 导航搜索

一个标准且永久性的条目消息框的样式已被选出。这些消息框或条目模版将会被放在条目顶部。

Scope[编辑]

The scope of this page and standardisation effort is the design of article message boxes. That is, message boxes that go on the top of articles and article sections. Other kinds of article templates such as navigation boxes and infoboxes are not included.

Talk page templates were already standardised last year, see Wikipedia:Talk page templates.

Project namespace templates such as the box on the top of this page are not within the scope of this standardisation effort.

New design is ready[编辑]

The CSS code and meta template are finished and we have now (September 2007) started to convert the old article message boxes to the new design. The design of these article message boxes is controlled by the ambox CSS classes in MediaWiki:Common.css.

The meta template {{ambox}} makes it easy to create article message boxes in the new design. It has usage documentation and examples. Note that {{ambox}} is just a thin wrapper for the CSS classes.

The CSS classes can also be used directly in a wikitable or HTML table, especially when special functionality is needed. The how-to guide Wikipedia:Ambox CSS classes describes that.

Browser cache[编辑]

If these two boxes don't look alike, you need to refresh your web browser cache:

Hardcoded box.

This is a temporary caching problem that should be gone in some days.

Reasoning[编辑]

The tags that we use to notify people of problems within an article are on thousands of our pages. Our readers see them and judgements are made not only about the article at hand but about the project itself. Currently we have a myriad of templates that often share some level of consistency but still look very mismatched.

The proposal below aims to address these issues. The thinking behind the design is:

  • It is colour-coded but without using an overpowering amount
  • Standard widths
  • Generally a better design than we have now
  • It is easily implemented

Colour code[编辑]

Colour coding article message box templates will help to inform of the severity of the issues at a glance. Having a small amount of colour is best, as too much can be overwhelming.

Wikipedia:Template standardisation/colorsample Wikipedia:Template standardisation/colorsample Wikipedia:Template standardisation/colorsample Wikipedia:Template standardisation/colorsample Wikipedia:Template standardisation/colorsample

Currently under discussion at the talk page:

Wikipedia:Template standardisation/colorsample

Alternate skins[编辑]

It is possible to customize the appearance of ambox templates by adding to or altering the code in your monobook.css page. There are several pre-made "skins" available for this at Wikipedia:Ambox CSS classes/Skins.

Design[编辑]

Please note:

  • The wording of these message boxes is not under discussion at this time. Initial implementation will use the text from the existing "production" templates. The wording in the examples below is for illustration purposes only.
  • An alternative thin-double-barred variation on this theme can be viewed here.
  • The following box has a white background to mimic article pages.


“保护”模板[编辑]

Padlock.svg

This page is currently protected from editing to deal with vandalism. Protection is not an endorsement of the current version (protection log). Template:Howtoedit

“严重问题”模板[编辑]


This page may meet Wikipedia’s criteria for speedy deletion.
The given reason is: It is a very short article providing little or no context (CSD A1), contains no content whatsoever (CSD A3), consists only of links elsewhere (CSD A3) or a rephrasing of the title (CSD A3).
Please consider placing {{subst:empty-warn|Wikipedia:条目消息框}} ~~~~ on the User Talk page of the author.

“内容问题”模板[编辑]

Unbalanced scales.svg The neutrality of this article is disputed.
Please see the discussion on the talk page.


Newspaper nicu buculei 01.svg This article or section reads like an advertisement.
To meet Wikipedia's quality standards and comply with Wikipedia's neutral point of view policy, it may require cleanup.

“格式问题”模板[编辑]

“条目提示”模板[编辑]

Gnome globe current event.svg This article documents a current event.
Information may change rapidly as the event progresses.

“合并与转移”模板[编辑]

Merge-arrows.svg It has been suggested that this page or section be merged with Page title.  (discuss)

Stacking demo[编辑]

Unbalanced scales.svg The neutrality of this article is disputed.
Please see the discussion on the talk page.
Wikitext.svg This article or section lacks formatting.
Please wikify it as suggested in the Guide to layout and the Manual of Style.
Gnome globe current event.svg This article documents a current event.
Information may change rapidly as the event progresses.

參見[编辑]