|
|
(2 intermediate revisions by 2 users not shown) |
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>{{Documentation}} |
| ===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".
| |
| | |
| <!--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.
| |
| | |
| ===Example=== <!--T:9-->
| |
| | |
| <!--T:12-->
| |
| Hover the mouse on the underlined words to see the effect.
| |
| | |
| <!--T:5-->
| |
| *<code><nowiki>An armor stand {{Using|placed}} on the ground.</nowiki></code>
| |
| | |
| <!--T:10-->
| |
| :''becomes:''
| |
| | |
| <!--T:11-->
| |
| <ul>An armor stand {{Using|placed}} on the ground.</ul>
| |
| | |
| <!--T:13-->
| |
| *<code><nowiki>You can create a scrap weapon by {{Using}} a scrap weapon kit.</nowiki></code>
| |
| | |
| <!--T:14-->
| |
| :''becomes:''
| |
| | |
| <!--T:15-->
| |
| <ul>You can create a scrap weapon by {{Using}} a scrap weapon kit.</ul>
| |
| | |
| | |
| <!--T:16-->
| |
| '''Note:''' If you need to add an indentation before the sentence where <nowiki>{{Using}}</nowiki> is written, you will need to use <code><nowiki><ul>text</ul></nowiki></code> and not <code><nowiki>:text</nowiki></code>. Otherwise an unexpected line break will appear before the template resulting word. Same thing for <code><nowiki>*text</nowiki></code>, use <code><nowiki><ul><li>text</li></ul></nowiki></code> instead. See the page about the [[club]] as an example.
| |
| </translate>
| |
| [[Category:ControlsTemplates]] | | [[Category:ControlsTemplates]] |
| </noinclude> | | </noinclude> |