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 8: Line 8:
===Example===
===Example===


<code><nowiki>An armor stand {{Using|placed}} on the ground.</nowiki></code>
Hover the mouse on the underlined words to see the effect.


''becomes:''
*<code><nowiki>An armor stand {{Using|placed}} on the ground.</nowiki></code>


An armor stand {{Using|placed}} on the ground.
:''becomes:''


''(hover the mouse on the "placed" word to see the effect)''
<ul>An armor stand {{Using|placed}} on the ground.</ul>
 
*<code><nowiki>You can create a scrap weapon by {{Using}} a scrap weapon kit.</nowiki></code>
 
:''becomes:''
 
<ul>You can create a scrap weapon by {{Using}} a scrap weapon kit.</ul>
 
 
'''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.
[[Category:ControlsTemplates]]
[[Category:ControlsTemplates]]
</noinclude>
</noinclude>