Ansvandia:Stratokratia

Taskulego Wikistä
Siirry navigaatioonSiirry hakuun
<translate> Description</translate> <translate> You type</translate> <translate> You get</translate>
Malline:Anchor<translate> Character (inline) formatting – applies anywhere</translate>
<translate> Italic text</translate>
''<translate nowrap><!--T:8--> italic</translate>''

<translate> italic</translate>

<translate> Bold text</translate>
'''<translate nowrap><!--T:11--> bold</translate>'''

<translate> bold</translate>

<translate> Bold and italic</translate>
'''''<translate nowrap><!--T:14--> bold & italic</translate>'''''

<translate> bold & italic</translate> Malline:Table-AnchorRow

<translate> Escape wiki markup</translate> <syntaxhighlight lang="html">

Malline:^(nowikiMalline:)^<translate nowrap> no wiki markup</translate>Malline:^(/nowikiMalline:)^ </syntaxhighlight>

<translate> no [[wiki]] ''markup''</translate>

Malline:Anchor<translate> Section formatting – only at the beginning of the line</translate>
<translate> Section Headings of different levels</translate> Malline:Anchor
<translate nowrap>
== Level 2 == <!--T:26-->

=== Level 3 === <!--T:27-->

==== Level 4 ==== <!--T:28-->

===== Level 5 ===== <!--T:29-->

====== Level 6 ====== <!--T:30-->
</translate>

Malline:Note

<translate>

Level 2

Level 3

Level 4

Level 5
Level 6

</translate>

<translate> Horizontal rule</translate>
<translate nowrap><!--T:41--> Text before</translate>
----
<translate nowrap><!--T:42--> Text after</translate>

<translate> Text before</translate>


<translate> Text after</translate>

<translate> Bullet list</translate> Malline:Anchor
<translate nowrap>
<!--T:46-->
* Start each line
* with an [[Wikipedia:asterisk|asterisk]] (*).
** More asterisks give deeper
*** and deeper levels.
* Line breaks <br>don't break levels.
*** But jumping levels creates empty space.
Any other start ends the list.

<!--T:160-->
* combine bullet list
** with definition 
::- definition
** creates empty space

<!--T:161-->
* combine bullet list
** with definition 
*:- definition
** without empty spaces

<!--T:162-->
*bullet list
:- definition
:* sublist that doesn't create empty
:* spaces after definition
</translate>

<translate>

  • Start each line
  • with an asterisk (*).
    • More asterisks give deeper
      • and deeper levels.
  • Line breaks
    don't break levels.
      • But jumping levels creates empty space.

Any other start ends the list.

  • 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

</translate>

<translate> Numbered list</translate> Malline:Anchor
<translate nowrap>
<!--T:49-->
# Start each line
# with a [[Wikipedia:Number_sign|number sign]] (#).
## More number signs give deeper
### and deeper
### levels.
# Line breaks <br>don't break levels.
### But jumping levels creates empty space.
# Blank lines

<!--T:50-->
# end the list and start another.
Any other start also
ends the list.

<!--T:183-->
<tvar name=1><nowiki>#</nowiki></tvar> use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list.
</translate>

<translate>

  1. Start each line
  2. with a number sign (#).
    1. More number signs give deeper
      1. and deeper
      2. levels.
  3. Line breaks
    don't break levels.
      1. But jumping levels creates empty space.
  4. Blank lines
  1. end the list and start another.

Any other start also ends the list.

<tvar name=1>#</tvar> use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list.</translate> Malline:Table-AnchorRow

<translate> Definition list</translate>
<translate nowrap>
<!--T:54-->
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2
</translate>

Malline:Note

<translate>

item 1
definition 1
item 2
definition 2-1
definition 2-2

</translate>

<translate> Indent text</translate>
<translate nowrap>
<!--T:57-->
: Single indent
:: Double indent
::::: Multiple indent
</translate>

Malline:Note

<translate>

Single indent
Double indent
Multiple indent

</translate>

<translate> Mixture of different types of list</translate> <syntaxhighlight lang="html">

<translate nowrap>

  1. one
  2. two
    • two point one
    • two point two
  3. three
    three item one
    three def one
  4. four
    four def one
    this looks like a continuation
    and is often used
    instead <tvar name=1>
    </tvar> of <tvar name=2><br></tvar>
  5. five
    1. five sub 1
      1. five sub 1 sub 1
    2. five sub 2

</translate> </syntaxhighlight>


Malline:Note

<translate>

  1. one
  2. two
    • two point one
    • two point two
  3. three
    three item one
    three def one
  4. four
    four def one
    this looks like a continuation
    and is often used
    instead <tvar name=1>
    </tvar> of <tvar name=2><br></tvar>
  5. five
    1. five sub 1
      1. five sub 1 sub 1
    2. five sub 2

</translate>

Malline:Anchor<translate> Preformatted text</translate>
 <translate nowrap><!--T:65--> Start each line with a space.</translate>
 <translate nowrap><!--T:179--> Text is '''preformatted''' and</translate>
 <translate nowrap><!--T:180--> ''markups'' '''''can''''' be done.</translate>

Malline:Note

<translate> Start each line with a space.</translate>
<translate> Text is preformatted and</translate>
<translate> markups can be done.</translate>
<translate> Preformatted text blocks</translate>
 <nowiki><translate nowrap><!--T:69-->
Start with a space in the first column,
(before the <tvar name=1><nowiki></tvar>).

<!--T:70-->
Then your block format will be
    maintained.

<!--T:170-->
This is good for copying in code blocks:
</translate>

def function():
    """<translate nowrap><!--T:171--> documentation string</translate>"""

    if True:
        print True
    else:
        print False</nowiki>
<translate nowrap>
Start with a space in the first column,
(before the <nowiki>).

Then your block format will be
    maintained.

This is good for copying in code blocks:
</translate>

def function():
    """<translate nowrap> documentation string</translate>"""

    if True:
        print True
    else:
        print False