Template:Info: Difference between revisions

From stencil.wiki
(Created page with "<noinclude>{{DISPLAYTITLE:Template:info}} This template displays a message box with a yellow styling and a circle + info icon—it's meant to be used for pull-out information that is important, but not as urgent as Template:warning (especially on Category:Tutorials pages). == Usage == The provided field fills out the text of the message box. <pre> {{info|A JIS Phillips #2 screwdriver can help remove difficult screws, without risk of stripping them.}} </pre> {{m...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{DISPLAYTITLE:Template:info}}
<noinclude>
This template displays a message box with a yellow styling and a circle + info icon—it's meant to be used for pull-out information that is important, but not as urgent as [[Template:warning]] (especially on [[:Category:Tutorials]] pages).
This template displays a message box with {{ink chip|Sunflower}} styling and a circle + info icon—it's meant to be used for pull-out information that is important, but not as urgent as [[Template:warning]] (especially on [[:Category:Tutorials]] pages).


== Usage ==
== Usage ==
The provided field fills out the text of the message box.
The provided field fills out the text of the message box.
<pre>
<pre>
{{info|A JIS Phillips #2 screwdriver can help remove difficult screws, without risk of stripping them.}}
{{Info|A JIS Phillips #2 screwdriver can help remove difficult screws, without risk of stripping them.}}
</pre>
</pre>
{{mbox|text=A JIS Phillips #2 screwdriver can help remove difficult screws, without risk of stripping them.|color_bar={{wiki color|Sunflower}}|icon=circle-info}}
{{mbox|text=A JIS Phillips #2 screwdriver can help remove difficult screws, without risk of stripping them.|color_bar={{wikicolor|Sunflower}}|icon=circle-info}}


== TemplateData ==
== TemplateData ==
Line 25: Line 25:
</templatedata>
</templatedata>
</noinclude><!--
</noinclude><!--
--><includeonly>{{mbox|text={{{1|}}}|color_bar={{wiki color|Sunflower}}|icon=circle-info}}</includeonly>
--><includeonly>{{mbox|text={{{1|}}}|color_bar={{wikicolor|Sunflower}}|icon=circle-info}}</includeonly>

Latest revision as of 13:29, 30 November 2025

This template displays a message box with Sunflower styling and a circle + info icon—it's meant to be used for pull-out information that is important, but not as urgent as Template:warning (especially on Category:Tutorials pages).

Usage

The provided field fills out the text of the message box.

{{Info|A JIS Phillips #2 screwdriver can help remove difficult screws, without risk of stripping them.}}
A JIS Phillips #2 screwdriver can help remove difficult screws, without risk of stripping them.

TemplateData

Used to display a simple info box.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The body text of the message box.

Stringrequired