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)
Line 3: Line 3:
|<b>Rada profesionála:</b>
|<b>Rada profesionála:</b>
{{#tag:pre|{{{1|}}}}}
{{#tag:pre|{{{1|}}}}}
|}</includeonly><noinclude>
|}</includeonly>
== Usage ==
<noinclude>
<pre>
{{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
{{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>
</noinclude>
<noinclude>{{doc}}</noinclude>

Revision as of 09:19, 21 August 2022


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.