Template:Tip: Difference between revisions

From KDE TechBase
No edit summary
m (1 revision: Moving Docbook Primer from UserBase to TechBase)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Box1|2={{{2|Tip}}}|3=[[Image:Ktip.png|left|40px|link=]]|4=alert-success|1={{{1}}} }}
<noinclude>
<noinclude>
{{Template}}
This template displays an info box in the page. Syntax: <code><nowiki>{{Info|2=title|1=text}}</nowiki></code>
# The body of the box
# (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.


{{Template:I18n/Language Navigation Bar|Template:Tip}}
Example: {{Input|1=<nowiki>{{Tip|1=This is a tip.}}</nowiki>}}
{{Tip|1=This is a tip.}}


Included content begins
----
</noinclude>
{{Box|1={{{3|Tip}}}|2=[[Image:Ktip.png|left|40px|link=]]<div style="margin-left:50px">{{{1}}}</div> |3={{{4}}}|4={{{5}}} }}
<noinclude>
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Revision as of 08:47, 1 September 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.