Template:Protip: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Tag: Manual revert
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|
<noinclude><languages />
|{{#if:{{{File|}}}|[[File:{{{File}}}|100px]]}}
</noinclude><includeonly>{|
|<h5>Protip:</h5>
|{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}}
|<b><translate><!--T:5--> Protip:</translate></b>
{{#tag:pre|{{{1|}}}}}
{{#tag:pre|{{{1|}}}}}
|}
|}</includeonly>
 
<noinclude>
<noinclude>
== Usage ==
<pre>
{{Protip
{{Protip
[|File=some-file.png]
|Icon=Ore-flint-granite.png
|Your pro tip
|This is your professional tip to the object/function.
}}
}}
</pre>
 
The optional <code>File</code> argument specifies a small icon next to the tip, for added flair!
{{doc}}</noinclude>
== Examples ==
<pre>
{{Protip
|File=Ore-flint-granite.png
|This rock is full of more, smaller, rocks.
}}
</pre> is rendered as
{{Protip
|File=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>
Confirmedusers, editor
37,784

edits