Template:Protip/doc: Difference between revisions

From Vintage Story Wiki
No edit summary
m (Remove tnt)
 
(3 intermediate revisions by one other user not shown)
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>
}}
}}
Line 39: Line 39:
<translate><!--T:10--> ''becomes:''</translate>
<translate><!--T:10--> ''becomes:''</translate>


{{tnt|Protip
{{Protip
|<translate><!--T:11--> I like looking at pictures! :(</translate>
|<translate><!--T:11--> I like looking at pictures! :(</translate>
}}
}}

Latest revision as of 20:06, 8 December 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! :(