Template:Tip: Difference between revisions

From KDE Community Wiki
No edit summary
(Modifications to make template work well with neverland)
Line 1: Line 1:
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Tip }}
{{Box1|2={{{2|Tip}}}|3=[[Image:Ktip.png|left|40px|link=]]|1={{{1}}} }}
|3=[[Image:Ktip.png|left|40px|link=]]
|1={{{1}}}
|4=alert-success
}}
<noinclude>
<noinclude>
----
This template displays an info box in the page. Syntax: <code><nowiki>{{Info|2=title|1=text}}</nowiki></code>
Displays an information box. Parameters
# The body of the box
# Text of the main body
# (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.
# (optional) Title of the box (default: Tip)


Example: <nowiki>{{Tip|This is a piece of advice}}</nowiki> gives
Example: {{Input|1=<nowiki>{{Tip|1=This is a tip.}}</nowiki>}}
{{Tip|1=This is a tip.}}


{{Tip|This is a piece of advice}}
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Revision as of 06:53, 27 August 2012

 
Tip
{{{1}}}

This template displays an info box in the page. Syntax: {{Info|2=title|1=text}}

  1. The body of the box
  2. (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.

Example:

{{Tip|1=This is a tip.}}
 
Tip
This is a tip.