模板:Info

来自百问网嵌入式Linux wiki
Wiki讨论 | 贡献2020年4月10日 (五) 16:06的版本 (创建页面,内容为“<noinclude> ==Usage== The Info template is used '''to draw attention to a particularly important point'''. It puts a message box with a "dark blue…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Usage

The Info template is used to draw attention to a particularly important point.

It puts a message box with a "dark blue info" icon in the page.

Usage:  {{Info | <message>}}

Where <message> is the optional info message. If this parameter is not set, the default message is "Info".

Basic examples

You type You get
Info without specific info message
{{Info}}
Info.png Info
Info with specific Info message
{{Info | Note that the below actions are optional but recommended}}
Info.png Note that the below actions are optional but recommended

More examples

You type You get
Info with a long info message
{{Info | The info message is a long sentence. Lorem ipsum: isdem diebus Apollinaris Domitiani gener, paulo ante agens palatii Caesaris curam, ad Mesopotamiam missus a socero per militares numeros immodice scrutabatur, an quaedam altiora meditantis iam Galli.}}
Info.png The info message is a long sentence. Lorem ipsum: isdem diebus Apollinaris Domitiani gener, paulo ante agens palatii Caesaris curam, ad Mesopotamiam missus a socero per militares numeros immodice scrutabatur, an quaedam altiora meditantis iam Galli.
Check that the spaces before and after the info message
BEFORE{{Info | Check spaces}}AFTER<br>
BEFORE
{{Info | Check spaces}}
AFTER

BEFORE

Info.png Check spaces
AFTER

BEFORE

Info.png Check spaces

AFTER

Code

Info.png Info