Markup Types / WikiCreole
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
→
- Numbered list
- Second item
- Sub item
Definition Lists
; term : definition
→
- term
- definition
Links
Wikipage
Link to [[wikipage]]→ Link to wikipageOther Project: [[addon-loader:Main|AddonLoader]]→ Other Project: AddonLoaderOther Project with game: [[WoW/addon-loader:Main]]→ Other Project with game: WoW/addon-loader:MainKnowledge base: [[kb:WikiCreole]]→ Knowledge base: kb:WikiCreoleAnnouncement: [[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}} →
(Image with title)
Image
Tables
|=|=table|=header| |a|table|row| |b|table|row|
→
| table | header | |
|---|---|---|
| a | table | row |
| b | table | row |
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
- 1 comment
- 1 comment
- #1
Mavoc Tue, 08 Jun 2010 13:58:14can we get more info on the pastes section, what is 528 referring to and where did the code come from?