Template:Tip: Difference between revisions

From DDraceNetwork
(Import "tip" template from arch wiki: https://wiki.archlinux.org/index.php?title=Template:Tip&oldid=706212)
 
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
<languages/>
<translate>
<!--T:1-->
A "Tip" box used to share helpful hints.
A "Tip" box used to share helpful hints.


See also [[Help:Style#Notes, Warnings, Tips]].
== Usage == <!--T:2-->


== Usage ==
</translate>
<code><nowiki>{{Tip|This text should be considered.}}</nowiki></code>
<pre>
<nowiki>{{Tip|This text should be considered.}}</nowiki>
</pre>
<translate>


== Example ==
== Example == <!--T:3-->
{{Tip|This text should be considered.}}</noinclude><includeonly><div class="template-box template-box-tip"><strong>Tip:</strong> {{{1|}}}</div></includeonly>
 
</translate>
{{Tip|<translate><!--T:4--> This text should be considered.</translate>}}
<translate>
 
== See also == <!--T:5-->
</translate>
{{Template:NotifyBoxesList}}
 
[[Category:Templates{{#translation:}}]]
</noinclude><includeonly><div class="template-box template-box-tip"><translate><!--T:6--> '''Tip:'''</translate> {{{1}}}</div></includeonly><noinclude>
<templatedata>
{
"params": {
"1": {
"label": "Text",
"description": "The text to display.",
"example": "This text should be considered.",
"type": "string",
"required": true
}
},
"description": "A \"Tip\" box used to share helpful hints.",
"format": "inline"
}
</templatedata>
</noinclude>

Latest revision as of 23:29, 3 March 2023

A "Tip" box used to share helpful hints.

Usage

{{Tip|This text should be considered.}}

Example

Tip: This text should be considered.

See also

A "Tip" box used to share helpful hints.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The text to display.

Example
This text should be considered.
Stringrequired