Template:Tip: Difference between revisions

    From KDE TechBase
    (template: {{tip|text...}} to add a nice tip. if only the icon-size of 50px was accepted :))
     
    m (Fix layout)
    (20 intermediate revisions by 10 users not shown)
    Line 1: Line 1:
    {| style="background-color: #f8f8ff; margin: 1em 2.5% 0 2.5%; padding: 0 10px; border: 1px solid #2090ff;"
    {{Box|2={{{2|Tip}}}
    |-
    |3=[[File:Ktip.png|left|40px|link=]]
    |[[Image:Action_idea.svg|thumb|left|50px|caption]] || {{{1}}}
    |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>
    # 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.
     
    Example: {{Input|1=<nowiki>{{Tip|1=This is a tip.}}</nowiki>}}
    {{Tip|1=This is a tip.}}
     
    [[Category:Template]]
    </noinclude>

    Revision as of 17:32, 18 August 2019

    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.