Jump to content

User:Ktoonen/Cheatsheet

From Wikipedia, the free encyclopedia

Text

[edit]
  • To write ellipses, you need to write a non-breaking space. The NBS keeps the ellipses from being the first characters on a line (being wrapped to the next line).
    •  …
  • The nowiki tag does not prevent special characters from being translated. To get special characters to display themselves spelled out, use this:
To show me
…
not
I should type … not …

Redirects

[edit]
  • There exists a page named ZZZ, and I want the text ZZZ to link to it.
    • [[ZZZ]]
  • Make a link from the text XXX to the page YYY
    • [[YYY|XXX]]


  • Make an anchor so you can later point to text XXX
    • <span id="TAG">XXX</span>
  • Make a link from the text YYY to XXX — where XXX is on the same page
    • [[#TAG|YYY]]
  • Make a link from the text YYY to XXX — where XXX is on the page ZZZ
    • [[ZZZ#TAG|YYY]]

Citations

[edit]
  • Unnamed reference
    • Here is my text.<ref>Here is my citation.</ref>
  • Name a reference so can refer to it later
    • Here is my text.<ref name="foo">Here is my citation.</ref>
  • Refer to a previously named reference
    • <ref name="foo"/>
  • Cite Journal formating.
  • To make the reference list at the end, make the subheading, then enter:
    • <references/>

Quotes

[edit]
  • To make a fancy quote like what's between the lines, type
    • {{cquote|Will Work for Books}}