Template:Protip: Difference between revisions

From Vintage Story Wiki
No edit summary
(Marked this version for translation)
Line 2: Line 2:
<includeonly>{|
<includeonly>{|
|{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}}
|{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}}
|<b><translate>Protip:</translate></b>
|<b><translate><!--T:3--> Protip:</translate></b>
{{#tag:pre|{{{1|}}}}}
{{#tag:pre|{{{1|}}}}}
|}</includeonly>
|}</includeonly>
Line 8: Line 8:
{{Protip
{{Protip
|Icon=Ore-flint-granite.png
|Icon=Ore-flint-granite.png
|<translate>This is your professional tip to the object/function.</translate>
|<translate><!--T:4--> This is your professional tip to the object/function.</translate>
}}
}}
</noinclude>
</noinclude>
<noinclude>{{doc}}</noinclude>
<noinclude>{{doc}}</noinclude>

Revision as of 09:26, 28 July 2023


Ore-flint-granite.png Protip:
This is your professional tip to the object/function.


[view | edit | history | purge this page]Documentation

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! :(
[view | edit | history | purge this page]The above documentation is transcluded from Template:Protip/doc.