Template:Tip: Difference between revisions
Appearance
m Remove icon |
add image parameter, now template is closer to userbase:Template:Tip |
||
Line 1: | Line 1: | ||
{{Box|2={{{2|Tip}}} | {{Box|2={{{2|Tip}}} | ||
|3=[[Image:Ktip.png|left|40px|link=]] | |||
|1={{{1}}} | |1={{{1}}} | ||
|4=alert-success | |4=alert-success | ||
Line 5: | Line 6: | ||
<noinclude> | <noinclude> | ||
This template displays an info box in the page. Syntax: <code><nowiki>{{Info|2=title|1=text}}</nowiki></code> | This template displays an info box in the page. Syntax: <code><nowiki>{{Info|2=title|1=text}}</nowiki></code> | ||
# | # Text of the main body | ||
# (optional) | # (optional) Title of the box (default: Tip) - Translators: Consider creating a translated version of this template instead of using this parameter every time. | ||
Example: {{Input|1=<nowiki>{{Tip| | Example: {{Input|1=<nowiki>{{Tip|This is a piece of advice}}</nowiki>}} | ||
{{Tip| | {{Tip|This is a tip.}} | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 05:06, 9 April 2025

Tip
{{{1}}}
This template displays an info box in the page. Syntax: {{Info|2=title|1=text}}
- Text of the main body
- (optional) Title of the box (default: Tip) - Translators: Consider creating a translated version of this template instead of using this parameter every time.
Example:
{{Tip|This is a piece of advice}}

Tip
This is a tip.