Jump to content

Template:Tip: Difference between revisions

From KDE TechBase
Claus chr (talk | contribs)
Modifications to make template work well with neverland
Skierpage (talk | contribs)
add image parameter, now template is closer to userbase:Template:Tip
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Box1|2={{{2|Tip}}}|3=[[Image:Ktip.png|left|40px|link=]]|1={{{1}}} }}
{{Box|2={{{2|Tip}}}
|3=[[Image:Ktip.png|left|40px|link=]]
|1={{{1}}}
|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>
This template displays an info box in the page. Syntax: <code><nowiki>{{Info|2=title|1=text}}</nowiki></code>
# 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) - 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>}}
Example: {{Input|1=<nowiki>{{Tip|This is a piece of advice}}</nowiki>}}
{{Tip|1=This is a tip.}}
{{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}}

  1. Text of the main body
  2. (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.