|
|
Dragon codes and markup
- Can I use HTML tags on Dragon?
Dragon allows the use of some HTML tags. There are also some tags that are specific to Dragon. A tag is a special code within the text of a webpage. A tag tells the web-browser how to display or what to do with a given part of the webpage. Normally a tag has this format: <tag>Text that gets affected by the tag</tag> Tags are usable at the following places on Dragon: - in the user bio
- in the user info, the field "Rank Info"
- in the user info, the field "Open for matches"
- in messages directly to another member
- in messages in an ongoing game
- in the forums
- in the comment of the game offerings in the waiting room
If you include HTML tags and entities or use any of the Dragon tags please remember to adhere to the rules and syntax of HTML. Mostly this will mean including end-tags where that is proper.
- Which HTML tags can I use on Dragon?
Here is a list of HTML tags that can be used on Dragon, with examples. Giving complete descriptions of the various HTML tags is not within the scope of the FAQ. For reference on HTML, visit The World Wide Web Consortium. This is bold text <u>This is underlined text</u> This is underlined text <i>This is italic text</i> This is italic text <em>This is emphasized text</em> This is emphasized text <strong>This is strong text</strong> This is strong text <tt>This is single-line text in a fixed-width font</tt> This is single-line text in a fixed-width font <strike>This is striked text</strike> This is striked text <pre>This is multi-line preformatted text in a fixed-width font.</pre> This is mulit-line preformatted text in a fixed-width font. <font color="red">This is red text</font> <font color="orange">This is orange text</font> <font color="yellow">This is yellow text</font> <font color="green">This is green text</font> <font color="blue">This is blue text</font> <font color="indigo">This is indigo text</font> <font color="violet">This is violet text</font> <font color="white">This is white text</font> <font color="black">This is black text</font>
This is red textThis is orange textThis is yellow textThis is green textThis is blue textThis is indigo textThis is violet textThis is white textThis is black text Brackets: < > Ampersand: & Non-breaking space: > < Non-breaking space: > < <ul> <li>This is an unordered list <li>This is an unordered list <li>This is an unordered list <li>This is an unordered list <li>This is an unordered list </ul>
- This is an unordered list
- This is an unordered list
- This is an unordered list
- This is an unordered list
- This is an unordered list
<ol> <li>This is an ordered list <li>This is an ordered list <li>This is an ordered list <li>This is an ordered list <li>This is an ordered list </ol>
- This is an ordered list
- This is an ordered list
- This is an ordered list
- This is an ordered list
- This is an ordered list
This is an ordinary link: <http://www.dragongoserver.net |Dragon Go Server> This is an ordinary link: Dragon Go Server This is another ordinary link: <a href="http://www.dragongoserver.net">Dragon Go Server</a> This is another ordinary link: Dragon Go Server
- Which Dragon tags can I use?
This is a simple link: <http://www.dragongoserver.net> This is a simple link: http://www.dragongoserver.net <color #c07f32>Other color</color> <color #acacac>Other color</color> <color #f03571>Other color</color> <color #003399>Other color</color>
Other colorOther colorOther colorOther colorComplete description of color codes available at http://html-color-codes.com/ <quote>This is some quoted text</quote> This is some quoted text <image board/b.gif> <image board/w.gif> <image board/y.gif> <image send.gif>
   The tag for Dragon images shows images from the Dragon images directory. The board-prefix shows board-images of size 17. No remote images can be shown. All the grey rectangles are generated using the <code> tag. Text within the <code> and </code> tags is displayed "as is" with one exception; the </code> tag itself.<code>Example of code</code> will display as:
- How can I create a link to an arbitrary Dragon page?
- How can I create a link to a users info page?
Use the <user> Dragon tag. Here are a few examples. Guest (guest) Guest (guest) Note: With a "=" it is the user-ID (handle) that must be entered. Without a "=" it is the numeric ID of a user that must be entered.
- How can I create a link to send a message to a user?
Use the <send> Dragon tag. Here are a few examples. Guest (guest) Guest (guest) NB! The Guest user is only used as example here. You can't actually send a message to the guest account. Note: With a "=" it is the user-ID (handle) that must be entered. Without a "=" it is the numeric ID of a user that must be entered.
- How can I create a link to a game?
- How can I make a link open a new window?
- How can I embed images in texts?
An image tag is available, but it can only show the images on Dragon (not from remote images). For description see Which Dragon tags can I use?.
- How can I create a game diagram?
Dragon allows to embed game diagrams in messages, the forums and to use for shape-games using a simple text-based format. This so-called "goban-format" is basically the same format used on Sensei`s Library to draw go diagram. Also see help entries: A goban is constructed by using the <igoban>-tag. In the example below you can see an example for the notation. The SL1 attribute in the tag stands for Sensei's Library version 1: <igoban SL1> $$ Nadare joseki $$ +- $$ . . . . . . . $$ . . . . . . . $$ . . . 1 6 . . $$ . . 5 4 . . . $$ . . 3 2 . . . $$ . . . . . . . </igoban>
|
|
|