Template:Protip/sk: Difference between revisions

From Vintage Story Wiki
(Created page with "Rada profesionála:")
 
(Updating to match new version of source page)
Tag: Manual revert
 
(12 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
|This rock is full of more, smaller, rocks.
}}
</pre> is rendered as
{{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.
}}
And without the icon:
<pre>
{{Protip
|I like looking at pictures! :(
}}
</pre>
becomes
{{Protip
|I like looking at pictures! :(
}}
}}
</noinclude>
 
{{doc}}</noinclude>

Latest revision as of 09:07, 30 July 2023


Ore-flint-granite.png Rada profesionála:
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 Rada profesionála:
This rock is full of more, smaller, rocks.


And without the icon:

{{Protip
|I like looking at pictures! :(
}}

becomes:

Rada profesionála:
I like looking at pictures! :(
[view | edit | history | purge this page]The above documentation is transcluded from Template:Protip/doc.