Template:Protip: Difference between revisions

From Vintage Story Wiki
(Add traslatebale "Protip:" text (Protip_lang))
(Translation though Translatable template)
Tag: Undo
Line 1: Line 1:
<includeonly>{|
<noinclude><languages /></noinclude><includeonly>{|
|{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}}
|{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}}
|<b>{{#if: {{{Protip_lang|}}} | {{{Protip_lang}}} | Protip:}}</b>
|<b><translate>Protip:</translate></b>
{{#tag:pre|{{{1|}}}}}
{{#tag:pre|{{{1|}}}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
== Usage ==
== Usage ==
<pre>
<pre>
{{Protip
{{tnt|Protip
[|Icon=some-file.png]
[|Icon=some-file.png]
|Your pro tip
|Your pro tip
Line 14: Line 14:
== Examples ==
== Examples ==
<pre>
<pre>
{{Protip
{{tnt|Protip
|Icon=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
{{tnt|Protip
|Icon=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.