Template:Breaking/doc: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 1: Line 1:
;Description
===Description===
:[[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
:<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".
;Sample output
:<code><nowiki>Honeycombs can be obtained by either {{Breaking|harvesting}} wild beehives, or from {{Breaking}} skeps filled with domesticated bees</nowiki></code>


: ''becomes:''
[[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".


:Honeycombs can be obtained by either {{Breaking|harvesting}} wild beehives, or from {{Breaking}} skeps filled with domesticated bees
===Syntax===
 
<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===
 
<code><nowiki>Honeycombs can be obtained by either {{Breaking|harvesting}} wild beehives, or from {{Breaking}} skeps filled with domesticated bees</nowiki></code>
 
''becomes:''
 
Honeycombs can be obtained by either {{Breaking|harvesting}} wild beehives, or from {{Breaking}} skeps filled with domesticated bees


<includeonly>[[Category:ControlsTemplates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:ControlsTemplates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 15:15, 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