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: Difference between revisions

PetroWiki
Jump to navigation Jump to search
m (Denisewatts moved page Help:Edit toolbar to Help:WikiText Editor - Edit toolbar without leaving a redirect)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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 <nowiki>[[link]]</nowiki>). 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.
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
<nowiki>[[link]]</nowiki>
). 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. [[File:Advanced toolbar of vector skin.png|RTENOTITLE]]


The toolbar works with Internet Explorer, the Mozilla Suite/SeaMonkey, Firefox, Konqueror, Safari, Opera and Google Chrome.
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.)
[[File:Advanced toolbar of vector skin.png]]


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 ==
<ul style="line-height: 20.7999992370605px;">
<li>[http://petrowiki.org/Help:Formatting Formatting]</li>
<li>[http://petrowiki.org/Help:Headings Headings]</li>
<li>[http://petrowiki.org/Help:Links Links]</li>
<li>[http://petrowiki.org/Help:OnePetro OnePetro]</li>
<li>[http://petrowiki.org/Help:Talk%20pages Signatures]</li>
<li>[http://petrowiki.org/Help:Starting%20a%20new%20page Starting a new page]</li>
<li>[http://petrowiki.org/Help:Talk%20pages Talk pages]</li>
</ul>
 
== List of functions ==


==List of functions==
{| class="wikitable" style="text-align:center;width:80%"
{| class="wikitable" style="text-align:center;width:80%"
|- style="background-color:#efefef;"
|- style="background-color:#efefef;"
! Icon !! Function !! What it shows when editing !! What it shows on the page
! Icon
! Function
! What it shows when editing
! What it shows on the page
|-
|-
|[[File:Vector_toolbar_bold_B_button.png]]
| [[File:Vector toolbar bold B button.png|RTENOTITLE]]
|Bold or strong emphasis
| Bold or strong emphasis
|<code><nowiki>' ' 'abc' ' '</nowiki></code>
| <code><nowiki>' ' 'abc' ' '</nowiki></code>
|'''abc'''
| '''abc'''
|-
|-
|[[File:Vector toolbar italic I button.png]]
| [[File:Vector toolbar italic I button.png|RTENOTITLE]]
|Italic or emphasis
| Italic or emphasis
|<code><nowiki>' 'abc' '</nowiki></code>
| <code><nowiki>' 'abc' '</nowiki></code>
|''abc''
| ''abc''
|-
|-
|[[File:Vector toolbar insert internal link button.png|Internal link|link=]]
| [[File:Vector toolbar insert internal link button.png|Internal link|link=]]
|Internal link
| Internal link
|<code><nowiki>[[abc]]</nowiki></code>
| <code><nowiki>[[abc]]</nowiki></code>
|[[abc]]
| [[Abc|abc]]
|-
|-
|[[File:Vector toolbar insert external link button.png|External link|link=]]
| [[File:Vector toolbar insert external link button.png|External link|link=]]
|External link
| External link
|<code><nowiki>[http://www.example.com]</nowiki></code>
| <code><nowiki>[http://www.example.com]</nowiki></code>
| [http://www.example.com]
| [http://www.example.com [1]]
|-
|-
|[[File:Vector toolbar insert image button.png|Embedded file|link=]]
| [[File:Vector toolbar insert image button.png|Embedded file|link=]]
|Insert image
| Insert image
|<code><nowiki>[[File:Example.jpg]]</nowiki></code>
| <code><nowiki>[[File:Example.jpg]]</nowiki></code>
| [[File:Example.jpg]]
| [[File:Example.jpg|RTENOTITLE]]
|-
|-
|[[File:Vector toolbar no wiki formatting button.png|Ignore wiki formatting|link=]]
| [[File:Vector toolbar no wiki formatting button.png|Ignore wiki formatting|link=]]
|Ignore wiki formatting
| Ignore wiki formatting
|<code><nowiki><nowiki>abc '''[[Bold text]]'''</nowiki></nowiki></code>
| <code><nowiki><nowiki>abc '''[[Bold text]]'''</nowiki></nowiki></code>
|<nowiki>abc '''[[Bold text]]'''</nowiki>
| <nowiki>abc '''[[Bold text]]'''</nowiki>
 
|-
|-
|[[File:Vector toolbar signature button.png]]
| [[File:Vector toolbar signature button.png|RTENOTITLE]]
|Sign talk comments (with time stamp)
| Sign talk comments (with time stamp)
|Not used in PetroWiki
| Not used in PetroWiki
|Not used in PetroWiki
| Not used in PetroWiki
|-
|-
| [[File:Vector toolbar redirect button.png|link=]]
| [[File:Vector toolbar redirect button.png|Vector toolbar redirect button.png|link=]]
| Automatically [[Wikipedia:Redirect|redirect]] to another page
| Automatically [[http://en.wikipedia.org/wiki/Redirect|redirect [1]]] to another page
| <code><nowiki>#REDIRECT [[abc]]</nowiki></code>
| <code><nowiki>#REDIRECT [[abc]]</nowiki></code>
| <span class="plainlinks">[{{fullurl:Acidic|redirect=no}} Preview a redirect page]</span>
| <span class="plainlinks">[{{fullurl:Acidic|redirect=no}} Preview a redirect page]</span>
|-
|-
| [[File:Vector toolbar insert new line button.png|link=]]
| [[File:Vector toolbar insert new line button.png|Vector toolbar insert new line button.png|link=]]
| Standard line break
| Standard line break
| <code><nowiki>text before<br />abc</nowiki></code>
| <code><nowiki>text before<br />abc</nowiki></code>
| text before<br />abc
| text before<br/>abc
|-
|-
| [[File:Vector toolbar superscript button.png|link=]]
| [[File:Vector toolbar superscript button.png|Vector toolbar superscript button.png|link=]]
| Superscript (math: [[index notation]])
| Superscript (math: [[Index_notation|index notation]])
| <code><nowiki><sup>abc</sup></nowiki></code>
| <code><nowiki><sup>abc</sup></nowiki></code>
| other text<sup>abc</sup>
| other text<sup>abc</sup>
|-
|-
| [[File:Vector toolbar subscript button.png|link=]]
| [[File:Vector toolbar subscript button.png|Vector toolbar subscript button.png|link=]]
| Subscript (chemical formulas)
| Subscript (chemical formulas)
| <code><nowiki><sub>abc</sub></nowiki></code>
| <code><nowiki><sub>abc</sub></nowiki></code>
| other text<sub>abc</sub>
| other text<sub>abc</sub>
|-
|-
| [[File:Vector toolbar small text button.png|link=]]
| [[File:Vector toolbar small text button.png|Vector toolbar small text button.png|link=]]
| Smaller text
| Smaller text
| <code><nowiki><small>abc</small></nowiki></code>
| <code><nowiki><small>abc</small></nowiki></code>
| other text<small>abc</small>
| other text<small>abc</small>
|-
|-
| [[File:Vector toolbar picture gallery button.png|link=]]
| [[File:Vector toolbar picture gallery button.png|Vector toolbar picture gallery button.png|link=]]
| [[Help:Images_and_other_uploaded_files#Gallery_tag.2C_category.2C_table_of_images|Picture gallery]]
| [[Help:Images_and_other_uploaded_files#Gallery_tag.2C_category.2C_table_of_images|Picture gallery]]
| <code><br />
| <code><br />
Line 82: Line 98:
</gallery>
</gallery>
|-
|-
| [[File:Vector toolbar insert table button.png|link=]]
| [[File:Vector toolbar insert table button.png|Vector toolbar insert table button.png|link=]]
| Insert table
| Insert table
| <code><nowiki>{| class="wikitable"</nowiki><br />
| <code><nowiki>{| class="wikitable"</nowiki><br />
Line 93: Line 109:
|  
|  
{| class="wikitable"
{| class="wikitable"
! Name !! Description
|-
|-
| [[Widget]] || ''Great''&nbsp;thing
! Name
! Description
|-
|-
| [[Gadget]] || Even&nbsp;'''better'''
| [[Widget|Widget]]
| ''Great''&nbsp;thing
|-
| [[Gadget|Gadget]]
| Even&nbsp;'''better'''
|}
|}
|-
|-
| [[File:Vector toolbar insert reference button.png|link=]]
| [[File:Vector toolbar insert reference button.png|Vector toolbar insert reference button.png|link=]]
| Insert a [[WP:CITE|reference (citation footnote)]]
| Insert a [[WP:CITE|reference (citation footnote)]]
| <code><nowiki>99% of all widgets are cool.<ref>This is the footnote text.</ref> More text.</nowiki></code>
| <code><nowiki>99% of all widgets are cool.<ref>This is the footnote text.</ref> More text.</nowiki></code>
| 99% of all widgets are cool.<ref>This is the footnote text.</ref> More text.
| 99% of all widgets are cool.<ref>This is the footnote text.</ref> More text.
:''<small>(At footer of page:)</small>''
:''<small>(At footer of page:)</small>''
<references/>
 
<references />
 
|}
|}
==Category==
[[Category:Help]]

Latest revision as of 17:04, 24 August 2015

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
RTENOTITLE Bold or strong emphasis ' ' 'abc' ' ' abc
RTENOTITLE Italic or emphasis ' 'abc' ' abc
Internal link Internal link [[abc]] abc
External link External link [http://www.example.com] [1]
Embedded file Insert image [[File:Example.jpg]] RTENOTITLE
Ignore wiki formatting Ignore wiki formatting <nowiki>abc '''[[Bold text]]'''</nowiki> abc '''[[Bold text]]'''
RTENOTITLE Sign talk comments (with time stamp) Not used in PetroWiki Not used in PetroWiki
Vector toolbar redirect button.png Automatically [[1]] to another page #REDIRECT [[abc]] Preview a redirect page
Vector toolbar insert new line button.png Standard line break text before<br />abc text before
abc
Vector toolbar superscript button.png Superscript (math: index notation) <sup>abc</sup> other textabc
Vector toolbar subscript button.png Subscript (chemical formulas) <sub>abc</sub> other textabc
Vector toolbar small text button.png Smaller text <small>abc</small> other textabc
Vector toolbar picture gallery button.png Picture gallery

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

Vector toolbar insert table button.png Insert table {| class="wikitable"

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

Name Description
Widget Great thing
Gadget Even better
Vector toolbar insert reference button.png 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