VTML: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 11: Line 11:
*'''<nowiki><i>text</i></nowiki>'''<br>Causes the text to be in italic font
*'''<nowiki><i>text</i></nowiki>'''<br>Causes the text to be in italic font
*'''<nowiki><strong>text</strong></nowiki>'''<br>Causes the text to be in bold font
*'''<nowiki><strong>text</strong></nowiki>'''<br>Causes the text to be in bold font
*'''<nowiki><a href="url">text</a></nowiki>'''<br>Turns text into a clickable link. You can link to websites (http://), handbook pages (handbook://pagecode) or trigger hotkeys (hotkey://code)
*'''<nowiki><a href="url">text</a></nowiki>'''<br>Turns text into a clickable link. You can link to websites (http://), handbook pages (handbook://pagecode), search results in the handbook (handbooksearch://text_in_your_language) or trigger hotkeys (hotkey://code)
*'''<nowiki><font size="num" color="hexcolor" weight="bold" lineheight="1.2" align="right" opacity="0.5">text</font></nowiki>'''<br>Formats the text by given properties, all properties are optional
*'''<nowiki><font size="num" color="hexcolor" weight="bold" lineheight="1.2" align="right" opacity="0.5">text</font></nowiki>'''<br>Formats the text by given properties, all properties are optional