SC2Mapster.com Wiki

Markup Types

There are currently four different markup options on CurseForge. Each one is different and will be covered in more detail below.

WikiCreole

WikiCreole attempts to be a universal wiki markup language to be used across different wiki software. It is far more standardized and sane than many other wiki formats, especially MediaWiki and Curse Wiki. We hope for it to be an adequate successor to Curse Wiki on curseforge and wowace.

More information can be found at http://www.wikicreole.org

The following is a cheat sheet for the syntax for WikiCreole.

Text Formatting

Italics

//italics//italics

Bold

**bold**bold

Monospace

##monospace## monospace

Superscript

^^superscript^^ superscript

Subscript

,,subscript,, subscript

Underline

__underlined__ underlined

Removal

--removal-- removal

Addition

++addition++ addition

Lists

Bulleted

* Bullet list
* Second item
** Sub item

  • Bullet list
  • Second item
    • Sub item

Numbered

# Numbered list
# Second item
## Sub item

  1. Numbered list
  2. Second item
    1. Sub item

Definition Lists

; term
: definition

term
definition

Wikipage

  • Link to [[wikipage]] → Link to wikipage
  • Other Project: [[addon-loader:Main|AddonLoader]] → Other Project: AddonLoader
  • Other Project with game: [[WoW/addon-loader:Main]] → Other Project with game: WoW/addon-loader:Main
  • Knowledge base: [[kb:WikiCreole]] → Knowledge base: kb:WikiCreole
  • Announcement: [[announcements:Thingy]] → Announcement: announcements:Thingy

External URL

Link to [[URL|linkname]] → Link to linkname

Paragraph Formatting

No Line Break

No
linebreak!

Use empty row

No linebreak!

Use empty row

Line Break

Force\\linebreak

Force
linebreak

Horizontal Line

Horizontal line:
----

Horizontal line:


No Wiki Formatting

{{{
== [[Nowiki]]:
//**don't** format//
}}}

== [[Nowiki]]:
//**don't** format//

Code

<<code>>
print("just some code here, it'll guess at the language, falling back to lua")
<</code>>

<<code ruby>>
I.love :ruby unless betrayed?
<</code>>

print("just some code here, it'll guess at the language, falling back to lua")
I.love :ruby unless betrayed?
Supported languages
apacheconf, as, as3, basemake, bash, bat, bbcode, befunge, boo, brainfuck, c, c-objdump, cheetah, clojure, common-lisp, control, cpp, cpp-objdump, csharp, css, css+django, css+erb, css+genshitext, css+mako, css+myghty, css+php, css+smarty, d, d-objdump, delphi, diff, django, dpatch, dylan, erb, erlang, fortran, gas, genshi, genshitext, gnuplot, groff, haskell, html, html+cheetah, html+django, html+genshi, html+mako, html+myghty, html+php, html+smarty, ini, io, irc, java, js, js+cheetah, js+django, js+erb, js+genshitext, js+mako, js+myghty, js+php, js+smarty, jsp, lhs, lighty, llvm, logtalk, lua, make, mako, matlab, matlabsession, minid, moocode, mupad, myghty, mysql, nasm, nginx, numpy, objdump, objective-c, ocaml, perl, php, pot, pov, pycon, pytb, python, python3, raw, rb, rbcon, redcode, rhtml, rst, scala, scheme, smalltalk, smarty, sourceslist, splus, sql, sqlite3, squidconf, tcl, tcsh, tex, text, trac-wiki, vb.net, vim, xml, xml+cheetah, xml+django, xml+erb, xml+mako, xml+myghty, xml+php, xml+smarty, xslt, yaml

Images

Image with title

{{Image.jpg|title}} ZOMG Kitty (Image with title)

Image

{{Image.jpg}} Technician Kitty

Tables

|=|=table|=header|
|a|table|row|
|b|table|row|

tableheader
atablerow
btablerow

Headings

== Large heading

Large heading

=== Medium heading

Medium heading

==== Small heading

Small heading

Youtube video

<<youtube 1XNTjVScm_8>>

Vimeo video

<<vimeo 4202002>>

Font size

<<size 200%>>Hello<</size>>Hello

<<size 24px>>Hello<</size>>Hello

Font color

Please don't abuse this. Egregious use of colors may make us re-evaluate having this at all. Also, be aware of changing background colors. Green on black might look nice, but but Green on white might not.

<<color red>>It's red!<</color>>It's red!

<<color 00f>>It's blue!<</color>>It's blue!

<<color 00ff00>>It's green!<</color>>It's green!

<<color #ffff00>>It's yellow!<</color>>It's yellow!

Quotes

<<quote>>Hello there<</quote>>

Quote:

Hello there

<<quote Some random guy>>How was **your** day?<</quote>>

Quote from Some random guy:

How was your day?

Pastes

<<paste 528>>

1
2
3
4
5
print("This is a test paste")

if true then
    return "Isn't it awesome?"
end

Emotes

Note: Since unexpected emotes can mess up lines of code, all emotes must have whitespace surrounding them to turn into a graphical version.

:) :( :D :O ;) O:) 8) :* :| :'( <3:) :( :D :O ;) O:) 8) :* :| :'( <3

Positioning

<<left>>This shows on the left<</left>>

This shows on the left

<<center>>This shows in the center<</center>>

This shows in the center

<<right>>This shows on the right<</right>>

This shows on the right

BBCode

The following BBCode tags are supported:

[b]
Bold
[i]
Italic
[u]
Underline
[s]
strikethrough
[link]
A hyper link
[url]
a url
[quote]
quoting
[img]
displays an image
[wiki]
Displays a wikipedia search link.
[google]
Displays a google search link.
[dict] or [dictionary]
looks up a word via dictionary.com
[list]
opens a list
[*]
a item in a list
[code]
a preformatted code block
[size=13]
font size
[color=red]
font color
[paste]1234[/paste]
show a paste from paste.SC2Mapster.com

Note: Our BBCode implementation is a thin wrapper around WikiCreole. The BBCode tags are converted to WikiCreole, and then that parser is used.

Safe HTML

This allows you to use a subset of html in your postings.

Valid Tags:

  • a
  • p
  • b
  • br
  • hr
  • strong
  • u
  • em
  • i
  • img
  • div
  • span
  • center
  • table
  • td
  • tr
  • thead
  • tfoot
  • tbody
  • caption
  • colgroup
  • rowgroup
  • ol
  • ul
  • li
  • h2
  • h3
  • h4
  • h5
  • h6

You may use the following attributes:

  • name
  • title
  • width
  • height
  • href
  • src

Textile

A lightweight markup language. See http://en.wikipedia.org/wiki/Textile_(markup_language) for more details.

Markdown

Another lightweight markup language. See http://en.wikipedia.org/wiki/Markdown for more details.

Plain Text

Just what it sounds like. This simply escapes characters, urlizes links, replaces newlines with a br tag and wraps paragraphs with p tags.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of KorvinGump KorvinGump Sun, 05 Sep 2010 13:04:42

    Thanks for good guide :) .

  • Avatar of phyushin360 phyushin360 Thu, 14 Jan 2010 15:03:00

    <p> Rate0Rific Wiki</p>

  • Avatar of king1027 king1027 Wed, 30 Sep 2009 04:22:30

    http://i85.photobucket.com/albums/k76/wking1027/snap016.gif

  • Avatar of king1027 king1027 Wed, 30 Sep 2009 04:21:52
  • Avatar of Pavel82 Pavel82 Thu, 04 Jun 2009 16:05:36

    dfrtvfa

  • Avatar of watchout watchout Thu, 14 May 2009 20:27:24

    Is there a way to link to an anchor on a wikipage in creole?

    If I try something like #w-anchor-name in the wikilink, the url parser just removes the # and links to the nonexistent page "w-anchor-name"...

  • Avatar of Farmbuyer Farmbuyer Tue, 28 Apr 2009 10:01:06

    The Curse Wiki markup is not just "deprecated", it is in fact broken. If you make edits to the description of an existing project that was originally in Curse Wiki, those changes are silently discarded when you click save. Changing the markup to anything else allows changes to be made.

  • Avatar of Hissnspit Hissnspit Fri, 17 Apr 2009 10:19:11

    I dont understand what to type here. I cannont download using the using Curse client button on the website. THe Find Addon page in the Addonfoler in WOW is greyed out and is not displaying any list.

  • Avatar of MightyHaz MightyHaz Tue, 20 Jan 2009 18:17:58

    You can work around the lack of the pre in Safe HTML with the following style:
    style="white-space:pre;font-family:courier"

    (Substituting 'monospace' for courier, at will.)