Difference between revisions of "Template:Protip"

From Vintage Story Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{|
 
{|
 
|{{#if:{{{File|}}}|[[File:{{{File}}}|100px]]}}
 
|{{#if:{{{File|}}}|[[File:{{{File}}}|100px]]}}
|<h5>Protip:</h5>
+
|<b>Protip:</b>
 
{{#tag:pre|{{{1|}}}}}
 
{{#tag:pre|{{{1|}}}}}
 
|}
 
|}

Revision as of 19:56, 31 October 2019

Protip:


Usage

{{Protip
[|File=some-file.png]
|Your pro tip
}}

The optional File argument specifies a small icon next to the tip, for added flair!

Examples

{{Protip
|File=Ore-flint-granite.png
|This rock is full of more, smaller, rocks.
}}

is rendered as

Ore-flint-granite.png Protip:
This rock is full of more, smaller, rocks.


And without the icon:

{{Protip
|I like looking at pictures! :(
}}

becomes

Protip:
I like looking at pictures! :(