Template:Breaking: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 7: Line 7:
=== Example ===
=== Example ===


<code><nowiki>some text {{tnt|Breaking}} some other text {{tnt|Breaking|foobar}}</nowiki></code> produces:
<code><nowiki>some text {{tnt|Breaking}} some other text {{tnt|Breaking|2=<translate>foobar</translate>}}</nowiki></code> produces:


some text {{tnt|Breaking}} some other text {{tnt|Breaking|foobar}}
some text {{tnt|Breaking}} some other text </translate>{{tnt|Breaking|2=<translate>foobar</translate>}}


</translate>
[[Category:ControlsTemplates]]
[[Category:ControlsTemplates]]
</noinclude>
</noinclude>

Revision as of 23:29, 6 July 2022

Documentation

Template:Using for {{Breaking}}. Call with Template:Translatable template.

Example

some text {{tnt|Breaking}} some other text {{tnt|Breaking|2=<translate>foobar</translate>}} produces:

some text breaking some other text foobar