Jump to content

Template:Tip: Difference between revisions

From KDE Community Wiki
Claus chr (talk | contribs)
typo
Annew (talk | contribs)
No edit summary
Line 1: Line 1:
{{Box1|2={{{2|Tip}}}|3=[[Image:Ktip.png|left|40px|link=]]|4=alert-success|1={{{1}}} }}
{{Box|1={{{3|Tip}}}|2=[[Image:Ktip.png|left|40px|link=]]<div style="margin-left:50px">{{{1}}}</div> |3={{{4}}}|4={{{5}}} }}
<noinclude>
<noinclude>
This template displays an info box in the page. Syntax: <code><nowiki>{{Info|2=title|1=text}}</nowiki></code>
[[Category:Template]]
# The body of the box
</noinclude>
# (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.


Example: {{Input|1=<nowiki>{{Tip|1=This is a tip.}}</nowiki>}}
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Tip }}
{{Tip|1=This is a tip.}}
|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>

Revision as of 16:42, 27 August 2012

{{{4}}}

{{{1}}}
Tip


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

{{{4}}}

This is a piece of advice
Tip


Tip

This is a piece of advice