Template:Protip/sk: Difference between revisions

From Vintage Story Wiki
(Created page with "Rada profesionála:")
 
(Updating to match new version of source page)
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:07, 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 Rada profesionála:
This rock is full of more, smaller, rocks.

And without the icon:

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

becomes

Rada profesionála:
I like looking at pictures! :(