Template:Protip: Difference between revisions

From Vintage Story Wiki
(Translation though Translatable template)
Tag: Undo
(Marked this version for translation)
Line 1: Line 1:
<noinclude><languages /></noinclude><includeonly>{|
<noinclude><languages /></noinclude><includeonly>{|
|{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}}
|{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}}
|<b><translate>Protip:</translate></b>
|<b><translate><!--T:1--> Protip:</translate></b>
{{#tag:pre|{{{1|}}}}}
{{#tag:pre|{{{1|}}}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>

Revision as of 09:04, 21 August 2022

Usage

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

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

Examples

{{tnt|Protip
|Icon=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! :(