Help:Edit toolbar

From Barbershop Wiki Project
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 typing the code directly into the edit box (such as [[link]]) - this may be easier.

The toolbar works with Internet Explorer, the Mozilla Suite/SeaMonkey, Firefox, Konqueror, Safari, Opera and Google Chrome.

For example:
Example of edit toolbar
To turn a piece of text into an internal link, select it and press the third button.

In Mozilla browsers and IE, 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.)

All of the toolbar options, and further editing options, are available in Bananeweizen's Firefox extension.

List of functions

Icon Function What it shows when editing What it shows on the page
Bold text Bold or strong emphasis '''abc''' abc
Italic text Italic or emphasis ''abc'' abc
Internal link Internal link [[abc]] abc
External link External link [http://www.example.com]
Level 2 headline Section heading == abc ==

abc

Embedded image Insert image
Media file link Insert media [[File:abc.ogg]] File:Abc.ogg
Mathematical formula (LaTeX) Mathematical formula <math>abc</math> <math>abc</math>
Ignore wiki formatting Ignore wiki formatting <nowiki>abc '''[[Bold text]]'''</nowiki> abc '''[[Bold text]]'''
Your signature with timestamp Sign talk comments (with time stamp) ~~~~ Username (talk) 10:26, 20 April 2024 (UTC)
Horizontal line Horizontal line ----
Button redirect.png Automatically redirect to another page #REDIRECT [[abc]] Preview a redirect page
Button strike.png Strike-through text <s>abc</s> abc
Button enter.png Standard line break text before<br />abc text before
abc
Button sup letter.png Superscript (math: index notation) <sup>abc</sup> other textabc
Button sub letter.png Subscript (chemical formulas) <sub>abc</sub> other textabc
Button small text.png Smaller text <small>abc</small> other textabc
Button hide comment.png Comment (only appears in the code when editing) <!-- abc --> Nothing appears on page
Button gallery.png Picture gallery

<gallery>
Image:abc.jpg
Image:example.jpg
</gallery>

Button blockquote.png Quoted text (appears indented) other text<blockquote>

abc
</blockquote>other text

other text

abc

other text
Button insert table.png Insert table {| class="wikitable"

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

Name Description
Widget Great thing
Gadget Even better
Button reflink.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.