Template:SneakClick: Difference between revisions

From Vintage Story Wiki
(trying a fix...)
(fixed inadvertent linebreak)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude><languages />
<noinclude><languages /></noinclude><includeonly>{{Hovertip|{{{1|<translate><!--T:13--> Shift+right click</translate>}}}|<translate><!--T:14--> Sneak, default is shift, and right click</translate>}}</includeonly><noinclude>
</noinclude><includeonly>{{Hovertip|{{{1|Shift click}}}|2=<translate><!--T:2--> Sneak, default is shift, and right click</translate>}}</includeonly><noinclude>
<translate>
<translate>
== Documentation == <!--T:3-->
== Documentation == <!--T:8-->


<!--T:4-->
<!--T:9-->
[[Template:Using]] for <code><nowiki>{{SneakClick}}</nowiki></code>.  
Similar to [[Special:MyLanguage/Template:Using|Template:Using]] but for <code><nowiki>{{SneakClick}}</nowiki></code>.


<!--T:5-->
<!--T:15-->
Ready for translation. Call with <code><nowiki>{{tnt|SneakClick|optional param}}</nowiki></code>, optionally using {{ll|Vintage Story Wiki:How to translate the wiki|translation variables}} to minimize chance of errors in translation.
Adds a small underlined word, optional unnamed parameter, defaults to "Shift+right click", that has a tool tip saying "Sneak, default is shift, and right click".


=== Example === <!--T:6-->
<!--T:10-->
Call with <code><nowiki>{{SneakClick|optional param}}</nowiki></code>, optionally using [[Special:MyLanguage/Vintage_Story_Wiki:How_to_translate_the_wiki|translation variables]] to minimize chance of errors in translation.


<!--T:7-->
=== Example === <!--T:11-->
Some text goes here and you need to {{tnt|SneakClick}} to do it. Unless you need to {{tnt|SneakClick|press something else}}.</translate>


<!--T:12-->
<code><nowiki>The player can {{SneakClick|place}} helmet, chest armor, leg armor, shield and weapon on the armor stand.</nowiki></code>
<!--T:16-->
''becomes:''
<!--T:17-->
The player can {{SneakClick|place}} helmet, chest armor, leg armor, shield and weapon on the armor stand.
<!--T:18-->
''(hover the mouse on the "place" word to see the effect).''
</translate>
[[Category:ControlsTemplates]]</noinclude>
[[Category:ControlsTemplates]]</noinclude>

Latest revision as of 23:51, 6 August 2023

Documentation

Similar to Template:Using but for {{SneakClick}}.

Adds a small underlined word, optional unnamed parameter, defaults to "Shift+right click", that has a tool tip saying "Sneak, default is shift, and right click".

Call with {{SneakClick|optional param}}, optionally using translation variables to minimize chance of errors in translation.

Example

The player can {{SneakClick|place}} helmet, chest armor, leg armor, shield and weapon on the armor stand.

becomes:

The player can place helmet, chest armor, leg armor, shield and weapon on the armor stand.

(hover the mouse on the "place" word to see the effect).