Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Ampersand  





2 Apostrophes  





3 Asterisks  





4 Braces or curly brackets  





5 Brackets  





6 Colon  





7 Dashes, hyphens, and minus signs  





8 Less-than and greater-than signs  





9 Pipe or vertical bar  





10 Pound sign  





11 Semicolon  





12 See also  














Help:Punctuation







Add links
 









Help page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


This page, Help:Punctuation, explains the use of punctuation marks in Wikipedia pages. In general, pages can contain the type of punctuation marks used in major English style guides. However, some characters entered into column 1 of a line, or combinations of punctuation characters, have special meanings as markup directives to perform extra text formatting.

Ampersand

[edit]

Ampersand is a prefix to access entities in Wiki code, just like in HTML. Ampersand itself should be encoded as & to avoid possible syntactic interference.

Apostrophes

[edit]

The typewriter apostrophe ', along with its use as a (single) quotation mark, also encodes italic text ''...''orboldface text '''...'''orbold italic text '''''...'''''.

Asterisks

[edit]

A leading asterisk *, in column 1 of a line, denotes the start of an indented bulleted list. The bulleted list can be indented further by prepending other asterisks colon ** or two *** or three **** (etc.), for more indentation, each of which creates a new unordered list. Template:Indent and similar templates offer an accessible-friendly means of creating visual indentations without changing the bullet appearance.

Braces or curly brackets

[edit]

The double-braces, or curly brackets {{ }}, are used to denote a markup function, variable, or template call (such as {{convert|7|km|mi}}. Within template definitions, triple braces allow a template to refer to one of its parameters (such as parameter 1 {{{1}}}).

Brackets

[edit]

The single square brackets [ ] are used to link to an external website, with the URL address in brackets (such as [http://www.google.com Google]). More often, the double-bracket notation [[ ]] is used to denote a wp:wikilink (orhyperlink) connecting to another page. See also: {{Bracket}} and Wikipedia:Manual of Style#Brackets and parentheses.

Colon

[edit]

A leading colon : on a line causes the line to be displayed as the value part of a description list.

When linking to category pages, it prevents the current page from becoming a member of the linked category -- see Colon trick for further information.

Dashes, hyphens, and minus signs

[edit]

Dashes (such as an en dash , which can be coded by –, and a longer em dash , which can be coded by —) are punctuation marks with a variety of uses in English typography; see MOS:DASH.

The hyphen-minus -, also known as the keyboard hyphen and keyboard stroke, has several uses along its role as a word joiner. A separate line of 4 hyphens ---- causes a horizontal-rule line to display. Also, a pipe-stroke, or vertical bar with hyphen |- denotes a row inside a wp:wikitable. The use of hyphens as a substitute for dashes is substandard in English Wikipedia; see MOS:HYPHEN.

The hyphen-minus is used as a minus sign in computer programming languages, and in math mode, but in text, the proper typographical symbol for negation or subtraction is the minus sign, available in the "Special characters" dropdown of the edit pane among the "Symbols" in the list ≥ ± − × ÷ ← → · § ‽ where the third character is the "minus". Minus signs may also be coded by −.

Another kind of hyphen is the non‑breaking hyphen, available in the Wiki code as {{nbhyph}}. This character has the sole purpose to be a non-breaking word joiner.

Unlike the hyphen-minus, the dashes and minus sign do not have any special role in the MediaWiki markup language.

Less-than and greater-than signs

[edit]

Like in HTML code, < > are used in Wiki code for tags. That's why < sometimes needs to be written as &lt;.

Pipe or vertical bar

[edit]

A pipe symbol, or vertical bar |, is used for several purposes. Inside a wikilink, the bar separates the link from the displayed anchor text (such as [[boat anchor|anchor]]). In a template call, the bar separates parameters from each other. In a wp:wikitable, a brace with vertical bar begins a table {|, a lone bar denotes a column cell, and a bar-hyphen |- denotes another row in the table. A wikitable ends with the bar-brace token |}.

Pound sign

[edit]

A leading pound sign #, in column 1 of a line, causes the line to be displayed as an auto-numbered line in a list of numbered entries. The numbered line can be indented further by prepending a pound sign ## or two ### or three #### or such, for more indentation, each of which creates a new enumerated list. Template:Indent and other templates offer an accessible-friendly means of creating visual indentations without creating other lists.

Semicolon

[edit]

A leading semicolon ;, in column 1 of a line, causes the line to be displayed as the name part of a description list. These lists contain a name, followed by one or more descriptions that apply to it (e.g. in a glossary). These descriptions are indicated by starting them with :. Although most browsers will display the name term in boldface, this should not be used to create artificial headings for accessibility reasons.

See also

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Help:Punctuation&oldid=1154462265"

Categories: 
Wikipedia how-to
Wikipedia essays
 



This page was last edited on 12 May 2023, at 17:19 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki