ទំព័រគំរូ:Notice

ឯកសារកម្មទំព័រគំរូ[មើល] [កែ] [ប្រវត្តិ] [ជម្រុះ]

This is the {{notice}} message box.

When used in articles, this message box should only be used for important comments about the article that cannot be shown using a more specific template. Less important comments should as usual be put as text on the article's talk page instead.

This message box can also be used on other pages, such as on the top of talk or project pages. There it can be used in a more relaxed way.

This box automatically changes style depending on what kind of page it is shown on. That is, it uses the standardised message box styles for the different types of pages.

Articlesកែប្រែ

This is how this box looks on article (main space) pages. Here is a code example:

{{notice|Include text here.}}

Which renders like this:


An optional header text can be added. Like this:

{{notice|header=Header text|Include text here.}}

Which renders like this:


The message box can also take an image parameter, but that is discouraged when the box is used in articles. See example further down for how to use that parameter.

Talk pagesកែប្រែ

This is how this box looks on any talk page. That is, pages that start with "Talk:", "User talk:", "Image talk:" and so on. Here's the basic box again:

{{notice|Include text here.}}

Which renders like this:

The header parameter works on talk pages too. But there is one parameter that only works on talk pages, the small parameter. Like this:

{{notice|small=yes|header=Header text|Include text here.}}

As you can see, "small=yes" causes a smaller right floating box with a smaller image and smaller text size.
Let's try the image parameter too. Like this:

{{notice|small=yes|image=Stop hand nuvola.svg
  |header=Header text|Include text here.}}


Image and category pagesកែប្រែ

This is how this box looks on image pages:

This is how this box looks on category pages:

Other pagesកែប្រែ

This is how this box looks on most other pages, such as pages that start with "User:", "Wikipedia:", "Help:" and so on.

{{notice|Include text here.}}

Which renders like this:

The box can also take an image parameter. Like this:

{{notice|image=Stop hand nuvola.svg|Include text here.}}

Which renders like this:

The header and image parameters can of course be used at the same time.

External linksកែប្រែ

In most cases, external links can be used in the template without any complications. However, links containing an equal sign ( = ) are not read properly, because everything on the left of the equal sign is interpreted as a parameter name. This is the suggested work-around:

{{notice|1=Following this parameter, an equal sign in an external link will be read properly.}}

See alsoកែប្រែ

There are other message templates, which serve similar purposes:

  • {{consensus}} – For topics based around reaching consensus.
  • {{warning}} – For important warnings.
  • {{caution}} – For messages indicating serious problems.
  • {{ambox}} – Article message boxes of any type. There is comprehensive information in its documentation about the different options for article message boxes.
https://km.m.wikipedia.org/wiki/%E1%9E%91%E1%9F%86%E1%9E%96%E1%9F%90%E1%9E%9A%E1%9E%82%E1%9F%86%E1%9E%9A%E1%9E%BC:Notice
km.m.wikipedia.org
crawl=CC-MAIN-2022-21
44984
application/http; msgtype=response
sha1:LNW2VBC7R2QHXFZUAGN6G7TCCZVPWYS2
<urn:uuid:3b4c2b21-7ae2-4e78-b9b9-64fd9762e992>
2022-05-26T04:27:22Z
208.80.154.224
text/html
sha1:UIRGQ25CLVXU662RZ7MXS4PW4G3I5FJJ
<urn:uuid:a99c2ebd-509d-4551-bb3b-4ff4a3603d0a>
https://km.m.wikipedia.org/wiki/%E1%9E%91%E1%9F%86%E1%9E%96%E1%9F%90%E1%9E%9A%E1%9E%82%E1%9F%86%E1%9E%9A%E1%9E%BC:Notice
response
<urn:uuid:be6ddda3-3554-4d94-b1cb-52065f6f3f61>
isPartOf: CC-MAIN-2022-21
publisher: Common Crawl
description: Wide crawl of the web for May 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-61
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/