Help: DText
← Wiki Home – DText
Contents: Basic Formatting | Links | Links Using ID | Thumbnails | Paragraphs | Horizontal Rules | Headings | Quotes | Lists | Sections | Tables | Anchors | HTML
DText is the name of our custom text formatting language. It's a mishmash of several markup languages, including BBCode, MediaWiki, Markdown, and HTML.
Basic formatting
Input | Output | Notes |
---|---|---|
[b]bold[/b] | bold | |
[i]italic[/i] | italic | |
[u]underline[/u] | underline | |
[s]strikethrough[/s] | ||
[note]note[/note] | note | |
[sup]superscript[/sup] | superscript | |
[sub]subscript[/sub] | subscript | |
[spoiler]spoiler[/spoiler] | spoiler | |
[nodtext][b]nodtext[/b][/nodtext] | [b]nodtext[/b] | Ignore DText tags |
[code][b]code[/b][/code] | [b]code[/b] | Ignore DText and format as code |
line[br]break | line break | Insert a link break |
Links
Input | Output | Notes |
---|---|---|
https://femboy.fan | https://femboy.fan | Basic link |
<https://femboy.fan> | https://femboy.fan | Basic link with delimiters |
"FemboyFans":https://femboy.fan | FemboyFans | Link with custom text |
"FemboyFans":[https://femboy.fan] | FemboyFans | Delimited link with custom text |
[FemboyFans](https://femboy.fan) | FemboyFans | Markdown style link |
<a href="https://femboy.fan">FemboyFans</a> | FemboyFans | HTML style link |
[url]https://femboy.fan[/url] | https://femboy.fan | BBCode style link |
[url=https://femboy.fan]FemboyFans[/url] | FemboyFans | BBCode style link with custom text |
"Rules":/rules | Rules | Link to an internal page |
"Rules":/rules | Rules | Link to an internal page |
"Basic Formatting":#basic-formatting | Basic Formatting | Link to a section of the current page with custom text |
[[#basic-formatting]] | basic-formatting | Link to a section of the current page |
[[#basic-formatting|Basic Formatting]] | Basic Formatting | Link to a section of the current page with custom text |
[[Nick Wilde]] | Nick Wilde | Link to wiki page |
[[help:dtext#basic-formatting]] | help:dtext | Link to a specific section of a wiki page |
[[Nick Wilde|Nick]] | Nick | Link to wiki page with custom text |
[[cat]]s, [[fox]]es | cats, foxes | Adjacent text becomes part of the link |
{{male solo}} | male solo | Link to a tag search |
{{male solo|Solo Males}} | Solo Males | Link to a tag search with custom text |
@Donovan_DMC | @Donovan_DMC | Link to a user. In comments and forum posts, this will notify them. |
Links using ID
Input | Output | Notes |
---|---|---|
post #1 | post #1 | Links to post |
post changes #1 | post changes #1 | Links to post changes for post |
flag #1 | flag #1 | Links to flag |
note #1 | note #1 | Links to note |
forum post #1 forumpost #1 forum #1 | forum #1 forum #1 forum #1 | Links to forum post |
forum topic #1 topic #1 | topic #1 topic #1 | Links to a forum topic |
[topic:1] | Topic: Uploading Guidelines Questions & Suggestions | Links to a forum topic with title |
forum topic #1/p2 topic #1/p2 | topic #1 (page 2) topic #1 (page 2) | Links to a forum topic (page 2) |
comment #1 | comment #1 | Links to comment |
dmail #1 | dmail #1 | Links to dmail |
dmail #1/abcd | dmail #1 | Links to dmail with key |
pool #1 | pool #1 | Links to pool |
user #1 | user #1 | Links to user |
artist #1 | artist #1 | Links to artist |
artist changes #1 | artist changes #1 | Links to changes for artist |
ban #1 | ban #1 | Links to ban |
bur #1 | BUR #1 | Links to bulk update request |
alias #1 | alias #1 | Links to tag alias |
implication #1 | implication #1 | Links to tag implication |
mod action #1 | mod action #1 | Links to mod action |
record #1 | record #1 | Links to user feedback |
wiki page #1 wikipage #1 wiki #1 | wiki #1 wiki #1 wiki #1 | Link to wiki page |
wiki page changes #1 wikipage changes #1 wiki changes #1 | wiki changes #1 wiki changes #1 wiki changes #1 | Link to changes for wiki page |
set #1 | set #1 | Links to post set |
ticket #1 | ticket #1 | Links to ticket |
takedown #1 take down #1 takedown request #1 take down request #1 | takedown #1 takedown #1 takedown #1 takedown #1 | Links to takedown |
dnp #1 avoid posting #1 | avoid posting #1 avoid posting #1 | Link to avoid posting entry |
issue #1 | issue #1 | Link to github issue |
| ||
pull #1 | pull #1 | Link to github pull request |
Thumbnails
Input | Output | Notes |
---|---|---|
thumb #1 | post #1 | Embeds the thumbnail of a post If the post doesn't exist, post #1 will be rendered instead. |
Paragraphs
Paragraphs are separated by blank lines.
A single line break inside a paragraph
creates a new line
instead of a new paragraph.
Horizontal rules
Use [hr]
on a line by itself to create a horizontal rule like the ones used to separate the sections of this article.
Headings
Use h1. text
, h2. text
, h3. text
, h4. text
, h5. text
, or h6. text
to create a heading:
h1. Heading
h2. Heading
h3. Heading
h4. Heading
h5. Heading
h6. Heading
Quotes
[quote] @Donovan_DMC said: I want pizza. [/quote]
Becomes:
@Donovan_DMC said:
I want pizza.
Quotes can be nested:
[quote] [quote] Hello everyone! [/quote] Oh my gah! [/quote]
Becomes:
Hello everyone!
Oh my gah!
Lists
Start a line with an '*' to make a list:
* Item 1 * Item 2 ** Item 2.a *** Item 2.a.a ** Item 2.b * Item 3
Becomes:
- Item 1
- Item 2
- Item 2.a
- Item 2.a.a
- Item 2.b
- Item 3
Sections
Use [section] to create collapsible blocks of text.
Collapsed
[section] Text that is hidden by default. Click on the top to expand the block and make the text visible. [/section]
Text that is hidden by default. Click on the top to expand the block and make the text visible.
Collapsed With Custom Title
[section=Custom Title] Text that is hidden by default. Click on the top to expand the block and make the text visible. [/section]
Custom Title
Text that is hidden by default. Click on the top to expand the block and make the text visible.
Expanded
[section,expanded] Text that is shown by default. Click on the top to collapse the block and make the text not visible. [/section]
Text that is shown by default. Click on the top to collapse the block and make the text not visible.
Expanded With Custom Title
[section,expanded=Custom Title] Text that is shown by default. Click on the top to collapse the block and make the text not visible. [/section]
Custom Title
Text that is shown by default. Click on the top to collapse the block and make the text not visible.
Tables
Use HTML table tags to make a table.
Table Tags | |
---|---|
DText Tags | Valid Optional Attributes |
[table] | |
[thead] | align |
[tbody] | align |
[tr] | align |
[col] | align , span |
[colgroup] | |
[th] | align , colspan , rowspan |
[td] | align , colspan , rowspan |
To use the optional table element attributes use this syntax: [
<element‑name>
<attribute>
="
<value>
"]
Note: You can specify more than one valid attribute on an element.
Table Element Attributes | |
---|---|
Attributes | Attributes Values |
align | left , right , center , justify |
span | positive integer |
colspan | positive integer |
rowspan | positive integer |
Example:
[table] [thead] [tr] [th colspan="3" align="center"]Table[/th] [/tr] [tr align="center"] [th]A[/th] [th]B[/th] [th]C[/th] [/tr] [/thead] [tbody] [tr] [td align="left"]L[/td] [td align="center"]C[/td] [td align="right"]R[/td] [/tr] [tr] [td]---1---[/td] [td]---2---[/td] [td]---3---[/td] [/tr] [/tbody] [/table]
Becomes:
Table | ||
---|---|---|
A | B | C |
L | C | R |
---1--- | ---2--- | ---3--- |
Anchors
Anchors are markers that tell your browser to jump to a specific place on the page.
Anchor names must be spelled using only letters, numbers, and underscores.
Input | Output | Notes |
---|---|---|
My anchor: [#my_anchor] | My anchor: | This is the target. It will be hidden on the page wherever you put it. |
[[#anchors]] | anchors | Link to anchor on current page. |
[[help:home#official]] | help:home | Link to anchor on different wiki page. |
HTML Style Tags
DText supports the following HTML style tags:
HTML Style | DText |
---|---|
<b> , or <strong> | [b] |
<i> , or <em> | [i] |
<u> | [u] |
<s> | [s] |
<note> | [note] |
<sup> | [sup] |
<sub> | [sub] |
<spoiler> | [spoiler] |
<nodtext> | [nodtext] |
<co de> | [co de] |
<br> | [br] |
<a href="http://example.com">click here</a> | "click here":http://example.com |
<hr> | [hr] |
<quote> | [quote] |
<expand> | [expand] |
[table] | [table] |
[thead] | [thead] |
<tbody> | [tbody] |
[tr] | [tr] |
<col> | [col] |
<colgroup> | [colgroup] |
[th] | [th] |
[td] | [td] |