Template:Using/en: Difference between revisions
From Vintage Story Wiki
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> | <noinclude><languages /></noinclude><includeonly>{{Hovertip|{{{1|using}}}|Right mouse button}}</includeonly><noinclude>===Documentation=== | ||
<includeonly>{{Hovertip|{{{1|using}}}|Right mouse button}}</includeonly><noinclude>===Documentation=== | |||
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". |
Revision as of 16:57, 5 August 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
Hover the mouse on the underlined words to see the effect.
An armor stand {{Using|placed}} on the ground.
- becomes:
- An armor stand
placed on the ground.
You can create a scrap weapon by {{Using}} a scrap weapon kit.
- becomes:
- You can create a scrap weapon by
using a scrap weapon kit.
Note: If you need to add an indentation before the sentence where {{Using}} is written, you will need to use <ul>text</ul>
and not :text
. Otherwise an unexpected line break will appear before the template resulting word. Same thing for *text
, use <ul><li>text</li></ul>
instead. See the page about the club as an example.