Template:SneakClick: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 22: Line 22:
</translate>
</translate>


''(hover the mouse on the "place" word to see the effect)''
[[Category:ControlsTemplates]]</noinclude>
[[Category:ControlsTemplates]]</noinclude>

Revision as of 05:32, 28 July 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)