Table of Contents
This is the wiki markup available on SUMO Kitsune compared to the old tiki wiki syntax
The Markup
Description | What it looks like | Wiki Syntax | Old Tiki Syntax | ||||
---|---|---|---|---|---|---|---|
Hidden comments | <!-- comment -->
| ~tc~ text ~/tc~
| |||||
Generates the table of contents, based on the headings in the article. | __TOC__
| {maketoc}
| |||||
Indicates a level 1 heading. |
= Level 1 = | = Level 1 =
| !Level 1
| ||||
Indicates a level 2 heading. |
== Level 2 == | == Level 2 ==
| !!Level 2
| ||||
Indicates a level 3 heading. |
=== Level 3 === | === Level 3 ===
| !!!Level 3
| ||||
Indicates a level 4 heading. |
==== Level 4 ==== | ==== Level 4 ====
| !!!!Level 4
| ||||
Indicates a level 5 heading. |
===== Level 5 ===== | ===== Level 5 =====
| !!!!!Level 5
| ||||
Indicates a level 6 heading. |
====== Level 6 ====== | ====== Level 6 ======
| !!!!!!Level 6
| ||||
Note | text
| {note}text{/note}
| ;:^__text__^
| ||||
Centered Text | <center>centered text</center> | <center>centered text</center>
| ::centered text::
| ||||
Warning | text
| {warning}text{/warning}
| |||||
Bold | text | '''text'''
| __text__
| ||||
Italics | text | ''text''
| ''text''
| ||||
Bold and italic | Bold and italic text | '''''Bold''' and italic'' text
| ''__Bold__ and italic'' text
| ||||
Escape wiki parsing | [[Not a link]] | <nowiki>[[Not a link]]</nowiki>
| |||||
Link to other articles | Article Title | [[Article Title]]
| ((Article Title))
| ||||
Link specific text to other articles | Link Name | [[Article Title|Link Name]]
| ((ArticleTitle | Link Name))
| ||||
Link specific text to anchor in other articles | Article Title | [[Article Title#Heading]]
| ((Using Wiki Pages | #The_Wiki_Menu | The Wiki Menu)) (but no spaces around pipes) | ||||
External link | http://www.mozilla.com/ | [http://www.mozilla.com/]
| [http://www.mozilla.com/]
| ||||
External link with text | Mozilla | [http://www.mozilla.com/ Mozilla]
| [http://www.mozilla.com/|text]
| ||||
Numbered list (use HTML for complex lists or lists with inline images) |
| # Item 1
| #Item 1
| ||||
Unordered list |
| * Item A
| *Item A
| ||||
Unordered sub-list within a numbered list |
| #Item 1
| #Item 1
| ||||
Definition list |
| ; Term
| ;Word:definition
| ||||
Mixed sub-lists (You can mix and match multiple list types) |
| * Item A
| Not Applicable | ||||
Preference names / values | text | <span class="pref">text</span>
| |||||
Code | code
| <code>code</code>
| |||||
File names / paths | file | {filepath file}
| |||||
Keyboard shortcuts | Ctrl + T | {key Ctrl+T}
| {TAG(tag=kbd)}text{TAG}
| ||||
Menu paths | {menu Firefox}
| {MENU()}text{MENU}
| |||||
Buttons | {button Button}
| {DIV(class=button,type=>span)}text{DIV}
| |||||
Tables |
| {| |A||B |- |C||D |} | ||r1c1|r1c2 r2c1|r2c2 r3c1|r3c2||
| ||||
Line breaks within tables, lists,etc. | line break | line<br>break
| line%%%break
| ||||
Preformatted text |
This is preformatted | This is | |||||
Horizontal rule | text above
text below | text above ---- text below | text above ---- text below | ||||
Strikeout | <s>Strikeout</s> or <del>Strikeout</del>
| {TAG(tag=>strike)}This text uses strikethrough{TAG}
| |||||
Image Tag | [[Image:sampleimage]]
| {img src="sampleimage" } |
Images
- Reduce the size of large images about 70% before importing (otherwise they are much too large).
SHOWFOR - {for}
ShowFor{for}
, doesn't get any special styling. It's useful for specifying that content only applies to certain operating systems or Thunderbird versions. See the Firefox documentation on ShowFor, for details. Thunderbird Showfor (known simply as "for") is identical to Firefox "for" except of course there is no mobile Thunderbird and there is no Maemo and Android Thunderbird, just Thunderbird for Mac, Windows and Linux. And instead of using "fx" for Firefox you use "tb" for Thunderbird
Here is the syntax to show something for Thunderbird 5 and above:
{for tb5}Hellooo TB5 and ABOVE!{/for}
Here is the syntax to show something for only Thunderbird 5 and not any other version of Thunderbird:
{for =tb5}Hellooo ONLY TB5!{/for}
New and Old SHOWFOR compared
Showfor code | Old Tiki Showfor code |
lorem ipsum
| {SHOWFOR(os=windows+mac)}lorem ipsum{SHOWFOR} |
lorem ipsum
| {SHOWFOR(os=mac)}lorem ipsum{SHOWFOR} |
lorem ipsum
| {SHOWFOR(os=linux)}lorem ipsum{SHOWFOR} |
lorem ipsum
| {DIV(type=span,class=mac)}lorem ipsum{DIV} |
lorem ipsum
| {DIV(type=span,class=linux)}lorem ipsum{DIV} |
lorem ipsum
| {DIV(type=span,class=windows)}lorem ipsum{DIV} |
"not" operator
The "not" operator displays the system or program sensitive information for anything except the specified. The following is an example.
Press the ControlApple key.
Templates
Templates are a way of reusing small pieces of content. Instead of writing a message twice, you can create and update it in one place, and then refer to it in other pages. The other pages will stay up-to-date with changes to the Template automatically!
See How to use Templates for instructions on creating templates. When you create a template, be sure to add it to the list below.
To insert the contents of a template into a page, use the following syntax:
Template:Some Template or T:Some Template
Surround the text with two square brackets.
Available templates include:
- Shortcuts for common menu access like:
- Template:optionspreferences (the location of the Options or Preferences menu, based on the selected operating system.) This yields:
In the Menu bar at the top of the screen, click and then select or , depending on your macOS version.Click the menu button and select . - Template:accountsettings (the location of the Account Settings... dialog.) This yields:
- Template:version (the location of the Thunderbird version and build dialog). This yields:
- Template:optionspreferences (the location of the Options or Preferences menu, based on the selected operating system.) This yields:
- Subsections of the front page:
Front page
Once you have localized the template, there are two more pages that need translation in order to fully localize the front page:
These pages list all the templates defined in the previous chapter.