Help:Edit toolbar: Difference between revisions

Content deleted Content added
Gadget850 (talk | contribs)
List of functions: add tool buttons
 
(48 intermediate revisions by 28 users not shown)
Line 1:
{{pp-semi-indef}}{{pp-move-indef}}
{{for|the toolbar that shows under the edit window and allows the insertion of various characters and symbols|Help:CharInsert}}
{{Wikipedia how-to|H:ETOOL}}
[[File:Wikipedia development environment screenshot.webp|thumb|Wikipedia development environment]]
In compatible browsers, an '''edit toolbar''' can be automatically displayed with the edit box, provided that this has been set in the [[Help:Preferences|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 <nowiki>[[link]]</nowiki>) – this may be easier.
 
The toolbar works with [[w:Google Chrome]], [[Firefox]], [[Internet Explorer]], [[Microsoft Edge (series of web browsers)|InternetMicrosoft ExplorerEdge]], [[w:Mozilla Application Suite|the Mozilla Suite]]/[[W:SeaMonkey|SeaMonkey]], [[w:Firefox|Firefox]], [[w:Konqueror|Konqueror]], [[w:Safari (browser)|Safari]], and [[w:Opera (browser)|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.)
 
TheYou Editcan Toolbarswitch hasoff aor different appearance dependingswitch on personal preferences set at {{myprefs|Editing|check={{MediaWiki:Wikieditor-toolbar-preference}}:}}.
 
===Source editor===
{| class="wikitable"
If your toolbar looks like this:
! {{small|{{int:wikieditor-toolbar-preference}}}} !! {{small|{{int:wikieditor-toolbar-dialogs-preference}}}} !! Toolbar
[[File:WikiEditor-toolbar-en.png|center]]
|-
Then you are using the [[Wikipedia:Source editor|source editor]].
| Off || Off<br> On || [[File:RefToolbar 1.0.png]]<br />Standard toolbar
 
|-
=== VisualEditor ===
| rowspan=2 | On || Off || [[File:RefToolbar 2.0a.png]]<br />Enhanced editing toolbar
If your toolbar looks like this:
|-
[[File:VisualEditor toolbar-en.png|center|750px]]
| On || [[File:RefToolbar 2.0b.png]]<br />Enhanced editing toolbar with wizards
Then you are using the rich-text [[Wikipedia:VisualEditor|visual editor]].
|}
 
== List of functions ==
{| class="wikitable" style="text-align:center; width:80%"
|+ Source editor
|+ Enhanced toolbar: main selections
! Icon !! Function !! What it shows when editing !! What it shows on the page
|-
| colspan="4" style="text-align: center;" |[[File:Vector WikiEditor-toolbar bold B button-en.png|BoldWikiEditor texttoolbar|border|link=]]
|-
|Bold
| [[File:OOjs UI icon bold-b.svg|Bold text|center|link=]]
!Bold
|<code><nowiki>'''Bold text'''</nowiki></code>
|'''Bold text'''
|-
| [[File:VectorOOjs toolbarUI italicicon I buttonitalic-i.pngsvg|Italic text|center|link=]]
|!Italic
|<code><nowiki>''Italic text''</nowiki></code>
|''Italic text''
|-
| [[File:VectorOOjs toolbarUI inserticon external link buttonsignature-ltr.pngsvg|ExternalYour linksignature with timestamp|center|link=]]
!Sign talk comments<br />(with time stamp)
|External link
|<code><nowiki>[http://www.example.com link title]--~~~~</nowiki></code>
|[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
| [http://www.example.com link title]
|-
| [[File:VectorOOjs toolbarUI insert internalicon link button-ltr.pngsvg|Internal link|center|link=]]
|!Internal link
|<code><nowiki>[[Link title]]</nowiki></code>
|[[Link title]]
|-
| [[File:VectorOOjs toolbarUI inserticon image button-ltr.pngsvg|Embedded file|center|link=]]
|! Insert image
|<code><nowiki>[[File:Example.jpg|thumbnail]]</nowiki></code>
| [[File:Example.jpg|thumbnail]]
|-
| [[File:VectorOOjs toolbarUI inserticon reference buttonpuzzle-ltr.pngsvg|center|link=]]
|! Insert {{fnote}}template
| <code><nowiki>{{Example}}</nowiki></code>
| {{Example}}
|-
| [[File:OOjs UI icon reference.svg|center|link=]]
! Insert [[Help:Footnotes|Reference]]
| <code><nowiki><ref>Insert footnote text here</ref></nowiki></code>
| <ref>Insert footnote text here</ref>
|-
| [[File:VectorOOjs toolbarUI signatureicon buttonhighlight.pngsvg|40px|Your signature with timestampcenter|link=]]
! Activate highlighting in wikitext
|Sign talk comments (with time stamp)
| [[File:OOjs UI icon highlight-progressive.svg|link=]] active
|<code><nowiki>--~~~~</nowiki></code>
|{{Meta|Community Tech/Wikitext editor syntax highlighting|Wikitext editor syntax highlighting}}
|[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
{{MediaWiki|Extension:CodeMirror}}
|-
| colspan="2" | [[File:Enhanced toolbarOOjs_UI_icon_next- Cite buttonltr.pngsvg|Insert citation10px|link=]] Advanced
! Open advanced menu
| Insert citation
| colspan="2" |See below.
|-
| colspan="2" | [[File:OOjs_UI_icon_next-ltr.svg|10px|link=]] Special characters
|[[File:Enhanced toolbar- Advanced button.png|Advanced|link=]]
! Open special characters menu
| Advanced
| colspan="2" |See below.
|-
| colspan="2" | [[File:OOjs_UI_icon_next-ltr.svg|10px|link=]] Help
|[[File:Enhanced toolbar- Special characters button.png|Special characters|link=]]
! Open help menu
| Special characters
| colspan="2" |See below.
|-
| colspan="2" | [[File:Enhanced toolbarOOjs_UI_icon_next- Help buttonltr.pngsvg|Help10px|link=]] Cite
! Open cite toolbar menu
| Help
| See [[Wikipedia:RefToolbar/2.0]].
| colspan="2" |See below
|-
|style="white-space: nowrap;"| [[File:OOjs UI icon edit-ltr.svg|link=]] [[File:OOjs UI icon expand.svg|12px|link=]]
! Change "Source editing" <br>to "Visual editing"
|
|
|}
{| class="wikitable"
 
{| class="wikitable" style="text-align:center; width:80%"
|+ Advanced selections
! Icon !! Function !! What it shows when editing !! What it shows on the page
|-
| colspan="4" style="text-align: center;" |[[File:WikiEditor-advanced menu-en.png|Advanced toolbar|link=]]
|[[File:Vector toolbar no wiki formatting button.png|Ignore wiki formatting|link=]]
|Ignore wiki formatting
|<code><nowiki><nowiki>abc '''[[Bold text]]'''</nowiki></nowiki></code>
|<nowiki>abc '''[[Bold text]]'''</nowiki>
|-
| [[File:VectorWikiEditor-heading menu-en.png|Enhanced toolbar- redirectHeading button.pngtoolbar|link=]]
| [[Help:Section|Section heading]]
| Automatically [[Wikipedia:Redirect|redirect]] to another page
| <code><nowikipoem>#REDIRECT [[abc]]</nowiki></code>== Heading text ==
=== Heading text ===
| <span class="plainlinks">[{{fullurl:Acidic|redirect=no}} Preview a redirect page]</span>
==== Heading text ====
===== Heading text =====</nowiki></poem></code>
|{{fake heading|sub=2|Heading text}}
{{fake heading|sub=3|Heading text}}
{{fake heading|sub=4|Heading text}}
{{fake heading|sub=5|Heading text}}
|-
| [[File:OOjs UI icon listBullet-ltr.svg|Bulleted list|link=]]
| [[Help:List|Bulleted list]]
| <code><nowiki>* Bulleted list item</nowiki></code>
|
* Bulleted list item
|-
| [[File:OOjs UI icon listNumbered-ltr.svg|Numbered list|link=]]
| [[Help:List|Numbered list]]
| <code><nowiki># Numbered list item</nowiki></code>
|
# Numbered list item
|-
| [[File:OOjs UI icon noWikiText-ltr.svg|Ignore wiki formatting|link=]]
| [[Help:Nowiki|Nowiki]]: Ignore wiki formatting
| <code><nowiki><nowiki>Insert non-formatted text here</nowiki></nowiki></code>
| <nowiki>Insert non-formatted text here</nowiki>
|-
| [[File:VectorOOjs toolbarUI inserticon new line buttonnewline-ltr.pngsvg|link=]]
| [[Wikipedia:Line-break handling|Line break]]
| Standard line break
| <code><nowiki>text before<br />abc</nowiki></code>
| text before<br />abc
|-
| [[File:VectorOOjs toolbarUI superscripticon buttonbigger-ltr.pngsvg|link=]]
| Big text
| Superscript (math: [[index notation]])
| <code><nowiki><supbig>abcBig text</supbig></nowiki></code>
| other text<supbig>abcBig text</supbig>
|-
| [[File:VectorOOjs toolbarUI subscripticon buttonsmaller-ltr.pngsvg|link=]]
| Small text
| Subscript (chemical formulas)
| <code><nowiki><subsmall>abcSmall text</subsmall></nowiki></code>
| <small>Small text</small>
| other text<sub>abc</sub>
|-
| [[File:VectorOOjs toolbarUI smallicon text buttonsuperscript-ltr.pngsvg|link=]]
| Superscript
| Smaller text
| <code><nowiki><smallsup>abcSuperscript text</smallsup></nowiki></code>
| <sup>Superscript text</sup>
| other text<small>abc</small>
|-
| [[File:VectorOOjs toolbarUI inserticon image buttonsubscript-ltr.pngsvg|link=]]
| Subscript
| [[Help:Images and other uploaded files#Gallery tag, category, table of images|Picture gallery]]
| <code><brnowiki><sub>Subscript text</sub></nowiki></code>
| <sub>Subscript text</sub>
<nowiki><gallery></nowiki><br />
|-
<nowiki>File:Abc.jpg</nowiki><br />
| [[File:OOjs UI icon imageGallery-ltr.svg|link=]]
<nowiki>File:Example.jpg</nowiki><br />
| [[Help:Gallery tag|Picture gallery]]
<nowiki></gallery></nowiki></code>
| style="text-align: left;" | <code><poem><nowiki><gallery>
Example.jpg|Caption1
Example.jpg|Caption2
</gallery></nowiki></poem></code>
| <gallery>
File:Example.jpg|Caption1
Example.jpg|Caption2
</gallery>
|-
| [[File:VectorOOjs toolbarUI inserticon table button.pngsvg|link=]]
| [[Help:Table|Insert tableTable]]
| <code><poem><nowiki>{| class="wikitable"</nowiki><br />border="1"
|-
<nowiki>! Name !! Description</nowiki><br />
! header 1
<nowiki>|-</nowiki><br />
! header 2
<nowiki>| [[Widget]] || ''Great'' thing</nowiki><br />
! header 3
<nowiki>|-</nowiki><br />
|-
<nowiki>| [[Gadget]] || Even '''better'''</nowiki><br />
| row 1, cell 1
<nowiki>|}</nowiki></code>
| row 1, cell 2
| row 1, cell 3
|-
| row 2, cell 1
| row 2, cell 2
| row 2, cell 3
|}
</nowiki></poem></code>
|
{| class="wikitable" border="1"
! Name !! Description
|-
! header 1
| [[Widget]] || ''Great''&nbsp;thing
! header 2
! header 3
|-
| row 1, cell 1
| [[Gadget]] || Even&nbsp;'''better'''
| row 1, cell 2
| row 1, cell 3
|-
| row 2, cell 1
| row 2, cell 2
| row 2, cell 3
|}
|-
 
| [[File:OOjs UI icon articleRedirect-ltr.svg|link=]]
| Automatically [[Wikipedia:Redirect|redirect]] to another page
| <code><nowiki>#REDIRECT [[Target page name]]</nowiki></code>
| <span class="plainlinks">[{{fullurl:Acidic|redirect=no}} Preview a redirect page]</span>
|}
{|class="wikitable" style="margin-top:0"
 
{| class="wikitable" style="text-align:center;width:80%"
|- style="background-color:#efefef;"
! Icon !! Function !! Description
|-
| [[File:VectorOOjs toolbarUI search-replaceicon buttonarticleSearch-ltr.pngsvg]]
|Search and Replace
|
Line 155 ⟶ 211:
{{Commons|MediaWiki edit toolbar}}
* [[Wikipedia:RefToolbar/2.0]]
* [[Wikipediawikipedia:Sandbox|Wikipedia ToolbarSandbox]] (Firefox only)
 
{{Help navigation}}