Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
BarkWiki
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Formatting Help
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Text formatting markup == <!--T:2--> </translate> {| class="wikitable" ! <translate><!--T:3--> Description</translate> ! style="width: 40%;" | <translate><!--T:4--> You type</translate> ! style="width: 40%;" | <translate><!--T:5--> You get</translate> |- ! colspan="3" style="color: var(--color-base, #202122); background: var(--background-color-progressive-subtle--active, #b6d4fb)" | {{anchor|Character formatting}}<translate><!--T:6--> Character (inline) formatting – ''applies anywhere''</translate> |- | <translate><!--T:7--> Italic text</translate> | {{#tag:syntaxhighlight| ''<translate nowrap><!--T:8--> italic</translate>'' |lang=wikitext}} | ''<translate><!--T:9--> italic</translate>'' |- | <translate><!--T:10--> Bold text</translate> | {{#tag:syntaxhighlight| '''<translate nowrap><!--T:11--> bold</translate>''' |lang=wikitext}} | '''<translate><!--T:12--> bold</translate>''' |- | <translate><!--T:13--> Bold and italic</translate> | {{#tag:syntaxhighlight| '''''<translate nowrap><!--T:14--> bold & italic</translate>''''' |lang=wikitext}} | '''''<translate><!--T:15--> bold & italic</translate>''''' {{Table-AnchorRow|colspan=3|nowiki|<nowiki>|.3Cnowiki.3E}} |- | <translate><!--T:19--> Escape wiki markup</translate> | {{#tag:syntaxhighlight| <!-- This can't use <syntaxhighlight><nowiki>, as that breaks the <translate> tag --> {{^(}}nowiki{{)^}}<translate nowrap><!--T:20--> no [[wiki]] ''markup''</translate>{{^(}}/nowiki{{)^}} |lang=wikitext}} | <translate><!--T:155--> <nowiki>no [[wiki]] ''markup''</nowiki></translate> |- ! colspan="3" style="color: var(--color-base, #202122); background: var(--background-color-progressive-subtle--active, #b6d4fb)" | {{anchor|Section formatting}}<translate><!--T:24--> Section formatting – ''only at the beginning of the line''</translate> |- | <translate><!--T:25--> Section Headings of different levels</translate> | {{anchor|headings}}{{#tag:syntaxhighlight| <translate nowrap> == Level 2 == <!--T:26--> === Level 3 === <!--T:27--> ==== Level 4 ==== <!--T:28--> ===== Level 5 ===== <!--T:29--> ====== Level 6 ====== <!--T:30--> </translate> |lang=wikitext}} ---- {{note|1=<nowiki/> * <translate><!--T:31--> [[<tvar name=lv1>Help talk:Formatting#Level_1</tvar>|Skip Level 1]], it is page name level.</translate> * <translate><!--T:32--> Do not put any text on the same line after the ending equal signs.</translate> * <translate><!--T:33--> An article with 4 or more headings automatically creates a [[w:Help:Section#Table of contents (TOC)|table of contents]] (unless setting the magic word <tvar name=1><code><nowiki>__NOTOC__</nowiki></code></tvar>).</translate> }} | {{Fake heading|level=2|1=<translate><!--T:35--> Level 2</translate>}} {{Fake heading|level=3|1=<translate><!--T:36--> Level 3</translate>}} {{Fake heading|level=4|1=<translate><!--T:37--> Level 4</translate>}} {{Fake heading|level=5|1=<translate><!--T:38--> Level 5</translate>}} {{Fake heading|level=6|1=<translate><!--T:39--> Level 6</translate>}} |- | <translate><!--T:40--> Horizontal rule</translate> | {{#tag:syntaxhighlight| <translate nowrap><!--T:41--> Text before</translate> ---- <translate nowrap><!--T:42--> Text after</translate> |lang=wikitext}} | <translate><!--T:43--> Text before</translate> ---- <translate><!--T:44--> Text after</translate> |- | <translate><!--T:45--> Bullet list</translate> | {{anchor|bulleted-lists}} {{#tag:syntaxhighlight| <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> |lang=wikitext}} | <translate> <!--T:47--> * 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:163--> * combine bullet list ** with definition ::- definition ** creates empty space <!--T:164--> * combine bullet list ** with definition *:- definition ** without empty spaces <!--T:165--> *bullet list :- definition :* sublist that doesn't create empty :* spaces after definition </translate> |- | <translate><!--T:48--> Numbered list</translate> | {{anchor|numbered-list}} {{#tag:syntaxhighlight| <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> |lang=wikitext}} | <translate> <!--T:51--> # 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:52--> # end the list and start another. Any other start also ends the list. <!--T:184--> <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> {{Table-AnchorRow|colspan=3|Definition list}} |- | <translate><!--T:53--> Description list</translate> | {{#tag:syntaxhighlight| <translate nowrap> <!--T:54--> ; item 1 : definition 1 ; item 2 : definition 2-1 : definition 2-2 </translate> |lang=wikitext}} {{note|1=<translate><!--T:176--> At the end of the line, if the line begins with a semicolon (;), any inserted colon (:) will not be displayed.</translate> <translate><!--T:177--> If you want for the colon to be displayed, escape it by writing <tvar name=1><code>&#58;</code></tvar>.</translate>}} | <translate> <!--T:55--> ; item 1 : definition 1 ; item 2 : definition 2-1 : definition 2-2 </translate> |- | <translate><!--T:194--> Description details without description terms</translate> | {{#tag:syntaxhighlight| : <translate nowrap><!--T:195--> Description details</translate> :: <translate nowrap><!--T:196--> Nested description details</translate> ::::: <translate nowrap><!--T:197--> Deeply nested description details</translate> |lang=wikitext}} ---- {{Note|1=<translate><!--T:198--> This is often used as a workaround for indenting the line, but it will harm accessibility and produce invalid HTML output.</translate> <translate><!--T:199--> Using CSS for visual indentation is a far more preferable approach (e.g. <tvar name=1>{{tl|indent}}</tvar>).</translate>}} | : <translate><!--T:200--> Description details</translate> :: <translate><!--T:201--> Nested description details</translate> ::::: <translate><!--T:202--> Deeply nested description details</translate> |- | <translate><!--T:60--> Mixture of different types of list</translate> | {{#tag:syntaxhighlight| <translate nowrap> <!--T:61--> # 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 <tvar name=1><br></tvar> of <tvar name=2><nowiki><br></nowiki></tvar> # five ## five sub 1 ### five sub 1 sub 1 ## five sub 2 </translate> |lang=wikitext}} ---- {{note|1=<translate><!--T:62--> The usage of <tvar name=1><code>#:</code></tvar> and <tvar name=2><code>*:</code></tvar> for breaking a line is as problematic as the usage of single <tvar name=3><code>:</code></tvar>.</translate>}} | <translate> <!--T:63--> # 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 <tvar name=1><br></tvar> of <tvar name=2><nowiki><br></nowiki></tvar> # five ## five sub 1 ### five sub 1 sub 1 ## five sub 2 </translate> |- | {{anchor|Preformatted text}}<translate><!--T:64--> Preformatted text</translate> | {{#tag:syntaxhighlight| <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> |lang=wikitext}} ---- {{note|1=<translate><!--T:66--> This way of preformatting only applies to [[<tvar name=1>#Section formatting</tvar>|section formatting]].</translate> <translate><!--T:193--> [[<tvar name=1>#Character formatting</tvar>|Character formatting]] markups are still effective.</translate>}} | <translate><!--T:67--> Start each line with a space.</translate> <translate><!--T:181--> Text is '''preformatted''' and</translate> <translate><!--T:182--> ''markups'' '''''can''''' be done.</translate> |- | <translate><!--T:68--> Preformatted text blocks</translate> | {{#tag:syntaxhighlight| {{^(}}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{{)^}} |lang=wikitext}} | {{#tag:nowiki|<translate nowrap><!--T:73--> Start with a space in the first column, (before the <nowiki>). <!--T:74--> Then your block format will be maintained. <!--T:75--> This is good for copying in code blocks: </translate> def function(): """<translate nowrap><!--T:172--> documentation string</translate>""" if True: print True else: print False }} |} {{anchor|<p>|.3Cp.3E}} <translate>
Summary:
Please note that all contributions to BarkWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BarkWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)