Template:Tip: Difference between revisions
Appearance
No edit summary |
add image parameter, now template is closer to userbase:Template:Tip |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Box|2= | {{Box|2={{{2|Tip}}} | ||
|3=[[Image:Ktip.png|left|40px|link=]] | |3=[[Image:Ktip.png|left|40px|link=]] | ||
|1={{{1}}} | |1={{{1}}} | ||
|4=alert-success | |4=alert-success | ||
}} | }}<noinclude> | ||
<noinclude> | <noinclude> | ||
This template displays an info box in the page. Syntax: <code><nowiki>{{Info|2=title|1=text}}</nowiki></code> | |||
# Text of the main body | # Text of the main body | ||
# (optional) Title of the box (default: Tip) | # (optional) Title of the box (default: Tip) - Translators: Consider creating a translated version of this template instead of using this parameter every time. | ||
Example: <nowiki>{{Tip|This is a piece of advice}}</nowiki> | Example: {{Input|1=<nowiki>{{Tip|This is a piece of advice}}</nowiki>}} | ||
{{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.