Template:Protip: Difference between revisions

From Vintage Story Wiki
(Created page with "{| |{{#if:{{{Image|}}}[[Image:{{{Image|}}}|100px|left]]}} |<h5>Protip:</h5> <pre>test</pre> |}")
 
No edit summary
Tag: Manual revert
 
(32 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|
<noinclude><languages />
|{{#if:{{{Image|}}}[[Image:{{{Image|}}}|100px|left]]}}
</noinclude><includeonly>{|
|<h5>Protip:</h5>
|{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}}
<pre>test</pre>
|<b><translate><!--T:5--> Protip:</translate></b>
|}
{{#tag:pre|{{{1|}}}}}
|}</includeonly>
<noinclude>
{{Protip
|Icon=Ore-flint-granite.png
|This is your professional tip to the object/function.
}}
 
{{doc}}</noinclude>

Latest revision as of 09:06, 30 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.