wiki:syntax backlinks history

Syntax Cheetsheet

The Furria Wiki uses a simple markup language from DokuWiki extended by plugins to make datafiles to be readable as simple as possible. If you want to test around with syntax, you can use the playground page and edit there.

Style

Basic Formatting

Description Syntax Result
Bold Text
**bold text**
bold text
Italic Text
//italic text//
italic text
Underline Text
__underline text__
underline text
Monospace Text
''monospace text''
monospace text
Strikethrough Text
<del>strikethrough text</del>
strikethrough text

Font Adjustment

Description Syntax Result
Font Size
<fs x-small>extra small text</fs>
<fs 50%>50% size text</fs>

Options:
xx-small|x-small|small|normal|large|x-large|xx-large
Values: ?em ?ex ?% ?px
extra small text
50% size text
Font Color
<fc #aaa>#AAA colored text</fc>
Accepts any hex color combinations #??? and #??????
#AAA colored text
Furrian Cipher
-::ciphered::-
ciphered
Furrian Code
**-::ciphered::-**
(simply a bold filter on ciphered text)
ciphered

Text Alignment

Description Syntax Result
Left-aligned Text
#;;
left-aligned text
#;;
<div leftalign>
left-aligned text
</div>
left-aligned text
Center-aligned Text
;#;
center-aligned text
;#;
<div centeralign>
center-aligned text
</div>
center-aligned text
Right-aligned Text
;;#
right-aligned text
;;#
<div rightalign>
right-aligned text
</div>
right-aligned text
Justified Text
###
this is justified text
so it should be equally spaced
###
<div justify>
this is justified text
so it should be equally spaced
</div>

this is justified text so it should be equally spaced

Entities

Syntax Result
-> <- <-> => <= <=> >> << -- ---
→ ← ↔ ⇒ ⇐ ⇔ » « – —
640x480 (c) (tm) (r)
640×480 © ™ ®
"He thought I was the one..."
“He thought I was the one…“
:flamma: :flumine: :aer: :solum:

(any aspect available)

:flamma: :flumine: :aer: :solum:

Sectioning

Headlines / Headers

Description Syntax Result
Headline Level 1
(aka title header)
====== Header 1 ======
Header 1
Headline Level 2
===== Header 2 =====
Header 2
Headline Level 3
==== Header 3 ====
Header 3
Headline Level 4
=== Header 4 ===
Header 4
Headline Level 5
== Header 5 ==
Header 5

Table of Contents & Footnotes

Section Breaks

Description Syntax Result
Line Break
line\\ break
line\\
break
line
break
New Paragraph
paragraph 1

paragraph 2
paragraph 1

paragraph 2
Horizontal Rule
----
(^ should be the only one in the line)
(horizontal rule)

Quotes

> quote line that is extremely and unnecessarily long
> quote line that is extremely and unnecessarily long
>> quote line that is extremely and unnecessarily long

>> quote line that is extremely and unnecessarily long
>>> quote line that is extremely and unnecessarily long
quote line that is extremely and unnecessarily long
quote line that is extremely and unnecessarily long
quote line that is extremely and unnecessarily long
quote line that is extremely and unnecessarily long
quote line that is extremely and unnecessarily long

Lists

Ordered List

SyntaxResult
  - ordered list entry
  - ordered list entry
    - ordered list entry
    - ordered list entry
  - ordered list entry
    - ordered list entry
       - ordered list entry
         - ordered list entry
  - ordered list entry
  1. ordered list entry
  2. ordered list entry
    1. ordered list entry
    2. ordered list entry
  3. ordered list entry
    1. ordered list entry
      1. ordered list entry
  4. ordered list entry

Unordered List

SyntaxResult
  * ordered list entry
  * ordered list entry
    * ordered list entry
    * ordered list entry
  * ordered list entry
    * ordered list entry
       * ordered list entry
         * ordered list entry
  * ordered list entry
  • ordered list entry
  • ordered list entry
    • ordered list entry
    • ordered list entry
  • ordered list entry
    • ordered list entry
      • ordered list entry
  • ordered list entry

All pages are case-insensitive and are all in lowercase by default.

Description Syntax Result
Internal Link
(relative namespace)
[[syntax]]
Syntax Cheetsheet
Internal Link
(root namespace)
[[:home]]
Home
Internal Link
(defined namespace)
[[playground:playground]]
PlayGround
Internal Link
(substituted text)
[[:home|Home]]
Home
Internal Link
(specific section)
[[wiki:syntaxexplained#lists]]
lists
Internal Link
(section of the same page)
[[syntax#lists]]
lists
Description Syntax Result
External Link
[[http://www.furria.net]]
http://www.furria.net
External Link
(autodetected)
http://www.furria.net
www.furria.net
http://www.furria.net
www.furria.net
External Link
(substituted text)
[[http://www.furria.net|FurriaNET]]
FurriaNET
E-mail Link
<no-reply@furria.net>
no-reply@furria.net
Description Syntax Result
Wikipedia
[[wp>Wikipedia]]
Wikipedia
DokuWiki
[[doku>DokuWiki]]
DokuWiki
Bulbapedia
[[bb>Pokémon]]
Pokémon
TV Tropes
[[tv>TropeTrope|Trope Tropes]]
Trope Tropes
Furria Wiki User
[[user>fiaKaiera]]
fiaKaiera

Media Files

Supported Media Formats:
Imagesgif jpg png
Videowebm ogv mp4
Audioogg mp3 wav
Flashswf

NOTE: Files are also categorized in namespaces so follow namespace guidelines found in internal links

Description Syntax Result
Embed Media
{{:typyl:mug:heilao.png}}
With Title
{{:typyl:mug:heilao.png|Paupe}}

(Hover over to see title name)

Paupe
Direct Link
{{:typyl:mug:heilao.png?direct}}
No Link
{{:typyl:mug:heilao.png?nolink}}
Link Only
{{:typyl:mug:heilao.png?linkonly}}
heilao.png
Left Aligned
{{:typyl:mug:heilao.png }}
Centered
{{ :typyl:mug:heilao.png }}

(Hover over to see title name)

Right Aligned
{{ :typyl:mug:heilao.png}}

(Hover over to see title name)

Resize to given width
{{:typyl:mug:heilao.png?50}}
Resize to given height
{{:typyl:mug:heilao.png?0x50}}
Crop to given width and height
{{:typyl:mug:heilao.png?100x50}}
External Image
{{http://php.net/images/php.gif}}

- External images can also use parameters from above.

Multiple Parameters
{{ http://php.net/images/php.gif?50&nolink |PHP Logo }}

- First parameter starts with ?
and all preceding parameters starts with &.

PHP Logo
No Cache
{{ http://php.net/images/php.gif?nocache }}

(image will change on refresh in browser when file is changed or modified immediately)

Recache
{{ http://php.net/images/php.gif?recache }}

(image will change on refresh in browser when file is changed or modified only in regular intervals)

Fallback Formats

Not all browsers are unable to understand all video and audio formats. You can optionally upload a file in different formats for browser compatiblility.

{{video.mp4|A Funny Video}}

The wiki will automatically add video.webm and video.ogg when they are available.
Poster images also show before the video if there's a jpg or png file available, provided with the same filename, in this example: video.jpg.

Tables

Syntax
^ Heading 1      ^ Heading 2       ^ Heading 3          ^
| Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        |
| Row 2 Col 1    | Row 2 Col 2     | Row 2 Col 3        |
| Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        |
Result
Heading 1 Heading 2 Heading 3
Row 1 Col 1 Row 1 Col 2 Row 1 Col 3
Row 2 Col 1 Row 2 Col 2 Row 2 Col 3
Row 3 Col 1 Row 3 Col 2 Row 3 Col 3

^ Heading 1      ^ Heading 2       ^ Heading 3          ^
| Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        |
| Row 2 Col 1    | Double Pipe for colspan             ||
| Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        |
Heading 1 Heading 2 Heading 3
Row 1 Col 1 Row 1 Col 2 Row 1 Col 3
Row 2 Col 1 Double Pipe for colspan
Row 3 Col 1 Row 3 Col 2 Row 3 Col 3

^ Heading 1      ^ Heading 2       ^ Heading 3          ^
| Row 1 Col 1    | 3 colons for rowspan| Row 1 Col 3        |
| Row 2 Col 1    | :::             | Row 2 Col 3        |
| Row 3 Col 1    | :::             | Row 3 Col 3        |
Heading 1 Heading 2 Heading 3
Row 1 Col 1 3 colons for rowspan Row 1 Col 3
Row 2 Col 1 Row 2 Col 3
Row 3 Col 1 Row 3 Col 3

|< 100% - 20% >|
^ -      ^ Always 20%          ^
| First value is table width    | ?%        |
| The rest is per column    | ?em ?ex       |
| ''-'' means unchanged    | ?px        |
- Always 20%
First value is table width ?%
The rest is per column ?em ?ex
- means unchanged ?px

Ignore Formatting

Syntax: text or text Example:

You cannot even **bold** this text in any way or form unless it is outside the <nowiki> symbol. </nowiki>

Code Blocks

Syntax: <code></code> or <file></file> Alternatively, you can indent by at least 2 spaces.

This is a code block.
This is a file block.

Syntax Highlighting

Syntax: <code java></code>, <code php></code>, etc.

  &variable = 0;
  if (&variable){
    return true;
  }

Supported Languages: 4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript-french, actionscript, actionscript3, ada, algol68, apache, applescript, asm, asp, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_loadrunner, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, coffeescript, cpp, cpp-qt, csharp, css, cuesheet, d, dcs, delphi, diff, div, dos, dot, e, epc, ecmascript, eiffel, email, erlang, euphoria, f1, falcon, fo, fortran, freebasic, fsharp, gambas, genero, genie, gdb, glsl, gml, gnuplot, go, groovy, gettext, gwbasic, haskell, hicest, hq9plus, html, html5, icon, idl, ini, inno, intercal, io, j, java5, java, javascript, jquery, kixtart, klonec, klonecpp, latex, lb, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, modula2, modula3, mmix, mpasm, mxml, mysql, newlisp, nsis, oberon2, objc, objeck, ocaml-brief, ocaml, oobas, oracle8, oracle11, oxygene, oz, pascal, pcre, perl, perl6, per, pf, php-brief, php, pike, pic16, pixelbender, pli, plsql, postgresql, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, python, q, qbasic, rails, rebol, reg, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, uscript, vala, vbnet, vb, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, winbatch, whois, xbasic, xml, xorg_conf, xpp, yaml, z80, zxbasic …and any other languages supported by GeSHi.

Downloadable Code Blocks

Syntax:

<file php myexample.php>
<?php echo "hello world!"; ?>
</file>


myexample.php
  <?php echo "hello world!"; ?>

Note: If the editor does not want syntax highlighting, you can place (-) instead than specifying a programming language.

RSS/ATOM Feed Integration

The wiki can integrate data from external XML feeds using SimplePie. All formats understood by SimplePie can be used in the wiki.

Parameter Description
any number will be used as maximum number items to show, defaults to 8
reverse display the last items in the feed first
author show item authors names
date show item dates
description show the item description. If HTML is disabled all tags will be stripped
nosort do not sort the items in the feed
n[dhm] refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours).

The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes.

By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the reverse parameter, or display the feed as is with nosort.

Example:

{{rss>https://twitrss.me/twitter_user_to_rss/?user=fiaKaiera 5 author date 1h }}

Control Macros

Some syntax influences how the wiki renders a page without creating any output itself. The following control macros are availble:

MacroDescription
~~NOTOC~~If this macro is found on the page, no table of contents will be created
~~NOCACHE~~The wiki caches all output by default. Sometimes this might not be wanted, adding this macro will force a page to rerender on every call.
1)
This is a foot note. Accessible at the bottom of the page.
wiki/syntax.txt · Last modified: 2019/06/13 07:10 by fiakaiera