Template:Protip/doc: Difference between revisions
From Vintage Story Wiki
(Marked this version for translation) |
No edit summary |
||
Line 6: | Line 6: | ||
<pre> | <pre> | ||
{{Protip | {{Protip | ||
[|Icon=some-file.png] | [|Icon=<translate>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
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:
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! :( |