Template:SneakClick: Difference between revisions
From Vintage Story Wiki
No edit summary |
(Marked this version for translation) |
||
Line 7: | Line 7: | ||
Similar to [[Special:MyLanguage/Template:Using|Template:Using]] but for <code><nowiki>{{SneakClick}}</nowiki></code>. | Similar to [[Special:MyLanguage/Template:Using|Template:Using]] but for <code><nowiki>{{SneakClick}}</nowiki></code>. | ||
<!--T:15--> | |||
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". | 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". | ||
Line 17: | Line 18: | ||
<code><nowiki>The player can {{SneakClick|place}} helmet, chest armor, leg armor, shield and weapon on the armor stand.</nowiki></code> | <code><nowiki>The player can {{SneakClick|place}} helmet, chest armor, leg armor, shield and weapon on the armor stand.</nowiki></code> | ||
<!--T:16--> | |||
''becomes:'' | ''becomes:'' | ||
<!--T:17--> | |||
The player can {{SneakClick|place}} helmet, chest armor, leg armor, shield and weapon on the armor stand. | The player can {{SneakClick|place}} helmet, chest armor, leg armor, shield and weapon on the armor stand. | ||
</translate> | </translate> |
Revision as of 05:34, 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)