Jump to content

Template:Wikitext/doc

From Wikipedia, the free encyclopedia

The template displays a condensed helpbox about Wikitext, Wikipedia's WP:Wiki markup elements, to be displayed as a concise overview of template parameters, while editing another page.

The helpbox contains the basic wikitext elements:

  • wikilinks:        [[hyperlink]] or [[hyperlink|link here]] or [[expert]]ly    → hyperlink or link here or expertly
  • external links: [http://www.google.com external link]      → external link   (to an outside webpage)
  • image links:     [[File:Example.jpg|thumb|55px|Caption]]      →   (shows image, see below)
  • headers:         ==Header== → Header     ===Subheader=== → Subheader
  • italic/bolding: ''italic''   '''bold'''   '''''bold-italic'''''italic   bold   bold-italic
  • bullets:        * bullet → • bullet       (or ":*" or "::*" to indent)
    Caption
  • indenting:    : indent →     indent   (or "::" or "::::::" to indent more)
  • auto-number: # numbered →   1.  numbered   ("#:" indents under numbered lines)
  • bullets at numbers: #* bullet under number →   °  bullet under number
  • categories:    [[Category:xx]] → (internal wp:category link).
  • templates:    {{templt|aa|bb}} → (run "Template:Templt" with parameters "aa" & "bb")
  • expressions:   {{#expr: (5*10 + 3^2 +8)/2 }} → calculate expression: (5×10 + 32+8)/2 = 33.5
  • signature/time:    ~~~~ → signature     ~~~~~ → date/time (UTC)

Other major wikitext formats can be listed, as needed.

See also

[edit]
  • For a complete list of Wikitext codes, see Help:Wikitext. There is also a short list of Wikitext markup and tips at Help:Cheatsheet.
  • For instructions on how to see this markup and other editing tips, see Help:Editing.
  • For instructions on creating and editing tables, see Help:Table.
  • For information on special words, see Help:Magic words.
  • In addition to Wikitext, some HTML elements are also allowed for presentation formatting; see Help:HTML in wikitext.