Markup Guide

Contents

[edit] Text Formatting

[edit] Basic Formatting

Description nTags Result
Bold
[b]text[/b]

- or -

'''text'''

text

Italic
[i]text[/i]

- or -

''text''

text

Underlined
[u]text[/u]

text

Strike-through
[strike]text[/strike]

text

Alignment
[div align=LEFT|CENTER|RIGHT][/div]
test

[edit] Font Colors and Sizes

Description nTags Result
Change Font Color
[color=red]text[/color]

Color values can either be a color hex code or standard names: "red", "green", "blue", "pink", etc.

text

Change Font Size
[size=1]Size 1 text[/size]

- or -

[size=2]Size 2 text[/size]

- or -

[size=3]Size 3 text[/size]

- or -

[size=4]Size 4 text[/size]

Size 1 text
Size 2 text
Size 3 text
Size 4 text

Superscript
[sup]text[/sup]

Example:

2[sup]nd[/sup]
2nd
Subscript
[sub]text[/sub]

Example:

H[sub]2[/sub]0
H20

[edit] Text Linking

Description nTags Result
Basic Linking
[link]http://www.neoseeker.com[/link]
http://www.neoseeker.com
Custom Link
[link name=Words-to-link]URL[/link]

Example:

[link name=Neo]http://neoseeker.com[/link]

- or -

[URL Words-to-link]

Example:

[http://neoseeker.com Neo]
Neo

[edit] Images

Description nTags Result
Embed Image
[img]url[/img]

Example:

[img]http://i.imgur.com/ct0k8.gif[/img]
ct0k8.gif
Image Link
[img link=URL]image URL[/img]

Example:

[img link=http://neoseeker.com]http://i.imgur.com/ct0k8.gif[/link]
ct0k8.gif

[edit] Lists

Description nTags Result
Unordered/Bulleted List
* 1
* 2
** 2a
** 2b
* 3
  • 1
  • 2
    • 2a
    • 2b
  • 3
Numbered List
# 1
# 2
## 2a
## 2b
# 3
  1. 1
  2. 2
    1. 2a
    2. 2b
  3. 3

[edit] Forum Shortcuts

Description nTags Result
Profile Link Shortcut
[[member:Username]]

Example:

[[member:Enhance]]
Enhance
Send PM Shortcut
[[pm:Username]]

Example:

[[pm:Enhance]]
PM Enhance

[edit] Embedding Multimedia

[edit] YouTube

Videos from YouTube can be directly embedded within forum posts using the following nTags:

[youtube]url[/youtube]

[yt]url[/yt]

For example:

[youtube]http://www.youtube.com/watch?v=gckTKDoOp-Y[/youtube]

[yt]http://www.youtube.com/watch?v=gckTKDoOp-Y[/yt]

You may also just specify the video's ID:

[youtube]gckTKDoOp-Y[/youtube]

[yt]gckTKDoOp-Y[/yt]

Resulting in:

Youtubeembed.png

You can also seek to a specific time in a video using the following syntax:

[youtube start=SECONDS]url[/youtube]

[yt start=SECONDS]url[/yt]


[edit] Yahoo! Videos

Yahoo! movie trailers can be embedded in forum posts using their URL and the following nTags:

[yahoo]URL[/yahoo]

For example:

[yahoo]http://ca.movies.yahoo.com/video/trailers-26856383/brave-teaser-trailer-27296272.html[/yahoo]

The link to a Yahoo! movie trailer can be obtained through the URL bar or through the share button as seen below.

Yahootrailer.png

[edit] Code Tags

Coding languages can be placed on the forums using nTags that will retain their formatting. The tag also uses a JS syntax highlighter that will try and highlight the code that is being used. For example:

[code]
<table>
     <tr>
         <td id="main">
<td id="A" style="display:none;">
the content that belongs to link A goes here
</td>

<td id="B" style="display:none;">
the content that belongs to link B goes here
</td>
         </td>
     </tr>
</table>
[/code]

Results In:

Codetag.png

While the code tag will attempt to automatically detect the language being used you can still specify the exact language to make the highlighter work better.

[code=LANGUAGE]code[/code]

The accepted languages are php, javascript, css, xhtml, html, perl, sql, ruby, cpp, cs, java, python, bash, ini, and diff (all lower case).

[edit] Spoilers

Text can be wrapped in a spoiler box that users will have to click to view. Game, movie, and book spoilers as well as large images are common uses of this tag.

[spoiler]This text is hidden until spoiler is clicked.[/spoiler]

Spoilers can also have titles:

[spoiler=TITLE]This text is hidden until spoiler is clicked.[/spoiler]

Resulting in:

Spoiler: Title

[edit] Wiki

[edit] Wiki Linking

Wiki pages can be easily linked to without having to use standard link tags. The nTags used on the forums are identical to those described on the interwiki linking page.

[[w.wikiname:pagename|link text]]

Example:

[[w.neowiki:Markup Guide|Markup Guide]]

Results in:

Markup Guide

[edit] Wiki Embed

Pages from Neoseeker wikis can be directly embedded in forum posts. On the right side of every wiki page the wiki embed code will be included for easy copy and pasting.

[[we.wikiname:pagename]]

For example:

[[we.brink:Medic]]

Results in:

Wikiembed.png

[edit] Dates

Dynamic dates that will display in the viewing user's timezone can also be included in posts.

[date]YYYY-MM-DD HH:MM[/date]

For example:

[date]2012-12-25 00:00[/date]

Will appear as the following to you:

Dec 25, 2012 01:00am (Your Timezone)

But for someone 2 hours behind you will appear as:

Dec 24, 2012 11:00pm (Their Timezone)

The date zone can also be applied using the following:

[date zone=U]YYYY-MM-DD HH:MM[/date]

For most users, the zone will not be necessary.

Last edited by tekmosis on 22 June 2012 at 12:06
This page has been accessed 800 times.