|
|
(144 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| {{SideTOC}}
| |
| [[Category:Community Wiki]]
| |
|
| |
|
| <br clear="all">
| |
|
| |
| == Text formatting markup ==
| |
| [[File:BIKI Editor Help.PNG|thumb|The text editor comes with some basic text formatting tips|500px]]
| |
| {| class="wikitable"
| |
| ! Description
| |
| ! width="40%" | You type
| |
| ! width="40%" | You get
| |
| |-
| |
| ! colspan="3" style="background: #ABE" | Character (inline) formatting – ''applies anywhere''
| |
| |-
| |
| | Italic text
| |
| | <pre>
| |
| ''italic''
| |
| </pre>
| |
| |
| |
| ''italic''
| |
| |-
| |
| | Bold text
| |
| | <pre>
| |
| '''bold'''
| |
| </pre>
| |
| |
| |
| '''bold'''
| |
| |-
| |
| | Bold and italic
| |
| | <pre>
| |
| '''''bold & italic'''''
| |
| </pre>
| |
| |
| |
| '''''bold & italic'''''
| |
| |-
| |
| | Colored text
| |
| | <pre>
| |
| <span style="color: red;">Colour</span>
| |
| </pre>
| |
| |
| |
| <span style="color: red;">Colour</span>
| |
| |-
| |
| | Spoiler
| |
| | <pre>
| |
| <spoiler text="Click me!">spoiler</spoiler>
| |
| </pre>
| |
| |
| |
| <spoiler text="Click me!">spoiler</spoiler>
| |
| |-
| |
| | Escape wiki markup
| |
| | <pre>
| |
| <nowiki> no ''markup''</nowiki>
| |
| </pre>
| |
| |
| |
| <nowiki>no ''markup''</nowiki>
| |
| |-
| |
| |Small chunks of source code within a line of normal text.
| |
| Code is displayed in a monospace font.
| |
| |<pre>
| |
| function <code>int m2()</code> is nice.
| |
| </pre>
| |
| |function <code>int m2()</code> is nice.
| |
| |-
| |
| |Small text
| |
| |<pre>
| |
| Text can be made <small>smaller like this</small>
| |
| </pre>
| |
| |Text can be made <small>smaller like this</small>
| |
| |-
| |
| |Big text
| |
| |<pre>
| |
| Text can be made <big>bigger like this</big>
| |
| </pre>
| |
| |Text can be made <big>bigger like this</big>
| |
| |-
| |
| ! colspan="3" style="background: #ABE" | Section formatting – ''only at the beginning of the line''
| |
| |-
| |
| | Section Headings of different levels
| |
| | <pre>
| |
| == Level 2 ==
| |
|
| |
| === Level 3 ===
| |
|
| |
| ==== Level 4 ====
| |
|
| |
| ===== Level 5 =====
| |
|
| |
| ====== Level 6 ======
| |
| </pre>
| |
| ----
| |
| {{note|
| |
| * Do not put any text on the same line after the ending equal signs.
| |
| * An article with 4 or more headings automatically creates a '''T'''able '''o'''f '''C'''ontents (ToC) - unless setting the magic word <tt><nowiki>__NOTOC__</nowiki></tt>.
| |
| * You can use a right-side ToC with the [[Template:SideTOC|{{<nowiki/>SideTOC}} 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.
| |
| }}
| |
| |
| |
| <!-- using HTML markup to avoid creating new sections -->
| |
| <span style="font-family:Georgia;font-size:18pt">Level 2</span>
| |
| ----
| |
|
| |
|
| |
| <span style="font-family:arial;font-size:12pt">'''Level 3'''</span>
| |
| ----
| |
|
| |
| <span style="font-family:arial;font-size:11pt">'''Level 4'''</span>
| |
| ----
| |
|
| |
| <span style="font-family:arial;font-size:11pt">'''Level 5'''</span>
| |
| ----
| |
|
| |
| <span style="font-family:arial;font-size:11pt">'''Level 6'''</span>
| |
| ----
| |
| |-
| |
| | Horizontal rule
| |
| | <pre>
| |
| Text before
| |
| ----
| |
| Text after
| |
| </pre>
| |
| |
| |
| Text before
| |
| ----
| |
| Text after
| |
| |-
| |
| |Line Breaks
| |
| |<pre>
| |
| 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.
| |
| </pre>
| |
| |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.
| |
| |-
| |
| | Bullet list
| |
| |
| |
| <pre>
| |
| * 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.
| |
|
| |
|
| |
| * 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
| |
|
| |
| </pre>
| |
| |
| |
|
| |
| * 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.
| |
|
| |
|
| |
| * 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
| |
|
| |
| |-
| |
| | Numbered list
| |
| |
| |
| <pre>
| |
| # 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
| |
|
| |
|
| |
| # end the list and start another.
| |
| Any other start also
| |
| ends the list.
| |
| </pre>
| |
| |
| |
|
| |
| # 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
| |
|
| |
|
| |
| # end the list and start another.
| |
| Any other start also
| |
| ends the list.
| |
|
| |
| |-
| |
| | Definition list
| |
| | <pre>
| |
| ;item 1
| |
| : definition 1
| |
| ;item 2
| |
| : definition 2-1
| |
| : definition 2-2
| |
| </pre>
| |
| |
| |
|
| |
| ;item 1
| |
| : definition 1
| |
| ;item 2
| |
| : definition 2-1
| |
| : definition 2-2
| |
|
| |
| |-
| |
| | Indent text
| |
| | <pre>
| |
| : Single indent
| |
| :: Double indent
| |
| ::::: Multiple indent
| |
| </pre>
| |
| ----
| |
| {{note|This workaround may harm accessibility.}}
| |
| |
| |
|
| |
| : Single indent
| |
| :: Double indent
| |
| ::::: Multiple indent
| |
|
| |
| |-
| |
| | Mixture of different types of list
| |
| |
| |
| <pre>
| |
| # 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
| |
| </pre>
| |
| ----
| |
| {{note|The usage of <code>#:</code> and <code>*:</code> for breaking a line within an item may also harm accessibility.}}
| |
| |
| |
|
| |
| # 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
| |
|
| |
| |-
| |
| | Preformatted text
| |
| | <pre>
| |
| Start each line with a space.
| |
| Text is '''preformatted''' and
| |
| ''markups'' '''''can''''' be done.
| |
| </pre>
| |
| ----
| |
| {{note|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
| |
| | <pre> <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>
| |
| </pre>
| |
| |
| |
| {{#tag: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
| |
| }}
| |
| |}
| |
|
| |
| == Paragraphs ==
| |
|
| |
| MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tag {{Inline code|<br>}}.
| |
|
| |
|
| |
| == HTML tags ==
| |
|
| |
| Some HTML tags are allowed in MediaWiki, for example <code><code></code>, <code><div></code>, and <code><nowiki><span></nowiki></code>. These apply anywhere you insert them.
| |
|
| |
| {| class="wikitable"
| |
| ! Description
| |
| ! width="40%" | You type
| |
| ! width="40%" | You get
| |
| |-
| |
| | Inserted <br />(Displays as underline in most browsers)
| |
| | <pre>
| |
| <ins> Inserted</ins>
| |
|
| |
| or
| |
|
| |
| <u> Underline</u>
| |
| </pre>
| |
| |
| |
| <ins> Inserted</ins>
| |
|
| |
| or
| |
|
| |
| <u> Underline</u>
| |
| |-
| |
| | Deleted <br />(Displays as strikethrough in most browsers)
| |
| | <pre>
| |
| <s> Struck out</s>
| |
|
| |
| or
| |
|
| |
| <del> Deleted</del>
| |
|
| |
| </pre>
| |
| |
| |
| <s> Struck out</s>
| |
|
| |
| or
| |
|
| |
| <del> Deleted</del>
| |
| |-
| |
| | Fixed width text
| |
| | <pre>
| |
| <code> Source code</code>
| |
|
| |
| or
| |
|
| |
| <code> Fixed width text</code>
| |
| </pre>
| |
| |
| |
| <code> Source code</code>
| |
|
| |
| or
| |
|
| |
| <code> Fixed width text</code>
| |
| |-
| |
| | Blockquotes
| |
| | <pre>
| |
| Text before
| |
| <blockquote> Blockquote</blockquote>
| |
| Text after
| |
| </pre>
| |
| |
| |
| Text before
| |
| <blockquote> Blockquote</blockquote>
| |
| Text after
| |
| |-
| |
| | Quotes
| |
| | <pre><q> This is a quotation</q></pre>
| |
| {{note|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.<ref>[https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-q-element HTML Living Standard—The <'''q'''> element]</ref>}}
| |
| | <q> This is a quotation</q>
| |
| |-
| |
| | Comment
| |
| | <pre>
| |
|
| |
| <!-- This is a comment -->
| |
| Comments are visible only
| |
| in the edit zone.
| |
| </pre>
| |
| |
| |
| <!-- This is a comment -->Comments are visible only
| |
| in the edit zone.
| |
|
| |
| |-
| |
| | Completely preformatted text
| |
| | <pre>
| |
| <pre>
| |
|
| |
| Text is '''preformatted''' and
| |
| ''markups'' '''''cannot''''' be done</pre>
| |
| </pre>
| |
| ----
| |
| {{note|For marking up of preformatted text, check the "Preformatted text" entry at the end of the previous table.}}
| |
| |
| |
| <pre>
| |
|
| |
| Text is '''preformatted''' and
| |
| ''markups'' '''''cannot''''' be done
| |
| </pre>
| |
| |-
| |
| | '''Customized''' preformatted text
| |
| | <pre>
| |
| <pre style="color: red">
| |
|
| |
| Text is '''preformatted'''
| |
| with a style and
| |
| ''markups'' '''''cannot''''' be done
| |
| </pre>
| |
| </pre>
| |
| ----
| |
| {{note|A CSS style can be named within the <code>style</code> attribute.}}
| |
| |
| |
| <pre style="color: red">
| |
|
| |
| Text is '''preformatted'''
| |
| with a style and
| |
| ''markups'' '''''cannot''''' be done
| |
| </pre>
| |
| |}
| |
|
| |
| continued:
| |
| {| class="wikitable" style="table-layout: fixed; width: 100%" |
| |
| ! Description
| |
| ! width="40%" | You type
| |
| ! 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
| |
| | <pre>
| |
| <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>
| |
| </pre>
| |
| |
| |
| <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>
| |
| |-
| |
| | '''Customized''' preformatted text with '''disabled''' text wrapping
| |
| | <pre>
| |
| <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>
| |
| </pre>
| |
| |
| |
| <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>
| |
| |}
| |
|
| |
|
| |
| == Inserting symbols ==
| |
|
| |
| Symbols and other special characters not available on your keyboard can be inserted in a multitude of ways.
| |
| Many [http://www.howtogeek.com/210824/how-to-quickly-type-special-characters-on-any-computer-smartphone-or-tablet/ 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 <ins>right arrow</ins> HTML symbol → and '''&mdash;''' when inserted will be shown as an <ins>em dash</ins> HTML symbol —.
| |
| ----
| |
| {{note|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.}}
| |
|
| |
| {| class="wikitable" width="100%" align="center"
| |
| ! colspan="32" | HTML symbol entities
| |
| |- align="center"
| |
| | '''<span title="&Aacute;">Á</span>'''
| |
| | '''<span title="&aacute;">á</span>'''
| |
| | '''<span title="&Acirc;">Â</span>'''
| |
| | '''<span title="&acirc;">â</span>'''
| |
| | '''<span title="&acute;">´</span>'''
| |
| | '''<span title="&AElig;">Æ</span>'''
| |
| | '''<span title="&aelig;">æ</span>'''
| |
| | '''<span title="&Agrave;">À</span>'''
| |
| | '''<span title="&agrave;">à</span>'''
| |
| | '''<span title="&alefsym;">ℵ</span>'''
| |
| | '''<span title="&Alpha;">Α</span>'''
| |
| | '''<span title="&alpha;">α</span>'''
| |
| | '''<span title="&amp;">&</span>'''
| |
| | '''<span title="&and;">∧</span>'''
| |
| | '''<span title="&ang;">∠</span>'''
| |
| | '''<span title="&Aring;">Å</span>'''
| |
| | '''<span title="&aring;">å</span>'''
| |
| | '''<span title="&asymp;">≈</span>'''
| |
| | '''<span title="&Atilde;">Ã</span>'''
| |
| | '''<span title="&atilde;">ã</span>'''
| |
| | '''<span title="&Auml;">Ä</span>'''
| |
| | '''<span title="&auml;">ä</span>'''
| |
| | '''<span title="&bdquo;">„</span>'''
| |
| | '''<span title="&Beta;">Β</span>'''
| |
| | '''<span title="&beta;">β</span>'''
| |
| | '''<span title="&brvbar;">¦</span>'''
| |
| | '''<span title="&bull;">•</span>'''
| |
| | '''<span title="&cap;">∩</span>'''
| |
| | '''<span title="&Ccedil;">Ç</span>'''
| |
| | '''<span title="&ccedil;">ç</span>'''
| |
| | '''<span title="&cedil;">¸</span>'''
| |
| | '''<span title="&cent;">¢</span>'''
| |
| |- align="center"
| |
| | '''<span title="&Chi;">Χ</span>'''
| |
| | '''<span title="&chi;">χ</span>'''
| |
| | '''<span title="&circ;">ˆ</span>'''
| |
| | '''<span title="&clubs;">♣</span>'''
| |
| | '''<span title="&cong;">≅</span>'''
| |
| | '''<span title="&copy;">©</span>'''
| |
| | '''<span title="&crarr;">↵</span>'''
| |
| | '''<span title="&cup;">∪</span>'''
| |
| | '''<span title="&curren;">¤</span>'''
| |
| | '''<span title="&dagger;">†</span>'''
| |
| | '''<span title="&Dagger;">‡</span>'''
| |
| | '''<span title="&darr;">↓</span>'''
| |
| | '''<span title="&dArr;">⇓</span>'''
| |
| | '''<span title="&deg;">°</span>'''
| |
| | '''<span title="&Delta;">Δ</span>'''
| |
| | '''<span title="&delta;">δ</span>'''
| |
| | '''<span title="&diams;">♦</span>'''
| |
| | '''<span title="&divide;">÷</span>'''
| |
| | '''<span title="&Eacute;">É</span>'''
| |
| | '''<span title="&eacute;">é</span>'''
| |
| | '''<span title="&Ecirc;">Ê</span>'''
| |
| | '''<span title="&ecirc;">ê</span>'''
| |
| | '''<span title="&Egrave;">È</span>'''
| |
| | '''<span title="&egrave;">è</span>'''
| |
| | '''<span title="&empty;">∅</span>'''
| |
| | '''<span title="&emsp;"> </span>'''
| |
| | '''<span title="&ensp;"> </span>'''
| |
| | '''<span title="&Epsilon;">Ε</span>'''
| |
| | '''<span title="&epsilon;">ε</span>'''
| |
| | '''<span title="&equiv;">≡</span>'''
| |
| | '''<span title="&Eta;">Η</span>'''
| |
| | '''<span title="&eta;">η</span>'''
| |
| |- align="center"
| |
| | '''<span title="&ETH;">Ð</span>'''
| |
| | '''<span title="&eth;">ð</span>'''
| |
| | '''<span title="&Euml;">Ë</span>'''
| |
| | '''<span title="&euml;">ë</span>'''
| |
| | '''<span title="&euro;">€</span>'''
| |
| | '''<span title="&exist;">∃</span>'''
| |
| | '''<span title="&fnof;">ƒ</span>'''
| |
| | '''<span title="&forall;">∀</span>'''
| |
| | '''<span title="&frac12;">½</span>'''
| |
| | '''<span title="&frac14;">¼</span>'''
| |
| | '''<span title="&frac34;">¾</span>'''
| |
| | '''<span title="&frasl;">⁄</span>'''
| |
| | '''<span title="&Gamma;">Γ</span>'''
| |
| | '''<span title="&gamma;">γ</span>'''
| |
| | '''<span title="&ge;">≥</span>'''
| |
| | '''<span title="&gt;">></span>'''
| |
| | '''<span title="&harr;">↔</span>'''
| |
| | '''<span title="&hArr;">⇔</span>'''
| |
| | '''<span title="&hearts;">♥</span>'''
| |
| | '''<span title="&hellip;">…</span>'''
| |
| | '''<span title="&Iacute;">Í</span>'''
| |
| | '''<span title="&iacute;">í</span>'''
| |
| | '''<span title="&Icirc;">Î</span>'''
| |
| | '''<span title="&icirc;">î</span>'''
| |
| | '''<span title="&iexcl;">¡</span>'''
| |
| | '''<span title="&Igrave;">Ì</span>'''
| |
| | '''<span title="&igrave;">ì</span>'''
| |
| | '''<span title="&image;">ℑ</span>'''
| |
| | '''<span title="&infin;">∞</span>'''
| |
| | '''<span title="&int;">∫</span>'''
| |
| | '''<span title="&Iota;">Ι</span>'''
| |
| | '''<span title="&iota;">ι</span>'''
| |
| |- align="center"
| |
| | '''<span title="&iquest;">¿</span>'''
| |
| | '''<span title="&isin;">∈</span>'''
| |
| | '''<span title="&Iuml;">Ï</span>'''
| |
| | '''<span title="&iuml;">ï</span>'''
| |
| | '''<span title="&Kappa;">Κ</span>'''
| |
| | '''<span title="&kappa;">κ</span>'''
| |
| | '''<span title="&Lambda;">Λ</span>'''
| |
| | '''<span title="&lambda;">λ</span>'''
| |
| | '''<span title="&lang;">⟨</span>'''
| |
| | '''<span title="&laquo;">«</span>'''
| |
| | '''<span title="&larr;">←</span>'''
| |
| | '''<span title="&lArr;">⇐</span>'''
| |
| | '''<span title="&lceil;">⌈</span>'''
| |
| | '''<span title="&ldquo;">“</span>'''
| |
| | '''<span title="&le;">≤</span>'''
| |
| | '''<span title="&lfloor;">⌊</span>'''
| |
| | '''<span title="&lowast;">∗</span>'''
| |
| | '''<span title="&loz;">◊</span>'''
| |
| | '''<span title="&lrm;">‎</span>'''
| |
| | '''<span title="&lsaquo;">‹</span>'''
| |
| | '''<span title="&lsquo;">‘</span>'''
| |
| | '''<span title="&lt;"><</span>'''
| |
| | '''<span title="&macr;">¯</span>'''
| |
| | '''<span title="&mdash;">—</span>'''
| |
| | '''<span title="&micro;">µ</span>'''
| |
| | '''<span title="&middot;">·</span>'''
| |
| | '''<span title="&minus;">−</span>'''
| |
| | '''<span title="&Mu;">Μ</span>'''
| |
| | '''<span title="&mu;">μ</span>'''
| |
| | '''<span title="&nabla;">∇</span>'''
| |
| | '''<span title="&nbsp;"> </span>'''
| |
| | '''<span title="&ndash;">–</span>'''
| |
| |- align="center"
| |
| | '''<span title="&ne;">≠</span>'''
| |
| | '''<span title="&ni;">∋</span>'''
| |
| | '''<span title="&not;">¬</span>'''
| |
| | '''<span title="&notin;">∉</span>'''
| |
| | '''<span title="&nsub;">⊄</span>'''
| |
| | '''<span title="&Ntilde;">Ñ</span>'''
| |
| | '''<span title="&ntilde;">ñ</span>'''
| |
| | '''<span title="&Nu;">Ν</span>'''
| |
| | '''<span title="&nu;">ν</span>'''
| |
| | '''<span title="&Oacute;">Ó</span>'''
| |
| | '''<span title="&oacute;">ó</span>'''
| |
| | '''<span title="&Ocirc;">Ô</span>'''
| |
| | '''<span title="&ocirc;">ô</span>'''
| |
| | '''<span title="&OElig;">Œ</span>'''
| |
| | '''<span title="&oelig;">œ</span>'''
| |
| | '''<span title="&Ograve;">Ò</span>'''
| |
| | '''<span title="&ograve;">ò</span>'''
| |
| | '''<span title="&oline;">‾</span>'''
| |
| | '''<span title="&Omega;">Ω</span>'''
| |
| | '''<span title="&omega;">ω</span>'''
| |
| | '''<span title="&Omicron;">Ο</span>'''
| |
| | '''<span title="&omicron;">ο</span>'''
| |
| | '''<span title="&oplus;">⊕</span>'''
| |
| | '''<span title="&or;">∨</span>'''
| |
| | '''<span title="&ordf;">ª</span>'''
| |
| | '''<span title="&ordm;">º</span>'''
| |
| | '''<span title="&Oslash;">Ø</span>'''
| |
| | '''<span title="&oslash;">ø</span>'''
| |
| | '''<span title="&Otilde;">Õ</span>'''
| |
| | '''<span title="&otilde;">õ</span>'''
| |
| | '''<span title="&otimes;">⊗</span>'''
| |
| | '''<span title="&Ouml;">Ö</span>'''
| |
| |- align="center"
| |
| | '''<span title="&ouml;">ö</span>'''
| |
| | '''<span title="&para;">¶</span>'''
| |
| | '''<span title="&part;">∂</span>'''
| |
| | '''<span title="&permil;">‰</span>'''
| |
| | '''<span title="&perp;">⊥</span>'''
| |
| | '''<span title="&Phi;">Φ</span>'''
| |
| | '''<span title="&phi;">φ</span>'''
| |
| | '''<span title="&Pi;">Π</span>'''
| |
| | '''<span title="&pi;">π</span>'''
| |
| | '''<span title="&piv;">ϖ</span>'''
| |
| | '''<span title="&plusmn;">±</span>'''
| |
| | '''<span title="&pound;">£</span>'''
| |
| | '''<span title="&prime;">′</span>'''
| |
| | '''<span title="&Prime;">″</span>'''
| |
| | '''<span title="&prod;">∏</span>'''
| |
| | '''<span title="&prop;">∝</span>'''
| |
| | '''<span title="&Psi;">Ψ</span>'''
| |
| | '''<span title="&psi;">ψ</span>'''
| |
| | '''<span title="&quot;">"</span>'''
| |
| | '''<span title="&radic;">√</span>'''
| |
| | '''<span title="&rang;">⟩</span>'''
| |
| | '''<span title="&raquo;">»</span>'''
| |
| | '''<span title="&rarr;">→</span>'''
| |
| | '''<span title="&rArr;">⇒</span>'''
| |
| | '''<span title="&rceil;">⌉</span>'''
| |
| | '''<span title="&rdquo;">”</span>'''
| |
| | '''<span title="&real;">ℜ</span>'''
| |
| | '''<span title="&reg;">®</span>'''
| |
| | '''<span title="&rfloor;">⌋</span>'''
| |
| | '''<span title="&Rho;">Ρ</span>'''
| |
| | '''<span title="&rho;">ρ</span>'''
| |
| | '''<span title="&rlm;">‏</span>'''
| |
| |- align="center"
| |
| | '''<span title="&rsaquo;">›</span>'''
| |
| | '''<span title="&rsquo;">’</span>'''
| |
| | '''<span title="&sbquo;">‚</span>'''
| |
| | '''<span title="&Scaron;">Š</span>'''
| |
| | '''<span title="&scaron;">š</span>'''
| |
| | '''<span title="&sdot;">⋅</span>'''
| |
| | '''<span title="&sect;">§</span>'''
| |
| | '''<span title="&shy;">­</span>'''
| |
| | '''<span title="&Sigma;">Σ</span>'''
| |
| | '''<span title="&sigma;">σ</span>'''
| |
| | '''<span title="&sigmaf;">ς</span>'''
| |
| | '''<span title="&sim;">∼</span>'''
| |
| | '''<span title="&spades;">♠</span>'''
| |
| | '''<span title="&sub;">⊂</span>'''
| |
| | '''<span title="&sube;">⊆</span>'''
| |
| | '''<span title="&sum;">∑</span>'''
| |
| | '''<span title="&sup;">⊃</span>'''
| |
| | '''<span title="&sup1;">¹</span>'''
| |
| | '''<span title="&sup2;">²</span>'''
| |
| | '''<span title="&sup3;">³</span>'''
| |
| | '''<span title="&supe;">⊇</span>'''
| |
| | '''<span title="&szlig;">ß</span>'''
| |
| | '''<span title="&Tau;">Τ</span>'''
| |
| | '''<span title="&tau;">τ</span>'''
| |
| | '''<span title="&there4;">∴</span>'''
| |
| | '''<span title="&Theta;">Θ</span>'''
| |
| | '''<span title="&theta;">θ</span>'''
| |
| | '''<span title="&thetasym;">ϑ</span>'''
| |
| | '''<span title="&thinsp;"> </span>'''
| |
| | '''<span title="&THORN;">Þ</span>'''
| |
| | '''<span title="&thorn;">þ</span>'''
| |
| | '''<span title="&tilde;">˜</span>'''
| |
| |- align="center"
| |
| | '''<span title="&times;">×</span>'''
| |
| | '''<span title="&trade;">™</span>'''
| |
| | '''<span title="&Uacute;">Ú</span>'''
| |
| | '''<span title="&uacute;">ú</span>'''
| |
| | '''<span title="&uarr;">↑</span>'''
| |
| | '''<span title="&uArr;">⇑</span>'''
| |
| | '''<span title="&Ucirc;">Û</span>'''
| |
| | '''<span title="&ucirc;">û</span>'''
| |
| | '''<span title="&Ugrave;">Ù</span>'''
| |
| | '''<span title="&ugrave;">ù</span>'''
| |
| | '''<span title="&uml;">¨</span>'''
| |
| | '''<span title="&upsih;">ϒ</span>'''
| |
| | '''<span title="&Upsilon;">Υ</span>'''
| |
| | '''<span title="&upsilon;">υ</span>'''
| |
| | '''<span title="&Uuml;">Ü</span>'''
| |
| | '''<span title="&uuml;">ü</span>'''
| |
| | '''<span title="&weierp;">℘</span>'''
| |
| | '''<span title="&Xi;">Ξ</span>'''
| |
| | '''<span title="&xi;">ξ</span>'''
| |
| | '''<span title="&Yacute;">Ý</span>'''
| |
| | '''<span title="&yacute;">ý</span>'''
| |
| | '''<span title="&yen;">¥</span>'''
| |
| | '''<span title="&yuml;">ÿ</span>'''
| |
| | '''<span title="&Yuml;">Ÿ</span>'''
| |
| | '''<span title="&Zeta;">Ζ</span>'''
| |
| | '''<span title="&zeta;">ζ</span>'''
| |
| | '''<span title="&zwj;">‍</span>'''
| |
| | '''<span title="&zwnj;">‌</span>'''
| |
| |}
| |
|
| |
| {| class="wikitable"
| |
| ! Description
| |
| ! width="40%" | You type
| |
| ! width="40%" | You get
| |
| |-
| |
| | Copyright symbol
| |
| | class="mw-code" | &copy;
| |
| |
| |
| :::'''©'''
| |
| |-
| |
| | Greek delta letter symbol
| |
| | class="mw-code" |&delta;
| |
| |
| |
| :::'''δ'''
| |
| |-
| |
| | Euro currency symbol
| |
| | class="mw-code" |&euro;
| |
| |
| |
| :::'''€'''
| |
| |}
| |
|
| |
| == HTML tags and symbol entities displayed themselves (with and without interpreting them) ==
| |
|
| |
| :<code>&amp;euro;</code> → '''&euro;'''
| |
|
| |
| :<code><span style="color: red; text-decoration: line-through;"> Typo to be corrected</span></code> → '''<span style="color: red; text-decoration: line-through;"> Typo to be corrected</span>'''
| |
|
| |
| :<code> <nowiki>&lt;span style="color: red; text-decoration: line-through;">Typo to be corrected</span></nowiki></code> → '''<span style="color: red; text-decoration: line-through;"> Typo to be corrected</span>'''
| |
|
| |
| === Nowiki for HTML ===
| |
|
| |
| <<nowiki/>nowiki /> can prohibit (HTML) tags:
| |
| * <nowiki><<</nowiki>nowiki />pre> → <<nowiki/>pre>
| |
| But ''not'' & symbol escapes:
| |
| * &<<nowiki/>nowiki />amp; → &
| |
|
| |
| To print & symbol escapes as text, use "<code>&amp;</code>" to replace the "&" character (eg. type "<code>&amp;nbsp;</code>", which results in "<code>&nbsp;</code>")
| |
|
| |
| == Code Formatting ==
| |
|
| |
| * Use <tt>syntaxhighlight</tt> with option "cpp" to highlight Config (see example below)
| |
| * Use '''tab alignment''' in Config - '''not''' spaces
| |
| * Keep some space in Config, e.g: <syntaxhighlight lang="cpp">
| |
| class exampleClass
| |
| {
| |
| stringValue="value"; // bad
| |
| stringValue = "value"; // good
| |
|
| |
| arrayValue = {0,0.5,0,1}; // bad
| |
| arrayValue = { 0, 0.5, 0, 1 }; // good
| |
| };
| |
| </syntaxhighlight>
| |
| ** Before and after <tt>=</tt>
| |
| ** In Array definitions
| |
| ** Try to align a batch of comments together ('''with tabs''')
| |
|
| |
| {{Informative | If you have to put an equal sign (<tt>{{=}}</tt>) inside a template (<tt>{{ }}</tt>), use the [[Template:=|equal template]]: <tt><nowiki>{{=}}</nowiki></tt>.}}
| |
|
| |
| {| class="wikitable" width = "100%"
| |
| |-
| |
| ! Description !! You type !! You get
| |
| |-
| |
| | Inline Code || <pre>{{Inline code|Inline code}}</pre> || {{Inline code|Inline code}}
| |
| |-
| |
| | Code || <pre><code>Code</code></pre> || <code>Code</code>
| |
| |-
| |
| | One-line Code Comment || <pre>{{cc|Code comment}}</pre> || {{cc|Code comment}}
| |
| |-
| |
| | Code Comment || <pre>{{codecomment|Code comment}}</pre> || {{codecomment|Code comment}}
| |
| |-
| |
| | Syntaxhighlight<br>"cpp" = C++ highlight || <pre><syntaxhighlight lang="cpp">
| |
| class exampleClass
| |
| {
| |
| value1 = 1;
| |
| value2 = "value2";
| |
| };
| |
| </syntaxhighlight></pre>
| |
| | <syntaxhighlight lang="cpp">
| |
| class exampleClass
| |
| {
| |
| value1 = 1;
| |
| value2 = "value2";
| |
| };
| |
| </syntaxhighlight>
| |
| |}
| |
|
| |
| == 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 ===
| |
|
| |
| <table style="table-layout:fixed; width:100%; margin-top:0;margin-left:0; border-width:medium; padding:0;"><tr>
| |
| <th scope="col" style="width:50%;">Markup</th>
| |
| <th scope="col" style="width:50%;">Renders as
| |
| </th></tr>
| |
| <tr>
| |
| <td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid none none solid;border-color:#ddd; padding:9px 5px 5px; vertical-align:top;"><pre style="margin:0;border:none;padding:0; word-wrap:break-word; white-space:-moz-pre-wrap;white-space:-o-pre-wrap;white-space:-pre-wrap;white-space:pre-wrap;">* 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</pre>
| |
| </td>
| |
| <td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid solid none solid;border-color:#ddd; padding:5px; vertical-align:top;"><div style="">
| |
| <p></p>
| |
| <ul><li>Item1</li>
| |
| <li>Item2</li>
| |
| <li>Item3</li>
| |
| <li>Item4
| |
| <ul><li>Sub-item 4 a)
| |
| <ul><li>Sub-item 4 a) 1.
| |
| <ul><li>Sub-item 4 a) 1. i)</li>
| |
| <li>Sub-item 4 a) 1. ii)</li></ul></li></ul></li>
| |
| <li>Sub-item 4 b)</li></ul></li>
| |
| <li>Item5</li></ul>
| |
| </div>
| |
| </td></tr>
| |
| <tr>
| |
| <td style="width:50%; border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:top;"></td>
| |
| <td style="width:50%; border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:top;"></td></tr></table>
| |
|
| |
| ==== Unordered, multi column, list ====
| |
|
| |
| <table style="table-layout:fixed; width:100%; margin-top:0;margin-left:0; border-width:medium; padding:0;"><tr>
| |
| <th scope="col" style="width:50%;">Markup</th>
| |
| <th scope="col" style="width:50%;">Renders as
| |
| </th></tr>
| |
| <tr>
| |
| <td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid none none solid;border-color:#ddd; padding:9px 5px 5px; vertical-align:top;"><pre style="margin:0;border:none;padding:0; word-wrap:break-word; white-space:-moz-pre-wrap;white-space:-o-pre-wrap;white-space:-pre-wrap;white-space:pre-wrap;">
| |
| <div style="columns: 3">
| |
| * {{arma3}}
| |
| * {{arma2}}
| |
| * {{arma}}
| |
| * {{ofp}}
| |
| </div></pre>
| |
| </td>
| |
| <td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid solid none solid;border-color:#ddd; padding:5px; vertical-align:top;"><div style="">
| |
| <p></p>
| |
| <div style="columns: 3">
| |
| * {{arma3}}
| |
| * {{arma2}}
| |
| * {{arma}}
| |
| * {{ofp}}
| |
| </div>
| |
| </td></tr>
| |
| <tr>
| |
| <td style="width:50%; border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:top;"></td>
| |
| <td style="width:50%; border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:top;"></td></tr></table>
| |
|
| |
| === Ordered lists ===
| |
|
| |
| <table style="table-layout:fixed; width:100%; margin-top:0;margin-left:0; border-width:medium; padding:0;"><tr>
| |
| <th scope="col" style="width:50%;">Markup</th>
| |
| <th scope="col" style="width:50%;">Renders as
| |
| </th></tr>
| |
| <tr>
| |
| <td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid none none solid;border-color:#ddd; padding:9px 5px 5px; vertical-align:top;"><pre style="margin:0;border:none;padding:0; word-wrap:break-word; white-space:-moz-pre-wrap;white-space:-o-pre-wrap;white-space:-pre-wrap;white-space:pre-wrap;"># Item1
| |
| # Item2
| |
| # Item3
| |
| # Item4
| |
| ## Sub-item 1
| |
| ### Sub-sub-item
| |
| #### Sub-sub-sub-item
| |
| ## Sub-item 2
| |
| # Item5
| |
| </pre>
| |
| </td>
| |
| <td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid solid none solid;border-color:#ddd; padding:5px; vertical-align:top;"><div style="">
| |
| <p></p>
| |
| <ol><li>Item1</li>
| |
| <li>Item2</li>
| |
| <li>Item3</li>
| |
| <li>Item4
| |
| <ol><li>Sub-item 1
| |
| <ol><li>Sub-sub-item
| |
| <ol><li>Sub-sub-sub-item</li></ol></li></ol></li>
| |
| <li>Sub-item 2</li></ol></li>
| |
| <li>Item5</li></ol>
| |
| </div>
| |
| </td></tr>
| |
| <tr>
| |
| <td style="width:50%; border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:top;"></td>
| |
| <td style="width:50%; border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:top;"></td></tr></table>
| |
|
| |
| === 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''<!--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.
| |
|
| |
| '''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.'''
| |
|
| |
| <table style="table-layout:fixed; width:100%; margin-top:0;margin-left:0; border-width:medium; padding:0;"><tr>
| |
| <th scope="col" style="width:50%;">Markup</th>
| |
| <th scope="col" style="width:50%;">Renders as
| |
| </th></tr>
| |
| <tr>
| |
| <td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid none none solid;border-color:#ddd; padding:9px 5px 5px; vertical-align:top;"><pre style="margin:0;border:none;padding:0; word-wrap:break-word; white-space:-moz-pre-wrap;white-space:-o-pre-wrap;white-space:-pre-wrap;white-space:pre-wrap;">; Term : Definition1</pre>
| |
| </td>
| |
| <td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid solid none solid;border-color:#ddd; padding:5px; vertical-align:top;"><div style="">
| |
| <p></p>
| |
| <dl><dt>Term </dt>
| |
| <dd>Definition1</dd></dl>
| |
| </div>
| |
| </td></tr>
| |
| <tr>
| |
| <td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid none none solid;border-color:#ddd; padding:9px 5px 5px; vertical-align:top;"><pre style="margin:0;border:none;padding:0; word-wrap:break-word; white-space:-moz-pre-wrap;white-space:-o-pre-wrap;white-space:-pre-wrap;white-space:pre-wrap;">; Term
| |
| : Definition1
| |
| : Definition2
| |
| : Definition3
| |
| : Definition4</pre>
| |
| </td>
| |
| <td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid solid none solid;border-color:#ddd; padding:5px; vertical-align:top;"><div style="">
| |
| <p></p>
| |
| <dl><dt>Term</dt>
| |
| <dd>Definition1</dd>
| |
| <dd>Definition2</dd>
| |
| <dd>Definition3</dd>
| |
| <dd>Definition4</dd></dl>
| |
| </div>
| |
| </td></tr>
| |
| <tr>
| |
| <td style="width:50%; border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:top;"></td>
| |
| <td style="width:50%; border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:top;"></td></tr></table>
| |
|
| |
| HTML equivalent: <nowiki><dl>, <dt> <dd>, <dl></nowiki>
| |
|
| |
|
| |
| == Links ==
| |
|
| |
| === Internal Links ===
| |
|
| |
| In most wikis, internal links are used in wikitext markup instead of regular urls to simplify linking and reading
| |
|
| |
| {| class="wikitable"
| |
| ! Description
| |
| ! width="40%" | You type
| |
| ! width="40%" | You get
| |
| |-
| |
| | Internal link
| |
| | <pre>Arma is made by [[Bohemia Interactive]].</pre>
| |
| | Arma is made by [[Bohemia Interactive]].
| |
| |-
| |
| | Renamed link
| |
| | <pre>Ylands is also made by [[Bohemia Interactive|BI]].</pre>
| |
| | Ylands is also made by [[Bohemia Interactive|BI]].
| |
| |-
| |
| ! colspan="3" | Auto renamed links (pipe trick)
| |
| |-
| |
| | Auto renamed link (pipe trick)
| |
| | <pre>[[createTrigger (VBS1)|]]</pre>
| |
| | [[createTrigger (VBS1)|createTrigger]]
| |
| |-
| |
| | Automatically hide stuff in parentheses
| |
| | <pre>[[createTrigger (VBS1)|]]</pre>
| |
| | [[createTrigger (VBS1)|createTrigger]]
| |
| |-
| |
| | Automatically hide the comma and following text
| |
| | <pre>[[Seattle, Washington|]]</pre>
| |
| | [[Seattle, Washington|Seattle]]
| |
| |-
| |
| | Automatically hide namespace
| |
| | <pre>[[Wikipedia:Village pump|]]</pre>
| |
| | [[Wikipedia:Village pump|Village pump]]
| |
| |-
| |
| | Or both
| |
| | <pre>[[Wikipedia:Manual of Style (headings)|]]</pre>
| |
| | [[Wikipedia:Manual of Style (headings)|Manual of Style]]
| |
| |-
| |
| | Does not work for section links
| |
| | <pre>[[Wikipedia:Manual of Style#Links|]]</pre>
| |
| |<nowiki> [[Wikipedia:Manual of Style#Links|]]</nowiki>
| |
| |-
| |
| |}
| |
|
| |
| ==== 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).
| |
| {| class="wikitable" width = "100%"
| |
| !Description !! You type !! You get
| |
| |-
| |
| | Link to a section within another page
| |
| | <pre>[[Wikipedia:Manual of Style#Italics]]</pre>
| |
| | [[Wikipedia:Manual of Style#Italics]]
| |
| |-
| |
| | Piped link to a section within another page.
| |
| | <pre>[[Wikipedia:Manual of Style#Italics|Italics]]</pre>
| |
| | [[Wikipedia:Manual of Style#Italics|Italics]].
| |
| |-
| |
| |}
| |
|
| |
| ==== Blended links ====
| |
| {| class="wikitable" width = "100%"
| |
| ! Desctiption !! You type !! You get
| |
| |-
| |
| | Blending active
| |
| | <pre>San Francisco also has [[public transport]]ation. Examples include [[bus]]es, [[taxicab]]s, and [[tram]]s.</pre>
| |
| | San Francisco also has [[public transport]]ation. Examples include [[bus]]es, [[taxicab]]s, and [[tram]]s.
| |
| |-
| |
| | Blending supressed
| |
| | <pre>A [[micro-]]<nowiki />second.</pre>
| |
| | A [[micro-]]<nowiki/>second.
| |
| |-
| |
| |}
| |
|
| |
| === Redirects ===
| |
|
| |
| Redirects are used to redirect specific pages to another page.
| |
| {| class="wikitable" width = "100%"
| |
| ! Description !! You type
| |
| |-
| |
| |Redirect to an article
| |
| |<code><nowiki>#REDIRECT [[United States]] </nowiki></code>
| |
| |-
| |
| |Redirect to a section
| |
| |<code><nowiki>#REDIRECT [[United States#History]]</nowiki></code>
| |
| |}
| |
|
| |
| === Link to another namespace ===
| |
|
| |
| {| class="wikitable"
| |
| !What you type
| |
| !What it looks like
| |
| |-
| |
| |
| |
| <code><nowiki>See the [[Wikipedia:Manual of Style]].</nowiki></code>
| |
| |
| |
| See the [[Wikipedia:Manual of Style]].
| |
| |}
| |
|
| |
| === Categories ===
| |
|
| |
| {| class="wikitable" width = "100%"
| |
| !Description
| |
| !You type
| |
| !You get
| |
| |-
| |
| | Add article to category
| |
| | <code><nowiki>[[Category:Character sets]]</nowiki></code>
| |
| |
| |
| |-
| |
| | Link to a category
| |
| | <code><nowiki>[[:Category:Character sets]]</nowiki></code>
| |
| | [[:Category:Character sets]]
| |
| |-
| |
| | Without prefix.
| |
| | <code><nowiki>[[:Category:Character sets|]]</nowiki></code>
| |
| | [[:Category:Character sets|Character sets]]
| |
| |}
| |
|
| |
| === External links ===
| |
|
| |
| External links link to external websites other than the Biki. These links are in url format.
| |
|
| |
| {| class="wikitable" width = "100%"
| |
| !Description
| |
| !You type
| |
| !You get
| |
| |-
| |
| | Named link with an external link icon
| |
| | <code><nowiki>[http://www.wikipedia.org Wikipedia]</nowiki></code>
| |
| | [http://www.wikipedia.org Wikipedia]
| |
| |-
| |
| | Unnamed link
| |
|
| |
| (Used only within article body for footnotes)
| |
| |
| |
| <code><nowiki>[http://www.wikipedia.org]</nowiki></code>
| |
| |
| |
| [http://www.wikipedia.org]
| |
| |-
| |
| | Bare URL
| |
|
| |
| (Bad style)
| |
|
| |
| use <nowiki><nowiki></nowiki></nowiki> to keep this bad style from showing
| |
| |
| |
| <code><nowiki>http://www.wikipedia.org</nowiki></code>
| |
| |
| |
| http://www.wikipedia.org
| |
| |-
| |
| |
| |
| Link without arrow
| |
|
| |
| (Not often used)
| |
| |
| |
| <code><nowiki><span class="plainlinks">[http://www.wikipedia.org Wikipedia]</span></nowiki></code>
| |
| |
| |
| <span class="plainlinks"> [http://www.wikipedia.org Wikipedia]</span>
| |
| |}
| |
|
| |
| == Images ==
| |
|
| |
| Images can be put into a page using internal links in <code>[[Image:]] or [[File:]]</code> format.
| |
|
| |
| {| class="wikitable"
| |
| !What you type
| |
| !What it looks like
| |
| |-
| |
| | <code><nowiki>[[Image:image]]</nowiki></code>
| |
| | [[Image:image]]
| |
| |-
| |
| | <code><nowiki>[[File:image]]</nowiki></code>
| |
| | [[File:image]]
| |
| |}
| |
|
| |
|
| |
| == Tables ==
| |
|
| |
| There are multiple ways to make tables in wikitext. Recommended are:
| |
| * Table tool in the text editor
| |
| * [https://www.tablesgenerator.com/mediawiki_tables Table Generator]
| |
|
| |
| {{Informative|Make sure the raw text is well formatted so it is easier to edit later.}}
| |
|
| |
| == Useful templates ==
| |
|
| |
| {{Informative|To find out more about how templates work, read [https://www.mediawiki.org/wiki/Help:Templates Media Wiki: Help: Template]}}
| |
|
| |
| {| class="bikitable"
| |
| ! Template || Code || Result
| |
| |-
| |
| | [[Template:errors]]
| |
| | <pre>{{errors|reason}}</pre>
| |
| |
| |
| {{Messagebox
| |
| | '''This article contains at least [[:Category:ERRORS|an error]]:''' reason.<br>
| |
| <small>If you can fix the page, please remove the {{<nowiki/>errors}} tag afterwards.</small>
| |
| | ‼️
| |
| | red
| |
| }}
| |
| |-
| |
| | [[Template:delete]]
| |
| | <pre>{{delete|reason}}</pre>
| |
| |
| |
| {{Messagebox|'''This article has been submitted for''' <big>deletion</big>'''.''' '''The reason given was:''' reason'''.'''|🗙|#F00}}
| |
| |-
| |
| | [[Template:Feature arma3]]
| |
| | <pre>{{Feature arma3|text}}</pre>
| |
| | {{Feature arma3|text}}
| |
| |-
| |
| | [[Template:Feature arma3contact]]
| |
| | <pre>{{Feature arma3contact}}</pre>
| |
| | {{Messagebox|This content is exclusive to the [[Arma 3 Contact]] Expansion.|[[File:arma3_Contact_logo_black.png|600px]]|#81AED3}}
| |
| |-
| |
| | [[Template:Feature arma3contact]]
| |
| | <pre>{{Feature arma3contact|
| |
| You gotta come down here with an attitude,
| |
| actin' all big and bad.
| |
| And what the hell is that smell?}}</pre>
| |
| | {{Messagebox|You gotta come down here with an attitude, actin' all big and bad. And what the hell is that smell?|[[File:arma3_Contact_logo_black.png|600px]]|#81AED3}}
| |
| |-
| |
| | [[Template:Feature Eden Editor]]
| |
| | <pre>{{Feature Eden Editor|
| |
| Everyone is playing on this Military-themed Mario Maker :D}}</pre>
| |
| | {{Feature Eden Editor|Everyone is playing on this Military-themed Mario Maker :D}}
| |
| |-
| |
| | [[Template:Feature AFM]]
| |
| | <pre>{{Feature AFM}}</pre>
| |
| | {{Feature AFM}}
| |
| |-
| |
| | [[Template:Feature AFM]]
| |
| | <pre>{{Feature AFM|text}}</pre>
| |
| | {{Feature AFM|text}}
| |
| |-
| |
| | [[Template:Feature dayz]]
| |
| | <pre>{{Feature dayz|text}}</pre>
| |
| | {{Feature dayz|text}}
| |
| |-
| |
| | [[Template:GVI]]
| |
| | <pre>{{GVI|arma3|version}}</pre>
| |
| | {{GVI|arma3|dev}}
| |
| |-
| |
| | [[Template:Informative]]
| |
| | <pre>{{Informative|text}}</pre>
| |
| | {{Informative|text}}
| |
| |-
| |
| | [[Template:Important]]
| |
| | <pre>{{Important|important text!}}</pre>
| |
| | {{Important|important text!}}
| |
| |-
| |
| | [[Template:Warning]]
| |
| | <pre>{{Warning|text}}</pre>
| |
| | {{Warning|text}}
| |
| |-
| |
| | [[Template:note]]
| |
| | <pre>{{note|text}}</pre>
| |
| | {{note|text}}
| |
| |-
| |
| | [[Template:unbalanced]]
| |
| | <pre>{{unbalanced}}</pre>
| |
| | {{Messagebox|This article may be unbalanced towards certain viewpoints.|⚖|#555}}
| |
| |-
| |
| | [[Template:cn]]
| |
| | <pre>{{cn}}</pre>
| |
| | <sup><nowiki>[</nowiki>''[[citation needed]]''<nowiki>]</nowiki></sup>
| |
| |-
| |
| | [[Template:example]]
| |
| | <pre>{{example|text|title}}</pre>
| |
| | {{example|text|title}}
| |
| |-
| |
| | [[Template:merge]]
| |
| | <pre>{{merge|article}}</pre>
| |
| | {{Messagebox|This article has been proposed to merge with [[article]].|⇄|blueviolet}}
| |
| |-
| |
| | [[Template:wip]]
| |
| | <pre>{{wip}}</pre>
| |
| | {{Messagebox|This article is a '''work in progress'''!|🏗|dodgerblue}}
| |
| |-
| |
| | [[Template:AnswerMe]]
| |
| | <pre>{{AnswerMe|question}}</pre>
| |
| | {{Messagebox|'''Article contains open question: « ''question'' »<br>
| |
| Once the question is answered, please remove the <tt><nowiki>{{AnswerMe}}</nowiki></tt> tag.|?|#BB8}}
| |
| |-
| |
| | [[Template:Stub]]
| |
| | <pre>{{Stub}}</pre>
| |
| | <div class="notice metadata" id="stub">''This article is a [[:Category:Stubs|Stub]]. You can help BI Community Wiki by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]</span>.''</div>
| |
| |-
| |
| | [[Template:quote]]
| |
| | <pre>{{quote|Gastovski, out!|James Gastovski
| |
| |https://www.youtube.com/watch?v{{=}}TGKFY1QiIGA}}</pre>
| |
| | {{quote|Gastovski, out!|James Gastovski|https://www.youtube.com/watch?v{{=}}TGKFY1QiIGA}}
| |
| |-
| |
| | [[Template:ServerExec]]
| |
| | <pre>{{ServerExec}}</pre>
| |
| | {{ServerExec}}
| |
| |-
| |
| | [[Template:outdated]]
| |
| | <pre>{{outdated}}</pre>
| |
| | {{outdated}}
| |
| |}
| |
|
| |
|
| |
| [[Category:Community Wiki]]
| |