Коды WSN имеют функциональность обычного HTML. Вы можете использовать эти коды, чтобы добавить форматирование в свои сообщения. Следующие коды WSN доступны вам для использования:
| Код WSN | Эквивалент HTML | Описание |
|---|---|---|
| [b]ваш текст[/b] | <b>ваш текст</b> | Put text in bold. |
| [i]ваш текст[/i] | <em>ваш текст</em> | Put text in italics. |
| [u]ваш текст[/u] | <u>ваш текст</u> | Underline text |
| [quote=параметр]ваш текст[/quote] | <div class="quote well"><span class="quoteby label label-default">параметр wrote:</span><br />ваш текст</div> | Quote text written by someone. |
| [quote]ваш текст[/quote] | <div class="quote well">ваш текст</div> | Quote without attribution. |
| [url=параметр]ваш текст[/url] | <a target="_blank" rel="nofollow" href="параметр">ваш текст</a> | Link text to a URL. |
| [url]ваш текст[/url] | <a target="_blank" rel="nofollow" href="ваш текст">ваш текст</a> | Link a URL. |
| [img]ваш текст[/img] | <img src="ваш текст" border="0" alt="" /> | Display an image from a URL. |
| [code]ваш текст[/code] | <pre class="code">ваш текст</pre> | Type code such as HTML, PHP, C++, etc. |
| [color=параметр]ваш текст[/color] | <span style="color: параметр">ваш текст</span> | Places text in specified color. |
| [size=параметр]ваш текст[/size] | <font size="параметр">ваш текст</font> | Set the size of text. |
| [list]ваш текст[/list] | <ul>ваш текст</ul> | List of bullet points. |
| [*]ваш текст | <li>ваш текст | Bullet point inside a list. |
| [numbered]ваш текст[/numbered] | <ol>ваш текст</ol> | Numbered list. |
| [font=параметр]ваш текст[/font] | <span style="font-family: параметр">ваш текст</span> | Put text in the specified font. |
| [hr]ваш текст | <hr style="width: 100%; height: 2px;">ваш текст | Horizontal rule. |
| [center]ваш текст[/center] | <div style="text-align: center;">ваш текст</div> | Center text. |
| [right]ваш текст[/right] | <div style="text-align: right;">ваш текст</div> | Align text to right. |
| [indent=параметр]ваш текст[/indent] | <div style="margin-left: параметрpx;">ваш текст</div> | Indent by specified number of pixels. |
| [highlight=параметр]ваш текст[/highlight] | <span style="background-color: параметр">ваш текст</span> | Set background color for text. |
| [email]ваш текст[/email] | <a href="mailto:ваш текст">ваш текст</a> | Clickable email address. |
| [strike]ваш текст[/strike] | <strike>ваш текст</strike> | Cross out text. |
| [youtube]ваш текст[/youtube] | <iframe width="420" height="315" src="https://www.youtube.com/embed/ваш текст" frameborder="0" allowfullscreen></iframe> | Embeds a YouTube video. |
| [sub]ваш текст[/sub] | <sub>ваш текст</sub> | Subscript. |
| [sup]ваш текст[/sup] | <sup>ваш текст</sup> | Superscript. |
| [fullfont параметр]ваш текст[/fullfont] | <font параметр>ваш текст</font> | Set a font face, size or family. |
| [cite=параметр]ваш текст[/cite] | <div class="quote cite"><span class="quoteby">From source параметр:</span><br />ваш текст</div> | Cites a source. |
| [image]ваш текст[/image] | <img src="download.php?filetitle=ваш текст"> | Displays the attached image with the specified filename, if present. |
| [image=параметр]ваш текст[/image] | <img src="thumbnail.php?size=параметр&filetitle=ваш текст"> | Displays thumbnail of the attached image with the specified filename, if present. E.g. use 300x200 as the parameter for a 300x200 thumbnail. |