Comparer les révisions
Markup chart
Révision 5944 :
Révision 5944 par Verdi le
Révision 6457 :
Révision 6457 par Verdi le
Mots-clés :
Résumé des résultats de recherche :
This is the wiki markup available on SUMO.
This is the wiki markup available on SUMO.
Contenu :
This is the wiki markup available on SUMO.
= The Markup =
{|
|+
!Description
!What it looks like
!Wiki Syntax
|-
|Hidden comments
|
|<code><!-- comment --></code>
|-
|Generates the table of contents, based on the headings in the article.
|
|<code><nowiki>__TOC__</nowiki></code>
|-
|Indicates a level 1 heading.
|
= Level 1 =
|<code>= Level 1 =</code>
|-
|Indicates a level 2 heading.
|
== Level 2 ==
|<code>== Level 2 ==</code>
|-
|Indicates a level 3 heading.
|
=== Level 3 ===
|<code>=== Level 3 ===</code>
|-
|Indicates a level 4 heading.
|
==== Level 4 ====
|<code>==== Level 4 ====</code>
|-
|Indicates a level 5 heading.
|
===== Level 5 =====
|<code>===== Level 5 =====</code>
|-
|Indicates a level 6 heading.
|
====== Level 6 ======
|<code>====== Level 6 ======</code>
|-
|Note
|{note}text{/note}
|<code>{<!-- -->note}text{<!-- -->/note}</code>
|-
|Warning
|{warning}text{/warning}
|<code>{<!-- -->warning}text{<!-- -->/warning}</code>
|-
|Bold
|'''text'''
|<code><nowiki>'''text'''</nowiki></code>
|-
|Italics
|''text''
|<code><nowiki>''text''</nowiki></code>
|-
|Bold and italic
|'''''Bold''' and italic'' text
|<code><nowiki>'''''Bold''' and italic'' text</nowiki></code>
|-
|Escape wiki parsing
|<nowiki>[[Not a link]]</nowiki>
|<code><nowiki><nowiki>[[Not a link]]</nowiki></nowiki></code>
|-
|Link to other articles
|[[Page Title]]
|<code><nowiki>[[Contributor Home Page]]</nowiki></code>
|-
|Link specific text to other articles
|[[Page Title|click here]]
|<code><nowiki>[[Page Title|click here]]</nowiki></code>
|-
|Link specific text to anchor in other articles
|[[Page Title#Heading]]
|<code><nowiki>[[Page Title#Heading]]</nowiki></code>
|-
|External link
|[http://www.mozilla.com/]
|<code><nowiki>[http://www.mozilla.com/]</nowiki></code>
|-
|External link with text
|[http://www.mozilla.com/ Mozilla]
|<code><nowiki>[http://www.mozilla.com/ Mozilla]</nowiki></code>
|-
|Numbered list
|
# Item 1
# Item 2
# Item 3
|<code># Item 1<br># Item 2<br># Item 3</code>
|-
|Unordered list
|
* Item 1
* Item 2
* Item 3
|<code>* Item 1<br>* Item 2<br>* Item 3</code>
|-
|Definition list
|
; Term
: Definition
; Term
: Definition a
: Definition b
|<code>; Term<br>: Definition<br>; Term<br>: Definition a<br>: Definition b</code>
|-
|Sub-lists<br>(You can mix and match<br>multiple list types.)
|
* Item A
*# Item A.1
*#* Item A.1.a
*#; Term A.2
*#: Definition A.2
|<code>* Item A<br>*# Item A.1<br>*#* Item A.1.a<br>*#; Term A.2<br>*#: Definition A.2</code>
|-
|Preference names / values
|{pref text}
|<code><nowiki>{pref text}</nowiki></code>
|-
|Code
|<code>code</code>
|<code><code>code</code></code>
|-
|File names / paths
|{filepath file}
|<code>{<!-- -->filepath file}</code>
|-
|Keyboard shortcuts
|{key Ctrl+T}
|<code>{<!-- -->key Ctrl+T}</code>
|-
|Menu paths
|{menu Firefox}
|<code>{<!-- -->menu Firefox}</code>
|-
|Buttons
|{button Button}
|<code>{<!-- -->button Button}</code>
|-
|Tables
|
{|
|A||B
|-
|C||D
|}
|<pre><nowiki>
{|
|A||B
|-
|C||D
|}</nowiki></pre>
|-
|Line breaks within tables, lists,etc.
|line<br>break
|<code>line<br>break</code>
|-
|Preformatted text
|
This is
preformatted
|<pre> This is<br> preformatted</pre>
|-
|Horizontal rule
|text above
----
text below
|<pre><nowiki>text above
----
text below</nowiki></pre>
|-
|Strikeout
|<s>Strikeout</s> or <del>Strikeout</del>
|<code><s>Strikeout</s> or <del>Strikeout</del></code>
|}
= Tables =
Tables are complicated and fancy.
= {<!-- -->for} =
<code>{<!-- -->for}</code> doesn't need any special styling, but it's useful to specify that content only applies to certain operating systems or Firefox version. '''[https://wiki.mozilla.org/Support/Kitsune/KB/WikiSyntax More info about <code>{<!-- -->for}</code>]'''
You're probably using {for win}Windows{/for}{for mac}Mac OS{/for}{for linux}Linux{/for}.
== Here ==
Are
=== Several ===
This is a
preformatted section
<pre>It could also
be created
with <pre> tags</pre>
==== Nested ====
<blockquote>We allow blockquotes</blockquote>
== Headings ==
; Do we
: handle DLs?
: and bare DDs?
:: Do they work?
This is the wiki markup available on SUMO.
= The Markup =
{|
|+
!Description
!What it looks like
!Wiki Syntax
|-
|Hidden comments
|
|<code><!-- comment --></code>
|-
|Generates the table of contents, based on the headings in the article.
|
|<code><nowiki>__TOC__</nowiki></code>
|-
|Indicates a level 1 heading.
|
= Level 1 =
|<code>= Level 1 =</code>
|-
|Indicates a level 2 heading.
|
== Level 2 ==
|<code>== Level 2 ==</code>
|-
|Indicates a level 3 heading.
|
=== Level 3 ===
|<code>=== Level 3 ===</code>
|-
|Indicates a level 4 heading.
|
==== Level 4 ====
|<code>==== Level 4 ====</code>
|-
|Indicates a level 5 heading.
|
===== Level 5 =====
|<code>===== Level 5 =====</code>
|-
|Indicates a level 6 heading.
|
====== Level 6 ======
|<code>====== Level 6 ======</code>
|-
|Note
|{note}text{/note}
|<code>{<!-- -->note}text{<!-- -->/note}</code>
|-
|Warning
|{warning}text{/warning}
|<code>{<!-- -->warning}text{<!-- -->/warning}</code>
|-
|Bold
|'''text'''
|<code><nowiki>'''text'''</nowiki></code>
|-
|Italics
|''text''
|<code><nowiki>''text''</nowiki></code>
|-
|Bold and italic
|'''''Bold''' and italic'' text
|<code><nowiki>'''''Bold''' and italic'' text</nowiki></code>
|-
|Escape wiki parsing
|<nowiki>[[Not a link]]</nowiki>
|<code><nowiki><nowiki>[[Not a link]]</nowiki></nowiki></code>
|-
|Link to other articles
|[[Page Title]]
|<code><nowiki>[[Contributor Home Page]]</nowiki></code>
|-
|Link specific text to other articles
|[[Page Title|click here]]
|<code><nowiki>[[Page Title|click here]]</nowiki></code>
|-
|Link specific text to anchor in other articles
|[[Page Title#Heading]]
|<code><nowiki>[[Page Title#Heading]]</nowiki></code>
|-
|External link
|[http://www.mozilla.com/]
|<code><nowiki>[http://www.mozilla.com/]</nowiki></code>
|-
|External link with text
|[http://www.mozilla.com/ Mozilla]
|<code><nowiki>[http://www.mozilla.com/ Mozilla]</nowiki></code>
|-
|Numbered list
|
# Item 1
# Item 2
# Item 3
|<code># Item 1<br># Item 2<br># Item 3</code>
|-
|Unordered list
|
* Item 1
* Item 2
* Item 3
|<code>* Item 1<br>* Item 2<br>* Item 3</code>
|-
|Definition list
|
; Term
: Definition
; Term
: Definition a
: Definition b
|<code>; Term<br>: Definition<br>; Term<br>: Definition a<br>: Definition b</code>
|-
|Sub-lists<br>(You can mix and match<br>multiple list types.)
|
* Item A
*# Item A.1
*#* Item A.1.a
*#; Term A.2
*#: Definition A.2
|<code>* Item A<br>*# Item A.1<br>*#* Item A.1.a<br>*#; Term A.2<br>*#: Definition A.2</code>
|-
|Preference names / values
|{pref text}
|<code><nowiki>{pref text}</nowiki></code>
|-
|Code
|<code>code</code>
|<code><code>code</code></code>
|-
|File names / paths
|{filepath file}
|<code>{<!-- -->filepath file}</code>
|-
|Keyboard shortcuts
|{key Ctrl+T}
|<code>{<!-- -->key Ctrl+T}</code>
|-
|Menu paths
|{menu Firefox}
|<code>{<!-- -->menu Firefox}</code>
|-
|Buttons
|{button Button}
|<code>{<!-- -->button Button}</code>
|-
|Tables
|
{|
|A||B
|-
|C||D
|}
|<pre><nowiki>
{|
|A||B
|-
|C||D
|}</nowiki></pre>
|-
|Line breaks within tables, lists,etc.
|line<br>break
|<code>line<br>break</code>
|-
|Preformatted text
|
This is
preformatted
|<pre> This is<br> preformatted</pre>
|-
|Horizontal rule
|text above
----
text below
|<pre><nowiki>text above
----
text below</nowiki></pre>
|-
|Strikeout
|<s>Strikeout</s> or <del>Strikeout</del>
|<code><s>Strikeout</s> or <del>Strikeout</del></code>
|}
= <nowiki>{</nowiki>for<nowiki>}</nowiki> =
<code><nowiki>{</nowiki>for<nowiki>}</nowiki></code> doesn't get any special styling. It's useful for specifying that content only applies to certain operating systems or Firefox versions. '''[[How to use For|See How to use For, for details.]]'''