Confirmedusers
2
edits
Soggylithe (talk | contribs) m (Add missing VTML href type for chattype://) |
Soggylithe (talk | contribs) m (Added missing) |
||
Line 14: | Line 14: | ||
*'''<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), search results in the handbook (handbooksearch://text_in_your_language), a link that types in the chatbox ("chattype:///giveblock clutter{type: \"barrel-metal1\"}") | *'''<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), a link that types in the chatbox ("chattype:///giveblock clutter{type: \"barrel-metal1\"}"), trigger hotkeys (hotkey://code) or commands (command:///time set day). Custom links can be added by mods as well using ICoreAPI.RegisterLinkProtocol | ||
*'''<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 | ||
*'''<nowiki><hk>command</hk> or <hotkey>command</hotkey></nowiki>'''<br>Display the actual current mapping of the "command" key, e.g <hk>sprint</hk> displays the current key used to activate the sprint in your game. | *'''<nowiki><hk>command</hk> or <hotkey>command</hotkey></nowiki>'''<br>Display the actual current mapping of the "command" key, e.g <hk>sprint</hk> displays the current key used to activate the sprint in your game. |