Template:Tip: Difference between revisions

From KDE Wiki Sandbox
No edit summary
m (remove space)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Box|2={{{3|Tip}}}|3=[[Image:Ktip.png|left|40px]]|1={{{1}}}|4={{{4|alert-info}}}|5={{{5}}} }}
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Tip }}
<noinclude>
|3=[[Image:Ktip.png|left|40px|link=]]
|1={{{1}}}
|4=alert-success
}}<noinclude>
----
Displays an information box. Parameters
# Text of the main body
# (optional) Title of the box (default: Tip)
 
Example: <nowiki>{{Tip|This is a piece of advice}}</nowiki> gives
 
{{Tip|This is a piece of advice}}
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 20:48, 13 July 2019

Tip
{{{1}}}

Displays an information box. Parameters

  1. Text of the main body
  2. (optional) Title of the box (default: Tip)

Example: {{Tip|This is a piece of advice}} gives

Tip
This is a piece of advice