Template:Protip: Difference between revisions

From Vintage Story Wiki
m
formatting and include only tags
No edit summary
m (formatting and include only tags)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|
<includeonly>{|
|{{#if:{{{File|}}}|[[File:{{{File}}}|100px]]}}
|{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}}
|<h5>Protip:</h5>
|<b>Protip:</b>
{{#tag:pre|{{{1|}}}}}
{{#tag:pre|{{{1|}}}}}
|}
|}</includeonly><noinclude>
 
<noinclude>
== Usage ==
== Usage ==
<pre>
<pre>
{{Protip
{{Protip
[|File=some-file.png]
[|Icon=some-file.png]
|Your pro tip
|Your pro tip
}}
}}
</pre>
</pre>
The optional <code>File</code> argument specifies a small icon next to the tip, for added flair!
The optional <code>Icon</code> argument specifies a small icon next to the tip, for added flair!
== Examples ==
== Examples ==
<pre>
<pre>
{{Protip
{{Protip
|File=Ore-flint-granite.png
|Icon=Ore-flint-granite.png
|This rock is full of more, smaller, rocks.
|This rock is full of more, smaller, rocks.
}}
}}
</pre> is rendered as
</pre> is rendered as
{{Protip
{{Protip
|File=Ore-flint-granite.png
|Icon=Ore-flint-granite.png
|This rock is full of more, smaller, rocks.
|This rock is full of more, smaller, rocks.
}}
}}
Confirmedusers, Bureaucrats, editor, Administrators
1,522

edits