You must log in to edit PetroWiki. Help with editing

Content of PetroWiki is intended for personal use only and to supplement, not replace, engineering judgment. SPE disclaims any and all liability for your use of such content. More information


Help:WikiText editor - Edit toolbar

PetroWiki
Jump to navigation Jump to search

In compatible browsers, an edit toolbar can be automatically displayed with the edit box, provided that this has been set in the preferences. It appears automatically for editors who are not logged in. This functions partly as a typing aid and partly as a reminder of the available functions. All the functions are available simply by using wikitext conventions and typing the code directly into the edit box (such as [[link]] ). If you do much editing you may find that you get comfortable with wikitext for many things, but still rely on the toolbar when you can't recall the syntax, need special characters, or to insert a figure. The toolbar works with Internet Explorer, the Mozilla Suite/SeaMonkey, Firefox, Konqueror, Safari, Opera and Google Chrome. RTENOTITLE

In Mozilla browsers, IE, and Chrome you can format existing text by highlighting the text you want to format and clicking the relevant button on the toolbar. If you click a button without selecting any text, sample text will be inserted at the cursor's position (like so: Bold text). In other browsers, clicking on the button presents an explanation for that feature. (Pre-release 9.0 versions of Opera browser also seem to support the advanced functionality.)

Wikitext help pages

List of functions

Icon Function What it shows when editing What it shows on the page
  Bold or strong emphasis ' ' 'abc' ' ' abc
  Italic or emphasis ' 'abc' ' abc
  Internal link [[abc]] abc
  External link [http://www.example.com] [1]
  Insert image [[File:Example.jpg]]  
  Ignore wiki formatting <nowiki>abc '''[[Bold text]]'''</nowiki> abc '''[[Bold text]]'''
  Sign talk comments (with time stamp) Not used in PetroWiki Not used in PetroWiki
  Automatically [[1]] to another page #REDIRECT [[abc]] Preview a redirect page
  Standard line break text before<br />abc text before
abc
  Superscript (math: index notation) <sup>abc</sup> other textabc
  Subscript (chemical formulas) <sub>abc</sub> other textabc
  Smaller text <small>abc</small> other textabc
  Picture gallery

<gallery>
File:Abc.jpg
File:Example.jpg
</gallery>

  Insert table {| class="wikitable"

! Name !! Description
|-
| [[Widget]] || ' 'Great' ' thing
|-
| [[Gadget]] || Even ' ' 'better' ' '
|}

Name Description
Widget Great thing
Gadget Even better
  Insert a reference (citation footnote) 99% of all widgets are cool.<ref>This is the footnote text.</ref> More text. 99% of all widgets are cool.[1] More text.
(At footer of page:)
  1. This is the footnote text.

Category