Template:Using: Difference between revisions
From Vintage Story Wiki
No edit summary |
(Marked this version for translation) |
||
Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> | <noinclude><languages /></noinclude> | ||
<includeonly>{{Hovertip|{{{1|<translate><!--T:2--> Using</translate>}}}|<translate><!--T:3--> Right mouse button</translate>}}</includeonly><noinclude><translate> | <includeonly>{{Hovertip|{{{1|<translate><!--T:2--> Using</translate>}}}|<translate><!--T:3--> Right mouse button</translate>}}</includeonly><noinclude><translate> | ||
<!--T:4--> | ===Documentation=== <!--T:4--> | ||
<!--T:7--> | |||
Adds a small underlined word, optional unnamed parameter, defaults to "Using", that has a tool tip saying "Right mouse button". | Adds a small underlined word, optional unnamed parameter, defaults to "Using", that has a tool tip saying "Right mouse button". | ||
<!--T:8--> | |||
Call with <code><nowiki>{{Using|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. | Call with <code><nowiki>{{Using|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. | ||
===Example=== | ===Example=== <!--T:9--> | ||
<!--T:5--> | <!--T:5--> | ||
<code><nowiki>An armor stand {{Using|placed}} on the ground.</nowiki></code> | <code><nowiki>An armor stand {{Using|placed}} on the ground.</nowiki></code> | ||
<!--T:10--> | |||
''becomes:'' | ''becomes:'' | ||
<!--T:11--> | |||
An armor stand {{Using|placed}} on the ground. | An armor stand {{Using|placed}} on the ground. | ||
<!--T:12--> | |||
''(hover the mouse on the "placed" word to see the effect)'' | ''(hover the mouse on the "placed" word to see the effect)'' | ||
</translate> | </translate> | ||
[[Category:ControlsTemplates]] | [[Category:ControlsTemplates]] | ||
</noinclude> | </noinclude> |
Revision as of 05:34, 28 July 2023
Documentation
Adds a small underlined word, optional unnamed parameter, defaults to "Using", that has a tool tip saying "Right mouse button".
Call with {{Using|optional param}}
, optionally using translation variables to minimize chance of errors in translation.
Example
An armor stand {{Using|placed}} on the ground.
becomes:
An armor stand placed on the ground.
(hover the mouse on the "placed" word to see the effect)