模板:Warnsign/doc

来自决策链云智库
< 模板:Warnsign
Zeroclanzhang讨论 | 贡献2024年1月22日 (一) 21:24的版本 (创建页面,内容为“{{Documentation subpage}} <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see Wikipedia:Wikidata)--> This template is to highlight the importance / warn, commonly for use on talk pages. It is used to visually draw attention inline in a message, to a warning about something, such as inappropriate editor behavior, a coding difficulty to watch out for, etc. {{Strong|It is not used in WP:MAI…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

This template is to highlight the importance / warn, commonly for use on talk pages. It is used to visually draw attention inline in a message, to a warning about something, such as inappropriate editor behavior, a coding difficulty to watch out for, etc. It is not used in article namespace, but it can be used in other namespaces.

You may either use {{warnsign}} by itself for the default message or you may add a custom message as an optional parameter.

Template Result
{{warnsign}} red-outlined triangle containing exclamation point Warning
{{warnsign|<Custom message>}} red-outlined triangle containing exclamation point Custom message

Example

模板:Pseudoheading The source is fine, you are an idiot. --User:Example0

red-outlined triangle containing exclamation point Warning personal attacks are not tolerated; please stick to discussing the content. --User:Example1

See also

This list:

Inline icon templates by shape and color

Any of the following inline, comment-level templates can be converted into {{Resolved}}-style hatnotes by using {{Resbox}} to put a box around the icon and text.

模板:Col-float

模板:Col-float-break

模板:Col-float-end

Others

Multi-sign templates

The following templates implement several icons:

Others