Template:Protip/doc: Difference between revisions

From Vintage Story Wiki
No edit summary
(Marked this version for translation)
Line 6: Line 6:
<pre>
<pre>
{{Protip
{{Protip
[|Icon=<translate>some-file</translate>.png]
[|Icon=<translate><!--T:12--> some-file</translate>.png]
|<translate><!--T:2--> Your pro tip</translate>
|<translate><!--T:2--> Your pro tip</translate>
}}
}}

Revision as of 08:54, 30 July 2023

Other languages:

Usage

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

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

Examples

{{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! :(