模板:InternalInfo

来自百问网嵌入式Linux wiki
Wiki讨论 | 贡献2020年5月6日 (三) 19:06的版本 (创建页面,内容为“<noinclude> ==Usage== The InternalInfo template is used '''to store, in a page, information that are restricted to STMicroelectronics emplo…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Usage

The InternalInfo template is used to store, in a page, information that are restricted to STMicroelectronics employees (and therefore useless for any other reader): configurations specific to the STMicroelectronics network, links to internal resources (e.g. video files) etc.

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

Only logged-in users who have writing permissions, can see this box. However, do not put any confidential information in the parameters of this template.

Usage:  {{InternalInfo | <message>}}

Where <message> is the mandatory internal info message.

Basic examples

You type You get
Internal info
{{InternalInfo | When connecting to the STMicroelectronics network, you have to execute these additional commands: ...}}

<securetransclude src="ProtectedTemplate:InternalInfo" params="When connecting to the STMicroelectronics network, you have to execute these additional commands: ..."></securetransclude>

More examples

You type You get
No message supplied
{{InternalInfo}}

<securetransclude src="ProtectedTemplate:InternalInfo" params=""></securetransclude>

Message supplied with a long sentence
{{InternalInfo | The 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.}}

<securetransclude src="ProtectedTemplate:InternalInfo" params="The 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."></securetransclude>

Check that the spaces before and after the message
BEFORE{{InternalInfo | Check spaces}}AFTER<br>
BEFORE
{{InternalInfo | Check spaces}}
AFTER

BEFORE<securetransclude src="ProtectedTemplate:InternalInfo" params="Check spaces"></securetransclude>AFTER
BEFORE <securetransclude src="ProtectedTemplate:InternalInfo" params="Check spaces"></securetransclude> AFTER

Code

<securetransclude src="ProtectedTemplate:InternalInfo" params=""></securetransclude>