test.mediawiki

    ====== no section ==
    ===== section 5 =====
    ==== section 4 ====
    === section 3 ===
    == section 2 ==
    = no section =

    ===== section 5
    ==== section 4
    === section 3
    == section 2

    == section == 2 ===

    bla ''italic'' bla
    bla '''bold''' bla
    bla '''''bold+italic''''' bla
    bla '' '''italic+bold''' '' bla
    bla ''' ''bold+italic'' ''' bla

    <ins>Inserted</ins>
    <u>Underline</u>

    <del>Deleted</del>
    <s>Strike-through</s>

    <source lang="javascript">let i = 0</source>
    <source lang="c++">int i = 0;</source>
    <syntaxhighlight lang="javascript">let i = 0</syntaxhighlight>
    <syntaxhighlight lang="c++">int i = 0;</syntaxhighlight>

    bla <u>bla '''bla ''bla'' bla''' bla</u> bla
    bla <u>bla ''bla '''bla''' bla'' bla</u> bla
    bla ''bla <u>bla '''bla''' bla</u> bla'' bla
    bla ''bla '''bla <u>bla</u> bla''' bla'' bla
    bla '''bla <u>bla ''bla'' bla</u> bla''' bla
    bla '''bla ''bla <u>bla</u> bla'' bla''' bla

    <!-- oups -->
    bla ''bla'''bla''bla''' bla
    bla '''bla''bla'''bla'' bla
    bla <u>bla''bla</u>bla'' bla
    bla <u>bla'''bla</u>bla''' bla

    <code>Source code</code>

    <pre>
    Text is '''preformatted''' and
    ''markups'' '''''cannot''''' be done
    </pre>

    <pre style="color: red">
    Text is '''preformatted'''
    with a style and
    ''markups'' '''''cannot''''' be done
    </pre>

    [http://www.example.com]
    [http://www.example.com display text]

    bla http://www.example.com bla
    bla http://www.example.com.
    Bla http://www.example.com!
    Bla http://www.example.com?
    Bla http://www.example.com?p=?
    Bla http://www.example.com?p= bla

    no [[wiki]] ''markup''
    <nowiki>#</nowiki>
    <nowiki>no [[wiki]] ''markup'' <br> bla</nowiki> bla
    <nowiki>{{</nowiki>
    <<nowiki/>pre>  → <pre><pre></pre>
    &<nowiki/>amp;  → <pre>&</pre>
    A [[micro-]]<nowiki />second.

    Text before
    ----
    Text after

    : Three tildes adds your username: ~~~
    : Four tildes adds your username and timestamp: ~~~~
    : Five tildes adds only a timestamp: ~~~~~

    # one
    # two
    ## two point one
    # three

    * one
    * two
    ** two point one
    *** and deeper levels.
    * three

    ; Definition: bla bla
    *;* Definition: bla bla

    ; Definition
    : item 1
    : item 2

    : Single indent
    :: Double indent
    ::::: Multiple indent

    * combine bullet list
    ** with definition
    ::- definition
    ** creates empty space

    * combine bullet list
    ** with definition
    *:- definition
    ** without empty spaces

    *bullet list
    :- definition
    :* sublist that doesn't create empty
    :* spaces after definition

    # one
    # two
    #* two point one
    #* two point two
    # three
    #; three item one
    #: three def one
    # four
    #: four def one
    #: this looks like a continuation
    #: and is often used
    #: instead <br> of <nowiki><br></nowiki>
    # five
    ## five sub 1
    ### five sub 1 sub 1
    ## five sub 2

    [[name of page|display text]] bla
    [[:Category:name of category]] bla
    [[wiki:name of article|display text]] bla
    [[Help:Images#Supported media types for images]] bla
    [[#See also|different text]] bla
    [[{{TALKPAGENAME}}|Discussion]] bla
    [{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page] bla
    * [[wikisource:project:a (b)#c|]] bla
    [[/example/]] bla
    ''[[MediaWiki]]'' bla

    This interwiki link points to [[w:Documentation]] on Wikipedia.

     left space [[w:Documentation]]
     *left space [[w:Documentation]]

    for {{{1}}}. bla
    hugs, {{{2}}} bla

    for {{{reason}}}. bla
    hugs, {{{signature}}} bla

    for {{{reason|everything}}}. bla
    hugs, {{{signature|Me}}} bla

    {{template}} bla

    {{thankyou|{{{1}}}|{{{2}}}}} bla
    {{Thankyou|all your effort|Me}} bla
    {{Thankyou|2=Me|1=your friendship}} bla

    This is {{uc: ; Heavens to BETSY!: }} for contrast
    This is {{!uc: * Heavens to BETSY! }} for contrast

    {{t2demo|| a }} bla
    {{T1demo|{{{1| a=b }}}}} bla
    {{T1demo| a{{=}}b }} bla
    {{T1demo| a&#61;b }} bla
    {{T1demo| <nowiki>{{</nowiki>content<nowiki>}}</nowiki> }} bla
    {{t1demo|{{((}}t1demo{{))}}}} bla
    {{math|''E'' {{=}} ''mc''<sup>2</sup>}} bla
    {{math|a ''E'' <nowiki>=</nowiki> ''mc''<sup>2</sup>}} bla

    {{filepath:{{PAGENAME:File:MediaWiki-2020-logo.svg}}}} bla bla

    {{#switch: {{len|parameter tag}}|0=case 0 etc.}} bla
    {{{{{subst|}}}#switch: {{{{{subst|}}}len|parameter tag|subst={{{subst|}}}}}|0=case 0 etc.}} bla
    {{{{{subst|}}}#switch: {{subst:len|parameter tag}}|0=case 0 etc.}} bla

    {{#if:{{{1|}}}|{{{1|}}}|undefined}} bla
    {{#ifeq:{{{foo|bar}}}|{{{foo|baz}}}|parameter is defined|parameter is undefined}} bla

    [[File:filename.extension|options|caption]] bla
    [[File:filename.extension|options|upright=0.75|caption]] bla
    [[File:filename.extension|options|caption|upright 0.75|page=2|caption]] bla
    [[File:example.jpg|frameless|50px]] bla
    [[File:example.jpg|link=http://wikipedia.org/wiki/Test|caption]] bla
    [[File:Example.jpg|thumb|none|175px|Caption 8]] bla
    [[:File:MediaWiki-2020-logo.svg|Wiki]] bla

    [http://www.example.com/some/image.png Example '''<del>rich</del>''' ''<ins>link text</ins>'' here.] bla

    <gallery>
    File:Example.jpg|Item 1
    File:Example.jpg|a link to [[Help:Contents]]
    File:Example.jpg
    File:Example.jpg|alt=An example image. It has flowers
    File:Example.jpg|''italic caption''
    File:Example.jpg|link=https://example.com|This text will not render because an external link came first
    File:Example.jpg|Links to external website|link=https://example.com
    File:Example.jpg|link=w:Main_Page|Internal link
    Example.jpg|on page "{{PAGENAME}}"
    File:Using Firefox.pdf|page=72
    </gallery>

    <gallery mode="packed-hover">
    File:Astronotus_ocellatus.jpg|''[[commons:Astronotus ocellatus|Astronotus ocellatus]]'' (Oscar)
    File:Salmonlarvakils.jpg|''[[commons:Salmo salar|Salmo salar]]'' (Salmon Larva)
    File:Georgia Aquarium - Giant Grouper.jpg|''[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]'' (Giant grouper)
    </gallery>

    {| class="wikitable" style="margin:auto"
    |+ style="caption-side:bottom; color:#e76700;"|''Food complements''
    |-
    ! Header text !! Header text
    ! Header text
    |-
    | Example
    | Example
    | Example
    |}

    {|
    |Orange||Apple||more
    |-
    |Butter||Ice<br/>cream||and<br/>more
    |}

    {| class="wikitable"
    |-
    ! scope="col"| Item
    ! scope="col"| Quantity
    ! scope="col"| Price
    |-
    ! scope="row"| Bread
    | 0.3 kg
    | $0.65
    |-
    ! scope="row"| Butter
    | 0.125 kg
    | $1.25
    |-
    ! scope="row" colspan="2"| Total
    | $1.90
    |}

    {| class="wikitable"
    | Orange || Apple     || style="text-align:right;" | 12,333.00
    |-
    | Bread || Pie       || style="text-align:right;" | 500.00
    |-
    | Butter || Ice cream || style="text-align:right;" | 1.00
    |}