Confirmedusers, Bureaucrats, editor, Administrators
1,522
edits
VeryGoodDog (talk | contribs) (Created page with "{| |{{#if:{{{Image|}}}[[Image:{{{Image|}}}|100px|left]]}} |<h5>Protip:</h5> <pre>test</pre> |}") |
VeryGoodDog (talk | contribs) m (formatting and include only tags) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| | <includeonly>{| | ||
|{{#if:{{{ | |{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}} | ||
|< | |<b>Protip:</b> | ||
<pre> | {{#tag:pre|{{{1|}}}}} | ||
|} | |}</includeonly><noinclude> | ||
== Usage == | |||
<pre> | |||
{{Protip | |||
[|Icon=some-file.png] | |||
|Your pro tip | |||
}} | |||
</pre> | |||
The optional <code>Icon</code> argument specifies a small icon next to the tip, for added flair! | |||
== Examples == | |||
<pre> | |||
{{Protip | |||
|Icon=Ore-flint-granite.png | |||
|This rock is full of more, smaller, rocks. | |||
}} | |||
</pre> is rendered as | |||
{{Protip | |||
|Icon=Ore-flint-granite.png | |||
|This rock is full of more, smaller, rocks. | |||
}} | |||
And without the icon: | |||
<pre> | |||
{{Protip | |||
|I like looking at pictures! :( | |||
}} | |||
</pre> | |||
becomes | |||
{{Protip | |||
|I like looking at pictures! :( | |||
}} | |||
</noinclude> |