Formatting – Bohemia Interactive Community

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add Enforce Script highlighter)
m (Text replacement - "<code>" to "<code style="display: block">")
Line 56: Line 56:
Code is displayed in a monospace font.
Code is displayed in a monospace font.
|<pre>
|<pre>
function <code>int m2()</code> is nice.
function <code style="display: block">int m2()</code> is nice.
</pre>
</pre>
|function <code>int m2()</code> is nice.
|function <code style="display: block">int m2()</code> is nice.
|-
|-
|Small text
|Small text
Line 184: Line 184:
</pre>
</pre>
----
----
{{Feature|Informative|The usage of <code>#:</code> and <code>*:</code> to break a line within an item may also harm accessibility.}}
{{Feature|Informative|The usage of <code style="display: block">#:</code> and <code style="display: block">*:</code> to break a line within an item may also harm accessibility.}}
|
|


Line 354: Line 354:
</pre>
</pre>
----
----
{{Feature|Informative|A CSS style can be defined within the <code>style</code> attribute.}}
{{Feature|Informative|A CSS style can be defined within the <code style="display: block">style</code> attribute.}}
|
|
<pre style="color: red">
<pre style="color: red">
Line 370: Line 370:
! width="40%" | You get
! width="40%" | You get
|-
|-
| '''Default''' preformatted text has a CSS attribute (<code>white-space: pre-wrap;</code>) to wrap the text according to available width
| '''Default''' preformatted text has a CSS attribute (<code style="display: block">white-space: pre-wrap;</code>) to wrap the text according to available width
| <pre>
| <pre>
<pre>
<pre>
Line 690: Line 690:
== HTML tags and symbol entities displayed themselves (with and without interpreting them) ==
== HTML tags and symbol entities displayed themselves (with and without interpreting them) ==


:<code>&amp;amp;euro;</code> &nbsp;&rarr; '''&amp;euro;'''
:<code style="display: block">&amp;amp;euro;</code> &nbsp;&rarr; '''&amp;euro;'''


:<code>&lt;span style="color: red; text-decoration: line-through;"> Typo to be corrected&lt;/span></code> &nbsp;&rarr; '''<span style="color: red; text-decoration: line-through;"> Typo to be corrected</span>'''
:<code style="display: block">&lt;span style="color: red; text-decoration: line-through;"> Typo to be corrected&lt;/span></code> &nbsp;&rarr; '''<span style="color: red; text-decoration: line-through;"> Typo to be corrected</span>'''


:<code> <nowiki>&amp;lt;span style="color: red; text-decoration: line-through;">Typo to be corrected</span></nowiki></code> &nbsp;&rarr; '''&lt;span style="color: red; text-decoration: line-through;"> Typo to be corrected&lt;/span>'''
:<code style="display: block"> <nowiki>&amp;lt;span style="color: red; text-decoration: line-through;">Typo to be corrected</span></nowiki></code> &nbsp;&rarr; '''&lt;span style="color: red; text-decoration: line-through;"> Typo to be corrected&lt;/span>'''


=== Nowiki for HTML ===
=== Nowiki for HTML ===
Line 703: Line 703:
* &<<nowiki/>nowiki />amp; &nbsp;&rarr; &amp;
* &<<nowiki/>nowiki />amp; &nbsp;&rarr; &amp;


To print &amp; symbol escapes as text, use "<code>&amp;amp;</code>" to replace the "&" character (eg. type "<code>&amp;amp;nbsp;</code>", which results in "<code>&amp;nbsp;</code>")
To print &amp; symbol escapes as text, use "<code style="display: block">&amp;amp;</code>" to replace the "&" character (eg. type "<code style="display: block">&amp;amp;nbsp;</code>", which results in "<code style="display: block">&amp;nbsp;</code>")


== Code Formatting ==
== Code Formatting ==
Line 713: Line 713:
| Code block (no highlighting)
| Code block (no highlighting)
| <pre>Lorem ipsum ...
| <pre>Lorem ipsum ...
<code>player setPosASL [0, 0, 0];
<code style="display: block">player setPosASL [0, 0, 0];
player setDamage 0;</code>
player setDamage 0;</code>
... dolor sit amet.</pre>
... dolor sit amet.</pre>
| <div>Lorem ipsum ...<code>player setPosASL [0, 0, 0];
| <div>Lorem ipsum ...<code style="display: block">player setPosASL [0, 0, 0];
player setDamage 0;</code>... dolor sit amet.</div>
player setDamage 0;</code>... dolor sit amet.</div>


Line 728: Line 728:


|-
|-
| [[Template:cc|Single-line code comment]] (should only be used inside {{hl|<nowiki><code></nowiki>}} tags)
| [[Template:cc|Single-line code comment]] (should only be used inside {{hl|<nowiki><code style="display: block"></nowiki>}} tags)
| <pre><code>[[player]] [[setPosASL]] [0, 0, 0]; {{cc|Teleports the player}}</code></pre>
| <pre><code style="display: block">[[player]] [[setPosASL]] [0, 0, 0]; {{cc|Teleports the player}}</code></pre>
| <code>[[player]] [[setPosASL]] [0, 0, 0]; {{cc|Teleports the player}}</code>
| <code style="display: block">[[player]] [[setPosASL]] [0, 0, 0]; {{cc|Teleports the player}}</code>
|-
|-
<!-- The template {{codecomment}} adds no real value.
<!-- The template {{codecomment}} adds no real value.
Line 812: Line 812:
</syntaxhighlight>
</syntaxhighlight>


{{Feature|Informative|At the root level of the page (i.e. not within templates and tables), text indented by one space renders the same way as text wrapped in {{hl|<nowiki><code></nowiki>}} tags.}}
{{Feature|Informative|At the root level of the page (i.e. not within templates and tables), text indented by one space renders the same way as text wrapped in {{hl|<nowiki><code style="display: block"></nowiki>}} tags.}}


== Lists ==
== Lists ==
Line 921: Line 921:
To list terms and definitions, start a new line with a semicolon (;) followed by the term. Then, type a colon (:) followed by a definition. The format can also be used for other purposes, such as make and models of vehicles, etc.
To list terms and definitions, start a new line with a semicolon (;) followed by the term. Then, type a colon (:) followed by a definition. The format can also be used for other purposes, such as make and models of vehicles, etc.


''Description lists''<!--HTML5 name--> (formerly ''definition lists''<!--HTML4 name-->, and a.k.a. ''association lists''<!--draft HTML5 name-->) consist of group names corresponding to values. Group names (terms) are in bold. Values (definitions) are indented. Each group <em>must</em> include one or more definitions. For a single or first value, the <code>:</code> can be placed on the same line after <code>;</code> – but subsequent values must be placed on separate lines.
''Description lists''<!--HTML5 name--> (formerly ''definition lists''<!--HTML4 name-->, and a.k.a. ''association lists''<!--draft HTML5 name-->) consist of group names corresponding to values. Group names (terms) are in bold. Values (definitions) are indented. Each group <em>must</em> include one or more definitions. For a single or first value, the <code style="display: block">:</code> can be placed on the same line after <code style="display: block">;</code> – but subsequent values must be placed on separate lines.


'''Do not use a semicolon (;) simply to bold a line without defining a value using a colon (:). This usage renders invalid HTML5 and creates issues with screen readers.'''
'''Do not use a semicolon (;) simply to bold a line without defining a value using a colon (:). This usage renders invalid HTML5 and creates issues with screen readers.'''
Line 1,049: Line 1,049:
|-
|-
| Redirect to an article
| Redirect to an article
| <code><nowiki>#REDIRECT [[United States]] </nowiki></code>
| <code style="display: block"><nowiki>#REDIRECT [[United States]] </nowiki></code>
|-
|-
| Redirect to a section
| Redirect to a section
| <code><nowiki>#REDIRECT [[United States#History]]</nowiki></code>
| <code style="display: block"><nowiki>#REDIRECT [[United States#History]]</nowiki></code>
|-
|-
| Link to another namespace
| Link to another namespace
| <code><nowiki>See the [[Wikipedia:Manual of Style]].</nowiki></code>
| <code style="display: block"><nowiki>See the [[Wikipedia:Manual of Style]].</nowiki></code>
| See the [[Wikipedia:Manual of Style]].
| See the [[Wikipedia:Manual of Style]].
|}
|}
Line 1,067: Line 1,067:
|-
|-
| Add article to category
| Add article to category
| <code><nowiki>[[Category:Character sets]]</nowiki></code>
| <code style="display: block"><nowiki>[[Category:Character sets]]</nowiki></code>
|
|
|-
|-
| Link to a category
| Link to a category
| <code><nowiki>[[:Category:Character sets]]</nowiki></code>
| <code style="display: block"><nowiki>[[:Category:Character sets]]</nowiki></code>
| [[:Category:Character sets]]
| [[:Category:Character sets]]
|-
|-
| Without prefix.
| Without prefix.
| <code><nowiki>[[:Category:Character sets|]]</nowiki></code>
| <code style="display: block"><nowiki>[[:Category:Character sets|]]</nowiki></code>
| [[:Category:Character sets|Character sets]]
| [[:Category:Character sets|Character sets]]
|}
|}
Line 1,089: Line 1,089:
|-
|-
| Named link with an external link icon
| Named link with an external link icon
| <code><nowiki>[http://www.wikipedia.org Wikipedia]</nowiki></code>
| <code style="display: block"><nowiki>[http://www.wikipedia.org Wikipedia]</nowiki></code>
| [http://www.wikipedia.org Wikipedia]
| [http://www.wikipedia.org Wikipedia]
|-
|-
Line 1,096: Line 1,096:
(Used only within article body for footnotes)
(Used only within article body for footnotes)
|
|
<code><nowiki>[http://www.wikipedia.org]</nowiki></code>
<code style="display: block"><nowiki>[http://www.wikipedia.org]</nowiki></code>
|
|
[http://www.wikipedia.org]
[http://www.wikipedia.org]
Line 1,106: Line 1,106:
use <nowiki>&lt;nowiki&gt;</nowiki>&lt;/nowiki&gt; to keep this bad style from showing
use <nowiki>&lt;nowiki&gt;</nowiki>&lt;/nowiki&gt; to keep this bad style from showing
|
|
<code><nowiki>http://www.wikipedia.org</nowiki></code>
<code style="display: block"><nowiki>http://www.wikipedia.org</nowiki></code>
|
|
http://www.wikipedia.org
http://www.wikipedia.org
Line 1,115: Line 1,115:
(Not often used)
(Not often used)
|
|
<code><nowiki><span class="plainlinks">[http://www.wikipedia.org Wikipedia]</span></nowiki></code>
<code style="display: block"><nowiki><span class="plainlinks">[http://www.wikipedia.org Wikipedia]</span></nowiki></code>
|
|
<span class="plainlinks"> [http://www.wikipedia.org Wikipedia]</span>
<span class="plainlinks"> [http://www.wikipedia.org Wikipedia]</span>
Line 1,128: Line 1,128:
|-
|-
| Simple image without description
| Simple image without description
| <code><nowiki>[[Image:Logo_A3_black.png]] or [File:Logo_A3_black.png]]</nowiki> </code>
| <code style="display: block"><nowiki>[[Image:Logo_A3_black.png]] or [File:Logo_A3_black.png]]</nowiki> </code>
| [[Image:Logo_A3_black.png]]
| [[Image:Logo_A3_black.png]]
|-
|-
| Thumb image with description, defined size and aligned right. Size can by any number. Alignment can be (left, right and center)
| Thumb image with description, defined size and aligned right. Size can by any number. Alignment can be (left, right and center)
| <code><nowiki>[[Image:Logo_A3_black.png|thumb|right|100px|Some description]]</nowiki></code>
| <code style="display: block"><nowiki>[[Image:Logo_A3_black.png|thumb|right|100px|Some description]]</nowiki></code>
| [[Image:Logo_A3_black.png|thumb|right|100px|Some description]]
| [[Image:Logo_A3_black.png|thumb|right|100px|Some description]]
|}
|}

Revision as of 12:52, 11 January 2023


The text editor comes with some basic text formatting tips

Text formatting markup

Description You type You get
Character (inline) formatting – applies anywhere
Italic text
''italic''

italic

Bold text
'''bold'''

bold

Bold and italic
'''''bold & italic'''''

bold & italic

Colored text
<span style="color: red;">Colour</span>

Colour

Spoiler
<spoiler text="Click me!">spoiler</spoiler>

spoiler

Escape wiki markup
<nowiki> no ''markup''</nowiki>
no ''markup''
Small chunks of source code within a line of normal text.

Code is displayed in a monospace font.

function <code style="display: block">int m2()</code> is nice.
function int m2() is nice.
Small text
Text can be made <small>smaller like this</small>
Text can be made smaller like this
Big text
Text can be made <big>bigger like this</big>
Text can be made bigger like this
Teletype (using {{hl}})
Highlight {{hl|TAG_someVariable}} in a text
Highlight TAG_someVariable in a text
Section formatting – only at the beginning of the line
Section Headings of different levels
== Level 2 ==

=== Level 3 ===

==== Level 4 ====

===== Level 5 =====

====== Level 6 ======

  • Do not put any text on the same line after the ending equal signs.
  • An article with 4 or more headings automatically creates a Table of Contents (ToC) - unless setting the magic word __NOTOC__.
  • You can use a right-side ToC with the {{TOC|side}} template.
  • Recommended spacing:
    • Add spaces between the title itself and the equal signs
    • Two empty lines before a Level 2 title, one after
    • One empty line before a Level 3 title, one after
    • One empty line before a Level 4..6 title, none after.

Level 2



Level 3


Level 4


Level 5


Level 6


Horizontal rule
 Text before
----
 Text after
Text before

Text after
Line Breaks
A single newline here has no effect on the layout.

But an empty line starts a new paragraph, or ends a list or an indented part.
Lines can be forced to break <br> like this.
A single newline here has no effect on the layout.

But an empty line starts a new paragraph,

or ends a list or an indented part.

Lines can be forced to break

like this.

Indent text
: Single indent
:: Double indent
::::: Multiple indent

This workaround may harm accessibility.
Single indent
Double indent
Multiple indent
Mixture of different types of list
# 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

  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
    of <br />
  5. five
    1. five sub 1
      1. five sub 1 sub 1
    2. five sub 2
Preformatted text
Start each line with a space.
 Text is '''preformatted''' and
 ''markups'' '''''can''''' be done.

This way of preformatting only applies to section formatting. Character formatting markups are still effective.

Start each line with a space.

Text is preformatted and
markups can be done.
Preformatted text blocks
 <nowiki>
Start with a space in the first column,
(before the <tvar|1><nowiki></>).


Then your block format will be
    maintained.


This is good for copying in code blocks:


def function():
    """ documentation string"""

    if True:
        print True
    else:
        print False<nowiki>
       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:
       
       
       def function():
           """ documentation string"""
       
           if True:
               print True
           else:
               print False
       

HTML tags

Description You type You get
Inserted
(Displays as underline in most browsers)
<ins> Inserted</ins>

 or

<u> Underline</u>

Inserted

or

Underline

Deleted
(Displays as strikethrough in most browsers)
<s> Struck out</s>

 or

<del> Deleted</del>

Struck out

or

Deleted

Blockquotes
 Text before
<blockquote> Blockquote</blockquote>
 Text after
Text before

Blockquote

Text after
Quotes
<q> This is a quotation</q>
The q element must not be used in place of quotation marks that do not represent quotes; for example, it is inappropriate to use the q element for marking up sarcastic statements.[1]
This is a quotation
Comment

<!-- This is a comment -->
Comments are visible only
in the edit zone.

Comments are visible only in the edit zone.

Completely preformatted text
<pre>

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

For marking up of preformatted text, check the "Preformatted text" entry at the end of the previous table.

Text is '''preformatted''' and
''markups'' '''''cannot''''' be done
Customized preformatted text
<pre style="color: red">

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


Text is '''preformatted'''
with a style and
''markups'' '''''cannot''''' be done

continued:

Description You type You get
Default preformatted text has a CSS attribute (white-space: pre-wrap;) to wrap the text according to available width
<pre>
 This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.
</pre>
 This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.
Customized preformatted text with disabled text wrapping
<pre style="white-space: pre;">
 This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.
</pre>
 This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.

Inserting symbols

Symbols and other special characters not available on your keyboard can be inserted in a multitude of ways. Many Operating Systems and browsers allow you to insert special characters through a menu option or Operating System panel.


As a last resort, you can use a special sequence of characters. Those sequences are called HTML entities. For example, the following sequence (entity) &rarr; when inserted will be shown as right arrow HTML symbol → and &mdash; when inserted will be shown as an em dash HTML symbol —.


Hover over any character to find out the symbol that it produces. Some symbols not available in the current font will appear as empty squares.
HTML symbol entities
Á á Â â ´ Æ æ À à Α α & Å å Ã ã Ä ä Β β ¦ Ç ç ¸ ¢
Χ χ ˆ © ¤ ° Δ δ ÷ É é Ê ê È è Ε ε Η η
Ð ð Ë ë ƒ ½ ¼ ¾ Γ γ > Í í Î î ¡ Ì ì Ι ι
¿ Ï ï Κ κ Λ λ « < ¯ µ · Μ μ  
¬ Ñ ñ Ν ν Ó ó Ô ô Œ œ Ò ò Ω ω Ο ο ª º Ø ø Õ õ Ö
ö Φ φ Π π ϖ ± £ Ψ ψ " » ® Ρ ρ
Š š § ­ Σ σ ς ¹ ² ³ ß Τ τ Θ θ ϑ Þ þ ˜
× Ú ú Û û Ù ù ¨ ϒ Υ υ Ü ü Ξ ξ Ý ý ¥ ÿ Ÿ Ζ ζ
Description You type You get
Copyright symbol &copy;
©
Greek delta letter symbol &delta;
δ
Euro currency symbol &euro;

HTML tags and symbol entities displayed themselves (with and without interpreting them)

&amp;euro;  → &euro;
<span style="color: red; text-decoration: line-through;"> Typo to be corrected</span>  → Typo to be corrected
&lt;span style="color: red; text-decoration: line-through;">Typo to be corrected</span>  → <span style="color: red; text-decoration: line-through;"> Typo to be corrected</span>

Nowiki for HTML

<nowiki /> can prohibit (HTML) tags:

  • <<nowiki />pre>  → <pre>
But not & symbol escapes:
  • &<nowiki />amp;  → &

To print & symbol escapes as text, use "&amp;" to replace the "&" character (eg. type "&amp;nbsp;", which results in "&nbsp;")

Code Formatting

Description You type You get
Code block (no highlighting)
Lorem ipsum ...
<code style="display: block">player setPosASL [0, 0, 0];
player setDamage 0;</code>
... dolor sit amet.
Lorem ipsum ...player setPosASL [0, 0, 0]; player setDamage 0;... dolor sit amet.
Code inline-block (no highlighting)
Lorem ipsum ... <code style="display: inline-block">player setPosASL [0, 0, 0];
player setDamage 0;</code> ... dolor sit amet.
Lorem ipsum ... player setPosASL [0, 0, 0]; player setDamage 0; ... dolor sit amet.


Single-line code comment (should only be used inside <code style="display: block"> tags)
<code style="display: block">[[player]] [[setPosASL]] [0, 0, 0]; {{cc|Teleports the player}}</code>
player setPosASL [0, 0, 0]; // Teleports the player
Config code block (uses C++ highlighting)
<syntaxhighlight lang="cpp">
class ExampleClass
{
	value1 = 1; // Lorem ipsum dolor sit amet.
	value2 = "value2";
};
</syntaxhighlight>
class ExampleClass
{
	value1 = 1; // Lorem ipsum dolor sit amet.
	value2 = "value2";
};
SQS code block
<sqs>
#Label1
hint "repeating"
goto "Label1"
</sqs>
#Label1 hint "repeating" goto "Label1"
Inline SQS code
Lorem ipsum <sqs inline>[player, _jeep] exec "getin.sqs"</sqs> dolor sit amet.
Lorem ipsum [player, _jeep] exec "getin.sqs" dolor sit amet.
SQF code block
<sqf>
private _pos = [0, 0, 0];
player setPosASL _pos;
player setDamage 0; // Heals the player
</sqf>
private _pos = [0, 0, 0]; player setPosASL _pos; player setDamage 0; // Heals the player
Inline SQF code
Lorem ipsum <sqf inline>player setPosASL [0, 0, 0]</sqf> dolor sit amet.
Lorem ipsum player setPosASL [0, 0, 0] dolor sit amet.
Enforce Script code block
<enforce>
string text = "Hello World!";
Print(text); // Prints "Hello World!".
</enforce>
string text = "Hello World!"; Print(text); // Prints "Hello World!".
Inline Enforce Script code (uses C# highlighting)
Lorem ipsum <syntaxhighlight lang="c#" inline>string text = "Hello World!"</syntaxhighlight> dolor sit amet.
Lorem ipsum string text = "Hello World!" dolor sit amet.

Notes:

  • To render an equals sign (=) or a pipe (|) within a template without breaking the page, use the equals template ({{=}}) and the pipe template ({{!}}) or wrap the symbols with <nowiki> tags. Example:
    • {{hl|_myNumber = 5;}} - This will not render properly.
    • {{hl|_myNumber {{=}} 5;}} - This renders properly.
  • Use the highlight template ({{hl}}) or <var> tags for inline variables (e.g. "The variable _myNumber has the value 5").
  • Use tabs for indentation, not spaces (tick the box Allow tabulations usage in the Editing Area if necessary).
  • Maintain spacing between symbols and items, for example:
    class ExampleClass
    {
    	stringValue="value";			// bad (no space around the equals sign)
    	stringValue = "value";			// good
    
    	arrayValue = {0,0.5,0,1};		// bad (no space between the numbers)
    	arrayValue = { 0, 0.5, 0, 1 };	// good
    };
    
At the root level of the page (i.e. not within templates and tables), text indented by one space renders the same way as text wrapped in <code style="display: block"> tags.

Lists

Do not leave blank lines between items in a list unless there is a reason to do so, since this causes the MediaWiki software to interpret each item as beginning a new list.

Unordered lists

Markup Renders as
* Item1
* Item2
* Item3
* Item4
** Sub-item 4 a)
*** Sub-item 4 a) 1.
**** Sub-item 4 a) 1. i)
**** Sub-item 4 a) 1. ii)
** Sub-item 4 b)
* Item5

  • Item1
  • Item2
  • Item3
  • Item4
    • Sub-item 4 a)
      • Sub-item 4 a) 1.
        • Sub-item 4 a) 1. i)
        • Sub-item 4 a) 1. ii)
    • Sub-item 4 b)
  • Item5

Unordered, multi column, list

Markup Renders as
<div style="columns: 3">
* {{arma3}}
* {{arma2}}
* {{arma1}}
* {{ofp}}
</div>

  • Arma 3
  • Arma 2
  • Armed Assault
  • Operation Flashpoint

Ordered lists

Markup Renders as
# Item1
# Item2
# Item3
# Item4
## Sub-item 1
### Sub-sub-item
#### Sub-sub-sub-item
## Sub-item 2
# Item5

  1. Item1
  2. Item2
  3. Item3
  4. Item4
    1. Sub-item 1
      1. Sub-sub-item
        1. Sub-sub-sub-item
    2. Sub-item 2
  5. Item5

Description lists

To list terms and definitions, start a new line with a semicolon (;) followed by the term. Then, type a colon (:) followed by a definition. The format can also be used for other purposes, such as make and models of vehicles, etc.

Description lists (formerly definition lists, and a.k.a. association lists) consist of group names corresponding to values. Group names (terms) are in bold. Values (definitions) are indented. Each group must include one or more definitions. For a single or first value, the : can be placed on the same line after ; – but subsequent values must be placed on separate lines.

Do not use a semicolon (;) simply to bold a line without defining a value using a colon (:). This usage renders invalid HTML5 and creates issues with screen readers.

Markup Renders as
; Term : Definition1

Term 
Definition1
; Term
: Definition1
: Definition2
: Definition3
: Definition4

Term
Definition1
Definition2
Definition3
Definition4

HTML equivalent: <dl>, <dt> <dd>, <dl>


Links

Internal Links

In most wikis, internal links are used in wikitext markup instead of regular urls to simplify linking and reading

Description You type You get
Internal link
Arma is made by [[Bohemia Interactive]].
Arma is made by Bohemia Interactive.
Renamed link
Ylands is also made by [[Bohemia Interactive|BI]].
Ylands is also made by BI.
Auto renamed links (pipe trick)
Auto renamed link (pipe trick)
[[:Category:Scripting Commands|]]
Scripting Commands
Automatically hide stuff in parentheses
[[raP (ArmA)|]]
raP
Automatically hide the comma and following text
[[Seattle, Washington|]]
Seattle
Automatically hide namespace
[[Wikipedia:Village pump|]]
Village pump
Or both
[[Wikipedia:Manual of Style (headings)|]]
Manual of Style
Does not work for section links
[[Wikipedia:Manual of Style#Links|]]
[[Wikipedia:Manual of Style#Links|]]

Link to a section of a page

You can add the specific section you want to link by adding the seciton title to the link after a # (hash).

Description You type You get
Link to a section within another page
[[Wikipedia:Manual of Style#Italics]]
Wikipedia:Manual of Style#Italics
Piped link to a section within another page.
[[Wikipedia:Manual of Style#Italics|Italics]]
Italics.

Blended links

Description You type You get
Blending active
San Francisco also has [[public transport]]ation. Examples include [[bus]]es, [[taxicab]]s, and [[tram]]s.
San Francisco also has public transportation. Examples include buses, taxicabs, and trams.
Blending supressed
A [[micro-]]<nowiki />second.
A micro-second.

Redirects

Redirects are used to redirect specific pages to another page.

Description You type
Redirect to an article #REDIRECT [[United States]]
Redirect to a section #REDIRECT [[United States#History]]
Link to another namespace See the [[Wikipedia:Manual of Style]]. See the Wikipedia:Manual of Style.

Categories

Description You type You get
Add article to category [[Category:Character sets]]
Link to a category [[:Category:Character sets]] Category:Character sets
Without prefix. [[:Category:Character sets|]] Character sets

External links

External links link to external websites other than the Biki. These links are in url format.

Description You type You get
Named link with an external link icon [http://www.wikipedia.org Wikipedia] Wikipedia
Unnamed link

(Used only within article body for footnotes)

[http://www.wikipedia.org]

[1]

Bare URL

(Bad style)

use <nowiki></nowiki> to keep this bad style from showing

http://www.wikipedia.org

http://www.wikipedia.org

Link without arrow

(Not often used)

<span class="plainlinks">[http://www.wikipedia.org Wikipedia]</span>

Wikipedia

Images

Description You type You get
Simple image without description [[Image:Logo_A3_black.png]] or [File:Logo_A3_black.png]] Logo A3 black.png
Thumb image with description, defined size and aligned right. Size can by any number. Alignment can be (left, right and center) [[Image:Logo_A3_black.png|thumb|right|100px|Some description]]
Some description

Tables

There are multiple ways to make tables in wikitext. Recommended are:

Make sure the raw text is well formatted so it is easier to edit later.

Useful templates

Visit Category:Templates, to see a complete list of available templates.
Template You type You get
Template:Wiki
{{Wiki|delete|reason}}
🗙
This article has been submitted for deletion. The reason given was: reason.
{{Wiki|merge}}

This article has been proposed to merge with Main Page.
{{Wiki|stub}}
{{Wiki|WIP}}
🏗
This article is a work in progress!
Template:Feature
See {{Feature}} for all the available types.
{{Feature|arma3|text}}
Arma 3
text
{{Feature|informative|text}}
text
{{Feature|important|important text}}
text
{{Feature|warning|text}}
text
{{Feature|obsolete}}
🕖
The following information is obsolete.
{{Feature|quote|Gastovski, out!|James Gastovski
|https://www.youtube.com/watch?v{{=}}TGKFY1QiIGA}}
«
« Gastovski, out! » – James Gastovski (source)
Template:GVI
{{GVI|arma3|version}}
Arma 3 logo black.png1.96
Template:cn
{{cn}}
{{cn|Miller is a nice guy}}
[citation needed]

Miller is a nice guy [citation needed]

Template:Icon
{{Icon|serverExec|32}}
{{Icon|globalArgument|32}}
{{Icon|localArgument|32}}
{{Icon|globalEffect|32}}
{{Icon|localEffect|32}}

SEServer GAGlobal LALocal GEGlobal LELocal