Difference between revisions of "Template:InternalInfo"

[quality revision] [quality revision]
m
(Merge articles)
 

1 Usage[edit]

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.

2 Basic examples[edit]

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

3 More examples[edit]

You type You get
No message supplied
{{InternalInfo}}
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.}}
Check that the spaces before and after the message
BEFORE{{InternalInfo | Check spaces}}AFTER<br>
BEFORE
{{InternalInfo | Check spaces}}
AFTER

BEFOREAFTER
BEFORE

AFTER

4 Maintenance[edit]

This template is a template common to all ST wikis.
Modifications must be done into the WikiModel. They must be reviewed by all ST wikis maintainers.
When approved, the template can be pushed/merged towards all ST wikis.

5 Code[edit]

<noinclude>

==Usage==
The [[Template:InternalInfo|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'''. {{Highlight|However, do not put any confidential information in the parameters of this template}}.

 Usage:  <nowiki>{{</nowiki>InternalInfo | {{HighlightParam|<message>}}}}
Where {{HighlightParam|<message>}} is the '''mandatory''' internal info message.

==Basic examples==
{| class="st-table"
! You type !! You get
|-
| Internal info<pre style="white-space: pre-wrap;">

{{InternalInfo | When connecting to the STMicroelectronics network, you have to execute these additional commands: ...}}</pre>

|
{{InternalInfo | When connecting to the STMicroelectronics network, you have to execute these additional commands: ...}}
|}

==More examples==
{| class="st-table"
! You type !! You get
|-
| No message supplied<pre style="white-space: pre-wrap;">

{{InternalInfo}}</pre>

|
{{InternalInfo}}
|-
| Message supplied with a long sentence<pre style="white-space: pre-wrap;">

{{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.}}</pre>

|
{{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.}}
|-
| Check that the spaces before and after the message<pre style="white-space: pre-wrap;">

BEFORE{{InternalInfo | Check spaces}}AFTER<br>

BEFORE
{{InternalInfo | Check spaces}}
AFTER</pre>

|
BEFORE{{InternalInfo | Check spaces}}AFTER<br>

BEFORE
{{InternalInfo | Check spaces}}
AFTER
|}

==Maintenance==
This template is a template common to all ST wikis. <br>

Modifications must be done into the [[stwikimodel:Template:InternalInfo|WikiModel]]. They must be reviewed by all  ST wikis maintainers.<br>

When approved, the template can be pushed/merged towards all ST wikis.

==Code==</noinclude>{{#tag:secureTransclude||
src=ProtectedTemplate:InternalInfo|
params={{{1|}}}
}}
Line 53: Line 53:
 
AFTER
 
AFTER
 
|}
 
|}
  +
  +
==Maintenance==
  +
This template is a template common to all ST wikis. <br>
  +
Modifications must be done into the [[stwikimodel:Template:InternalInfo|WikiModel]]. They must be reviewed by all  ST wikis maintainers.<br>
  +
When approved, the template can be pushed/merged towards all ST wikis.
   
 
==Code==
 
==Code==