Template:Protip: Difference between revisions

From Vintage Story Wiki
(Marked this version for translation)
mNo edit summary
Line 25: Line 25:
And without the icon:
And without the icon:
<pre>
<pre>
{{Protip
{{tnt|Protip
|I like looking at pictures! :(
|I like looking at pictures! :(
}}
}}
</pre>
</pre>
becomes
becomes
{{Protip
{{tnt|Protip
|I like looking at pictures! :(
|I like looking at pictures! :(
}}
}}
</noinclude>
</noinclude>

Revision as of 09:06, 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:

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

becomes

Protip:
I like looking at pictures! :(