Template:Breaking/doc: Difference between revisions

From Vintage Story Wiki
no edit summary
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>
Confirmedusers, editor
37,784

edits