Template:Protip: Difference between revisions

From Vintage Story Wiki
Description mover to doc
mNo edit summary
(Description mover to doc)
Line 3: Line 3:
|<b><translate><!--T:1--> Protip:</translate></b>
|<b><translate><!--T:1--> Protip:</translate></b>
{{#tag:pre|{{{1|}}}}}
{{#tag:pre|{{{1|}}}}}
|}</includeonly><noinclude>
|}</includeonly>
== Usage ==
<noinclude>
<pre>
{{tnt|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>
{{tnt|Protip
{{tnt|Protip
|Icon=Ore-flint-granite.png
|Icon=Ore-flint-granite.png
|This rock is full of more, smaller, rocks.
|This is your professional tip to the object/function.
}}
</pre> is rendered as
{{tnt|Protip
|Icon=Ore-flint-granite.png
|This rock is full of more, smaller, rocks.
}}
And without the icon:
<pre>
{{tnt|Protip
|I like looking at pictures! :(
}}
</pre>
becomes
{{tnt|Protip
|I like looking at pictures! :(
}}
}}
</noinclude>
</noinclude>
<noinclude>{{doc}}</noinclude>
Confirmedusers
2,123

edits