Template:Breaking/doc: Difference between revisions
From Vintage Story Wiki
(using {{doc}}) |
(Marked this version for translation) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages /> | |||
<translate> | |||
===Description=== <!--T:1--> | |||
<!--T:2--> | |||
[[Template:Using]] for <code><nowiki>{{Breaking}}</nowiki></code>. Adds a small underlined word, optional unnamed parameter, defaults to "Breaking", that has a tool tip saying "Left mouse button". | |||
===Syntax=== <!--T:3--> | |||
<!--T:4--> | |||
<code><nowiki>{{Breaking|Display text}}</nowiki></code> | |||
<code>Display text</code> is an optional parameter that changes the text to be displayed. It will still have an HTML abbreviation that reads "Left mouse button". | |||
===Example=== <!--T:5--> | |||
<!--T:6--> | |||
<code><nowiki>Honeycombs can be obtained by either {{Breaking|harvesting}} wild beehives, or from {{Breaking}} skeps filled with domesticated bees.</nowiki></code> | |||
<!--T:7--> | |||
''becomes:'' | |||
<!--T:8--> | |||
Honeycombs can be obtained by either {{Breaking|harvesting}} wild beehives, or from {{Breaking}} skeps filled with domesticated bees | |||
</translate> | |||
<includeonly>[[Category:ControlsTemplates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:ControlsTemplates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 15:32, 29 July 2023
Description
Template:Using for {{Breaking}}
. Adds a small underlined word, optional unnamed parameter, defaults to "Breaking", that has a tool tip saying "Left mouse button".
Syntax
{{Breaking|Display text}}
Display text
is an optional parameter that changes the text to be displayed. It will still have an HTML abbreviation that reads "Left mouse button".
Example
Honeycombs can be obtained by either {{Breaking|harvesting}} wild beehives, or from {{Breaking}} skeps filled with domesticated bees.
becomes:
Honeycombs can be obtained by either harvesting wild beehives, or from breaking skeps filled with domesticated bees