Template:Protip/sk: Difference between revisions

From Vintage Story Wiki
Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Tag: Manual revert
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude><languages /></noinclude><includeonly>{|
<noinclude><languages />
</noinclude><includeonly>{|
|{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}}
|{{#if:{{{Icon|}}}|[[File:{{{Icon}}}|100px]]}}
|<b>Rada profesionála:</b>
|<b>Rada profesionála:</b>
{{#tag:pre|{{{1|}}}}}
{{#tag:pre|{{{1|}}}}}
|}</includeonly><noinclude>
|}</includeonly>
== Usage ==
<noinclude>
<pre>
{{Protip
{{tnt|Protip
[|Icon=some-file.png]
|Your pro tip
}}
</pre>
The optional <code>Icon</code> argument specifies a small icon next to the tip, for added flair!
== Examples ==
<pre>
{{tnt|Protip
|Icon=Ore-flint-granite.png
|Icon=Ore-flint-granite.png
|This rock is full of more, smaller, rocks.
|This is your professional tip to the object/function.
}}
</pre> is rendered as
{{tnt|Protip
|Icon=Ore-flint-granite.png
|This rock is full of more, smaller, rocks.
}}
And without the icon:
<pre>
{{tnt|Protip
|I like looking at pictures! :(
}}
</pre>
becomes
{{tnt|Protip
|I like looking at pictures! :(
}}
}}
</noinclude>
 
{{doc}}</noinclude>
43,448

edits