No edit summary |
m (+ja) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[File:Location_Source.png|thumb|250px|How to access source mode in the editor]] |
||
− | Wikitext is the markup language used to format content on |
+ | '''Wikitext''' is the main markup language used to format content on wikias. It can be used to add photos, tables, bold styles, links, and other visual changes. |
− | It's not necessary to know wikitext in order to edit at Wikia. You can use the |
+ | It's not necessary to know wikitext in order to edit at Wikia. You can use the visual mode in the [[Help:Editing|standard editor]], or the [[Help:VisualEditor|new VisualEditor]] (where enabled), to avoid it. However, users who learn it find that they have more control over their editing experience. It can be used in 'source mode' in either editor. |
− | Below is a cheat sheet for basic wikitext that you can use while [[Help:Editing|editing]]. Many of the options listed below have shortcut buttons in the visual editors' toolbars. |
+ | Below is a cheat sheet for basic wikitext that you can use while [[Help:Editing|editing]]. Many of the options listed below have shortcut buttons in the visual editors' toolbars. |
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | ==Wikitext cheat sheet== |
||
+ | ===Text=== |
||
− | <!--COMMENT MARKUP. Displays:Edit mode only.--> |
||
+ | {| class="article-table" style="width:100%; font-size:90%;" |
||
− | |||
⚫ | |||
− | {| style="width:100%; border:2px #a3b1bf solid; text-align:left;" |
||
+ | ! style="width:25%;" | Description |
||
+ | ! style="width:45%;" | You type |
||
+ | ! style="width:30%;" | You get |
||
|- |
|- |
||
− | |colspan="3" style="background:#cee0f2; color:#000; text-align:center;" | |
||
− | <h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Wikitext Cheatsheet</h2> |
||
− | |-<!--COLUMN HEADINGS--> |
||
− | | style="background:#cee0f2; color:#000; padding:0.3em; text-align:center; width: 25%;"|'''Description''' |
||
− | | style="background:#cee0f2; color:#000; padding:0.3em; text-align:center;"|'''You type''' |
||
− | | style="background:#cee0f2; color:#000; padding:0.3em; text-align:center; width: 25%;"|'''You get''' |
||
− | |-<!--1ST HEADING--> |
||
− | | colspan="3" style="background:#E6F2FF; color:#000; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies anywhere |
||
− | |-<!--1ST ROW 1ST COLUMN--> |
||
|Italicise text |
|Italicise text |
||
⚫ | |||
− | |<!--2ND COLUMN--> |
||
− | + | |''italic'' |
|
⚫ | |||
− | |<!--3RD COLUMN--> |
||
− | ''italic'' |
||
− | |-<!--HORIZONTAL LINE--> |
||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
− | |-<!--2ND ROW 1ST COLUMN--> |
||
|Bold text |
|Bold text |
||
⚫ | |||
− | | |
||
− | + | |'''bold''' |
|
− | | |
||
− | '''bold''' |
||
⚫ | |||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
|- |
|- |
||
|Bold and italic |
|Bold and italic |
||
⚫ | |||
− | | |
||
− | + | |'''''bold & italic''''' |
|
− | | |
||
− | '''''bold & italic''''' |
||
|- |
|- |
||
⚫ | |||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | (within a local wiki) |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | | |
||
⚫ | |||
− | [[Help:Contents|Displayed text]]<br /> |
||
− | |- |
||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
|- |
|- |
||
|Redirect to another page |
|Redirect to another page |
||
⚫ | |||
− | | |
||
⚫ | |||
⚫ | |||
− | | |
||
⚫ | |||
|- |
|- |
||
⚫ | |||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
⚫ | |||
− | |- |
||
⚫ | |||
− | (to other websites) |
||
− | | |
||
⚫ | |||
<code><nowiki>[http://www.example.org displayed text]</nowiki></code><br /> |
<code><nowiki>[http://www.example.org displayed text]</nowiki></code><br /> |
||
<code><nowiki>http://www.example.org</nowiki></code> |
<code><nowiki>http://www.example.org</nowiki></code> |
||
+ | |[http://www.example.org]<br /> |
||
− | | |
||
⚫ | |||
[http://www.example.org displayed text]<br /> |
[http://www.example.org displayed text]<br /> |
||
http://www.example.org |
http://www.example.org |
||
|- |
|- |
||
⚫ | |||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
+ | |<code><nowiki>~~~~</nowiki></code> |
||
⚫ | |||
⚫ | |||
|- |
|- |
||
+ | ! colspan="3" | ''The following work only when used at the start of a line of code'' |
||
− | | |
||
⚫ | |||
− | on talk pages |
||
− | | |
||
⚫ | |||
− | | |
||
⚫ | |||
⚫ | |||
− | |-<!--2ND HEADING--> |
||
− | | colspan="3" style="background:#E6F2FF; color:#000; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies only at the beginning of the line |
||
|- |
|- |
||
|Headings<br /> |
|Headings<br /> |
||
− | <span style="font-size: |
+ | <span style="font-size:80%;">''A Table of Contents will automatically be generated when four headings are added to an article.''</span> |
| |
| |
||
⚫ | |||
<code><nowiki>==Level 2==</nowiki></code><br /> |
<code><nowiki>==Level 2==</nowiki></code><br /> |
||
<code><nowiki>===Level 3===</nowiki></code><br /> |
<code><nowiki>===Level 3===</nowiki></code><br /> |
||
Line 101: | Line 60: | ||
<code><nowiki>======Level 6======</nowiki></code> |
<code><nowiki>======Level 6======</nowiki></code> |
||
| |
| |
||
− | + | <h2>Level 2</h2> |
|
− | + | <h3>Level 3</h3> |
|
− | + | <h4>Level 4</h4> |
|
− | + | <h5>Level 5</h5> |
|
− | + | <h6>Level 6</h6> |
|
− | ======Level 6====== |
||
− | |- |
||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
|- |
|- |
||
|Bulleted list |
|Bulleted list |
||
Line 121: | Line 77: | ||
**Two point one |
**Two point one |
||
*Three |
*Three |
||
− | |- |
||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
|- |
|- |
||
|Numbered list |
|Numbered list |
||
Line 135: | Line 89: | ||
##Two point one |
##Two point one |
||
#Three |
#Three |
||
⚫ | |||
+ | |||
+ | ===Images=== |
||
+ | {| class="article-table" style="width:100%; font-size:90%;" |
||
|- |
|- |
||
+ | ! style="width:25%;" | Description |
||
− | |colspan="3" style="background:#cee0f2; color:#000; text-align:center;" | |
||
+ | ! style="width:50%;" | You type |
||
− | <h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Images</h2> |
||
+ | ! style="width:25%;" | You get |
||
− | |-<!--COLUMN HEADINGS--> |
||
− | | style="background:#cee0f2; color:#000; padding:0.3em; text-align:center; width: 25%;"|'''Description''' |
||
− | | style="background:#cee0f2; padding:0.3em; text-align:center;"|'''You type''' |
||
− | | style="background:#cee0f2; color:#000; padding:0.3em; text-align:center; width: 25%;"|'''You get''' |
||
|- |
|- |
||
|Image |
|Image |
||
⚫ | |||
− | | |
||
− | + | |[[File:SeaOtter.png]] |
|
− | | |
||
⚫ | |||
− | |- |
||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
|- |
|- |
||
|Sized image |
|Sized image |
||
⚫ | |||
− | | |
||
− | + | |[[File:SeaOtter.png|150px]] |
|
− | | |
||
⚫ | |||
− | |- |
||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
|- |
|- |
||
|Thumbnail image |
|Thumbnail image |
||
⚫ | |||
− | | |
||
− | + | |[[File:SeaOtter.png|thumb|Caption text]] |
|
− | | |
||
⚫ | |||
− | |- |
||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
|- |
|- |
||
|Bordered image |
|Bordered image |
||
⚫ | |||
− | | |
||
− | + | |[[File:SeaOtter.png|border|Caption text]] |
|
− | | |
||
⚫ | |||
− | |- |
||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
|- |
|- |
||
|Aligned image |
|Aligned image |
||
Line 184: | Line 123: | ||
[[File:SeaOtter.png|border|150px|center]] |
[[File:SeaOtter.png|border|150px|center]] |
||
[[File:SeaOtter.png|border|150px|right]] |
[[File:SeaOtter.png|border|150px|right]] |
||
− | |- |
||
− | |colspan="3" style="border-top:1px solid #cee0f2;"| |
||
|- |
|- |
||
|Linked image |
|Linked image |
||
⚫ | |||
− | | |
||
− | + | |[[File:SeaOtter.png|link=Help:Contents]] |
|
− | | |
||
⚫ | |||
|} |
|} |
||
+ | |||
+ | ===Further examples=== |
||
+ | For more complex content that is sometimes more easily managed with wikitext editing, see: |
||
+ | |||
⚫ | |||
+ | * [[Help:Wikitext/table examples]] |
||
⚫ | |||
+ | * [[Help:Main page column tags]] |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | * [[Help:Magic words]] |
||
==See also== |
==See also== |
||
− | * Don't see what you are looking for here? Try [[Help:Wikitext/more examples]] |
||
* [[Help:Editing|Editing]] |
* [[Help:Editing|Editing]] |
||
* {{#NewWindowLink:http://community.wikia.com/index.php?title=Admin Central:Guide:Wikitext|Wikitext Guide}} at ''Admin Central'' |
* {{#NewWindowLink:http://community.wikia.com/index.php?title=Admin Central:Guide:Wikitext|Wikitext Guide}} at ''Admin Central'' |
||
Line 201: | Line 147: | ||
* For print cheatsheets, see the {{#NewWindowLink:m:Help:Reference card|MediaWiki reference card}} or the {{#NewWindowLink:m:Cheatsheet|poster-size cheatsheet}} (available in many languages). |
* For print cheatsheets, see the {{#NewWindowLink:m:Help:Reference card|MediaWiki reference card}} or the {{#NewWindowLink:m:Cheatsheet|poster-size cheatsheet}} (available in many languages). |
||
− | ==Further |
+ | ==Further help & feedback== |
{{Help and feedback section}} |
{{Help and feedback section}} |
||
− | |||
− | __NOTOC__ |
||
− | |||
[[de:Hilfe:Wikitext]] |
[[de:Hilfe:Wikitext]] |
||
Line 213: | Line 156: | ||
[[nlhelp:Help:Wikitekst]] |
[[nlhelp:Help:Wikitekst]] |
||
[[pl:Pomoc:Wikitekst]] |
[[pl:Pomoc:Wikitekst]] |
||
+ | [[ja:Help:ウィキテキスト]] |
||
+ | |||
[[Category:Editing]] |
[[Category:Editing]] |
||
[[Category:Source editing]] |
[[Category:Source editing]] |
Revision as of 16:17, 16 March 2014
Wikitext is the main markup language used to format content on wikias. It can be used to add photos, tables, bold styles, links, and other visual changes.
It's not necessary to know wikitext in order to edit at Wikia. You can use the visual mode in the standard editor, or the new VisualEditor (where enabled), to avoid it. However, users who learn it find that they have more control over their editing experience. It can be used in 'source mode' in either editor.
Below is a cheat sheet for basic wikitext that you can use while editing. Many of the options listed below have shortcut buttons in the visual editors' toolbars.
Wikitext cheat sheet
Text
Description | You type | You get |
---|---|---|
Italicise text | ''italic''
|
italic |
Bold text | '''bold'''
|
bold |
Bold and italic | '''''bold & italic'''''
|
bold & italic |
Internal link (within a local wiki) |
[[Help:Contents]]
|
Help:Contents Displayed text |
Redirect to another page | #REDIRECT [[Help:Contents]]
|
Help:Contents |
External link (to other websites) |
[http://www.example.org]
|
[1] |
Sign your posts on talk pages |
~~~~
|
Your username 06:10, 19 April 2024 (UTC) |
The following work only when used at the start of a line of code | ||
Headings A Table of Contents will automatically be generated when four headings are added to an article. |
|
Level 2Level 3Level 4Level 5Level 6 |
Bulleted list |
|
|
Numbered list |
|
|
Images
Further examples
For more complex content that is sometimes more easily managed with wikitext editing, see:
- Help:Wikitext/more examples
- Help:Wikitext/table examples
- Help:Galleries, Slideshows, and Sliders/wikitext
- Help:Main page column tags
- Help:Templates
- Help:Infobox
- Help:Tables
- Help:Magic words
See also
- Editing
- {{#NewWindowLink:http://community.wikia.com/index.php?title=Admin Central:Guide:Wikitext|Wikitext Guide}} at Admin Central
- MediaWiki's thorough reference on {{#NewWindowLink:http://www.mediawiki.org/wiki/Help:Images%7Cimage formatting}}
- For print cheatsheets, see the {{#NewWindowLink:m:Help:Reference card|MediaWiki reference card}} or the {{#NewWindowLink:m:Cheatsheet|poster-size cheatsheet}} (available in many languages).
Further help & feedback
- Browse and search other help pages at Help:Contents
- Check Fandom Community Central for sources of further help and support
- Check Contacting Fandom for how to report any errors or unclear steps in this article