Help:Editing: Difference between revisions
m (Adding link to more complete editing help.) |
(Updating) |
||
Line 1: | Line 1: | ||
118Wiki is a [[Wiki|WikiWiki]], meaning that anyone can easily edit any unprotected article and have those changes posted immediately. This page is the reference for '''Wiki markup''', but is a very basic resource. If you need more assistance in editing the wiki, you will want to see the Wikipedia's [ | 118Wiki is a [[Wiki|WikiWiki]], meaning that anyone can easily edit any unprotected article and have those changes posted immediately. This page is the reference for '''Wiki markup''', but is a very basic resource. If you need more assistance in editing the wiki, you will want to see the Wikipedia's [[wp:Help:Contents/Editing_Wikipedia|Editing Wikipedia]] help page. | ||
== Minor edits == | == Minor edits == | ||
''See also [ | : ''See also [[wp:Wikipedia:Minor_edit|Wikipedia:Minor edit]]'' | ||
When editing a page, a logged-in user can mark that edit as "minor". Minor edits generally mean spelling corrections, formatting, and minor rearranging of text. It is possible to ''hide'' minor edits when viewing [[Special:Recentchanges|Recent Changes]]. Marking a real change as a minor edit is considered bad behavior, and even more so if it involves the deletion of some text. If one has accidentally marked an edit as minor, make another edit (add an extra space between two words, or a line break), mark it major, and say "the previous edit was major" in the summary. | When editing a page, a logged-in user can mark that edit as "minor". Minor edits generally mean spelling corrections, formatting, and minor rearranging of text. It is possible to ''hide'' minor edits when viewing [[Special:Recentchanges|Recent Changes]]. Marking a real change as a minor edit is considered bad behavior, and even more so if it involves the deletion of some text. If one has accidentally marked an edit as minor, make another edit (add an extra space between two words, or a line break), mark it major, and say "the previous edit was major" in the summary. | ||
Line 12: | Line 12: | ||
<div align="center"> | <div align="center"> | ||
{| style="border:1px solid # | {| style="border:1px solid #A3B1BF; text-align:left; background:#f5faff" | ||
|- | |- | ||
| width="25%" style="background: # | | width="25%" style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''Description''' | ||
| style="background: # | | style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''You type''' | ||
| width="25%" style="background: # | | width="25%" style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''You get''' | ||
|- | |- | ||
| colspan="3" style="background: # | | colspan="3" style="background: #cee0f2; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies anywhere | ||
|- | |- | ||
| | |Italicise text | ||
|<tt><nowiki>''italic''</nowiki></tt> | | | ||
|''italic'' | <tt><nowiki>''italic''</nowiki></tt> | ||
| | |||
''italic'' | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid # | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
| Bold text | |Bold text | ||
|<tt><nowiki>'''bold'''</nowiki></tt> | | | ||
|'''bold''' | <tt><nowiki>'''bold'''</nowiki></tt> | ||
| | |||
'''bold''' | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid # | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
| Bold and italic | |Bold and italic | ||
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt> | | | ||
|'''''bold & italic''''' | <tt><nowiki>'''''bold & italic'''''</nowiki></tt> | ||
| | |||
'''''bold & italic''''' | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid # | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
| Internal link<br/> | |Internal link<br /> | ||
(within Wikipedia) | (within Wikipedia) | ||
|<tt><nowiki>[[name of page]]</nowiki><br/> | | | ||
<nowiki>[[name of page|display text]]</nowiki> | <tt><nowiki>[[name of page]]</nowiki></tt><br /> | ||
|[[name of page]]<br/> | <tt><nowiki>[[name of page|display text]]</nowiki></tt><br /> | ||
[[name of page|display text]]</tt> | | | ||
[[name of page]]<br /> | |||
[[name of page|display text]]<br /> | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|Redirect to another page | |||
| | |||
<tt><nowiki>#redirect [[Target page]]</nowiki></tt> | |||
| | |||
1. redirect [[Target page]] | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid # | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
| External link<br/> | |External link<br /> | ||
(to other websites) | (to other websites) | ||
|<tt><nowiki>[http://www.example.com]</nowiki><br/> | | | ||
<nowiki>[http://www.example.com display text]</nowiki><br/> | <tt><nowiki>[http://www.example.com]</nowiki></tt><br /> | ||
<nowiki> http://www.example.com </nowiki> | <tt><nowiki>[http://www.example.com display text]</nowiki></tt><br /> | ||
| [http://www.example.com]<br/> | <tt><nowiki>http://www.example.com</nowiki></tt> | ||
[http://www.example.com display text]<br/> | | | ||
[http://www.example.com]<br /> | |||
[http://www.example.com display text]<br /> | |||
http://www.example.com | http://www.example.com | ||
|- | |- | ||
|colspan="3" style="border-top:1px solid # | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|Escape wiki markup | |Escape wiki markup | ||
|<tt><nowiki><nowiki> | | | ||
|<nowiki> | <tt><nowiki>with ''markup''</nowiki></tt><br /> | ||
<tt><nowiki><nowiki>without ''markup''</nowiki></nowiki></tt> | |||
| | |||
with ''markup''<br /> | |||
<nowiki>without ''markup''</nowiki> | |||
|- | |- | ||
| colspan="3" style="background: # | | colspan="3" style="background: #cee0f2; 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 /> | ||
of different sizes | of different sizes | ||
| | | | ||
Line 77: | Line 99: | ||
=====Level 4===== | =====Level 4===== | ||
|- | |- | ||
|colspan="3" style="border-top:1px solid # | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|Bullet list | |Bullet list | ||
| | | | ||
* one<br> | <tt>* one</tt><br /> | ||
* two<br> | <tt>* two</tt><br /> | ||
** two point one<br/> | <tt>** two point one</tt><br /> | ||
* three< | <tt>* three</tt> | ||
| | | | ||
* one | * one | ||
Line 91: | Line 113: | ||
* three | * three | ||
|- | |- | ||
|colspan="3" style="border-top:1px solid # | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|Numbered list | |Numbered list | ||
| | | | ||
# one<br> | <tt># one</tt><br /> | ||
# two<br> | <tt># two</tt><br /> | ||
## two point one<br/> | <tt>## two point one</tt><br /> | ||
# three< | <tt># three</tt> | ||
| | | | ||
# one | # one | ||
Line 105: | Line 127: | ||
# three | # three | ||
|- | |- | ||
|colspan="3" style="border-top:1px solid # | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
| Definition list | | Definition list | ||
| | | | ||
;Definition<br> | <tt>;Definition</tt><br /> | ||
:item 1<br> | <tt>:item 1</tt><br /> | ||
:item 2< | <tt>:item 2</tt> | ||
| | | | ||
;Definition | ;Definition | ||
Line 117: | Line 139: | ||
:item 2 | :item 2 | ||
|- | |- | ||
|colspan="3" style="border-top:1px solid # | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|Unformatted text | |Unformatted text | ||
Line 131: | Line 153: | ||
monospaced text | monospaced text | ||
|- | |- | ||
|colspan="3" | |colspan="3" style="text-align:center; border-top:1px solid #A3B1BF;"|[[wp:Help:Contents/Editing Wikipedia|More editing help]] | ||
|} | |} | ||
</div> | </div> | ||
=== Tables === | === Tables === | ||
==== Placement of the Table of Contents (TOC) ==== | ==== Placement of the Table of Contents (TOC) ==== | ||
Line 142: | Line 163: | ||
There are two ways to build tables: | There are two ways to build tables: | ||
*in special Wiki-markup (see [ | *in special Wiki-markup (see [[wp:Help:Table|Wikipedia Help:Table]]) | ||
*with the usual HTML elements: <table>, <tr>, <td> or <th>. | *with the usual HTML elements: <table>, <tr>, <td> or <th>. | ||
For the latter, and a discussion on when tables are appropriate, see [ | For the latter, and a discussion on when tables are appropriate, see [[wp:Wikipedia:How_to_use_tables|Wikipedia:How to use tables]]. | ||
===Variables=== | ===Variables=== | ||
'' | : ''See also [[wp:Help:Variable|Wikipedia Help:Variable]]'' | ||
{| | {| | ||
|- | |- | ||
! Code | ! Code | ||
! Effect | ! Effect | ||
! Description | |||
|- | |- | ||
| <nowiki>{{CURRENTWEEK}}</nowiki> || {{CURRENTWEEK}} | | <nowiki>{{CURRENTWEEK}}</nowiki> || {{CURRENTWEEK}} || Current week's number in the year | ||
|- | |- | ||
| <nowiki>{{CURRENTDOW}}</nowiki> || {{CURRENTDOW}} | | <nowiki>{{CURRENTDOW}}</nowiki> || {{CURRENTDOW}} || Current number of the day of the week | ||
|- | |- | ||
| <nowiki>{{CURRENTMONTH}}</nowiki> || {{CURRENTMONTH}} | | <nowiki>{{CURRENTMONTH}}</nowiki> || {{CURRENTMONTH}} || Current month's number out of 12 | ||
|- | |- | ||
| <nowiki>{{CURRENTMONTHNAME}}</nowiki> | | <nowiki>{{CURRENTMONTHNAME}}</nowiki> || {{CURRENTMONTHNAME}} || Name of the current month | ||
| {{CURRENTMONTHNAME}} | |||
|- | |- | ||
| <nowiki>{{ | | <nowiki>{{CURRENTDAY}}</nowiki> || {{CURRENTDAY}} || Current number of the day of the month out of 31 | ||
| {{ | |||
|- | |- | ||
| <nowiki>{{ | | <nowiki>{{CURRENTDAYNAME}}</nowiki> || {{CURRENTDAYNAME}} || Name of the current day | ||
|- | |- | ||
| <nowiki>{{ | | <nowiki>{{CURRENTYEAR}}</nowiki> || {{CURRENTYEAR}} || Current year number | ||
|- | |- | ||
| <nowiki>{{ | | <nowiki>{{CURRENTTIME}}</nowiki> || {{CURRENTTIME}} || Current time, 24 hour format | ||
|- | |- | ||
| <nowiki>{{ | | <nowiki>{{NUMBEROFARTICLES}}</nowiki> || {{NUMBEROFARTICLES}} || Number of "real" articles <nowiki>*</nowiki> | ||
|- | |- | ||
| <nowiki>{{ | | <nowiki>{{PAGENAME}}</nowiki> || {{PAGENAME}} || Name of the current page | ||
| {{ | |||
|- | |- | ||
| <nowiki>{{ | | <nowiki>{{NAMESPACE}}</nowiki> || {{NAMESPACE}} || Namespace the current page resides in | ||
|- | |- | ||
| <nowiki>{{ | | <nowiki>{{REVISIONID}}</nowiki> || {{REVISIONID}} || The unique ID number for this revision of the page | ||
|- | |- | ||
| <nowiki>{{ | | <nowiki>{{localurl:pagename}}</nowiki> || {{localurl:pagename}} || Page's URL without root domain | ||
|- | |- | ||
| <nowiki>{{localurl:</nowiki>''Wikipedia:Sandbox''<nowiki>|action=edit}}</nowiki> || {{localurl:Wikipedia:Sandbox|action=edit}} || Link to directly edit a page, without root domain | |||
| <nowiki>{{localurl:</nowiki>''Wikipedia:Sandbox''<nowiki>|action=edit}}</nowiki> | |||
| {{localurl:Wikipedia:Sandbox|action=edit}} | |||
|- | |- | ||
| <nowiki>{{SERVER}}</nowiki> || {{SERVER}} | | <nowiki>{{SERVER}}</nowiki> || {{SERVER}} || Root domain | ||
|- | |- | ||
| <nowiki>{{ns:1}}</nowiki> || {{ns:1}} | | <nowiki>{{ns:1}}</nowiki> || {{ns:1}} || Namespace 1 | ||
|- | |- | ||
| <nowiki>{{ns:2}}</nowiki> || {{ns:2}} | | <nowiki>{{ns:2}}</nowiki> || {{ns:2}} || Namespace 2 | ||
|- | |- | ||
| <nowiki>{{ns:3}}</nowiki> || {{ns:3}} | | <nowiki>{{ns:3}}</nowiki> || {{ns:3}} || Namespace 3 | ||
|- | |- | ||
| <nowiki>{{ns:4}}</nowiki> || {{ns:4}} | | <nowiki>{{ns:4}}</nowiki> || {{ns:4}} || Namespace 4 | ||
|- | |- | ||
| <nowiki>{{ns:5}}</nowiki> || {{ns:5}} | | <nowiki>{{ns:5}}</nowiki> || {{ns:5}} || Namespace 5 | ||
|- | |- | ||
| <nowiki>{{ns:6}}</nowiki> || {{ns:6}} | | <nowiki>{{ns:6}}</nowiki> || {{ns:6}} || Namespace 6 | ||
|- | |- | ||
| <nowiki>{{ns:7}}</nowiki> || {{ns:7}} | | <nowiki>{{ns:7}}</nowiki> || {{ns:7}} || Namespace 7 | ||
|- | |- | ||
| <nowiki>{{ns:8}}</nowiki> || {{ns:8}} | | <nowiki>{{ns:8}}</nowiki> || {{ns:8}} || Namespace 8 | ||
|- | |- | ||
| <nowiki>{{ns:9}}</nowiki> || {{ns:9}} | | <nowiki>{{ns:9}}</nowiki> || {{ns:9}} || Namespace 9 | ||
|- | |- | ||
| <nowiki>{{ns:10}}</nowiki> || {{ns:10}} | | <nowiki>{{ns:10}}</nowiki> || {{ns:10}} || Namespace 10 | ||
|- | |- | ||
| <nowiki>{{ns:11}}</nowiki> || {{ns:11}} | | <nowiki>{{ns:11}}</nowiki> || {{ns:11}} || Namespace 11 | ||
|- | |- | ||
| <nowiki>{{ns:12}}</nowiki> || {{ns:12}} | | <nowiki>{{ns:12}}</nowiki> || {{ns:12}} || Namespace 12 | ||
|- | |- | ||
| <nowiki>{{ns:13}}</nowiki> || {{ns:13}} | | <nowiki>{{ns:13}}</nowiki> || {{ns:13}} || Namespace 13 | ||
|- | |- | ||
| <nowiki>{{ns:14}}</nowiki> || {{ns:14}} | | <nowiki>{{ns:14}}</nowiki> || {{ns:14}} || Namespace 14 | ||
|- | |- | ||
| <nowiki>{{ns:15}}</nowiki> || {{ns:15}} | | <nowiki>{{ns:15}}</nowiki> || {{ns:15}} || Namespace 15 | ||
|- | |- | ||
| <nowiki>{{SITENAME}}</nowiki> || {{SITENAME}} | | <nowiki>{{SITENAME}}</nowiki> || {{SITENAME}} || Name of the wiki | ||
|} | |} | ||
'''NUMBEROFARTICLES''' is the number of pages in the main namespace which contain a link and are not a redirect, in other words number of articles, stubs containing a link, and disambiguation pages. | * <nowiki>*</nowiki> '''NUMBEROFARTICLES''' is the number of pages in the main namespace which contain a link and are not a redirect, in other words number of articles, stubs containing a link, and disambiguation pages. | ||
{{WikipediaContent}} | {{WikipediaContent}} | ||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
[[Category:Help|Editing]] | [[Category:Help|Editing]] |
Latest revision as of 23:02, 18 November 2006
118Wiki is a WikiWiki, meaning that anyone can easily edit any unprotected article and have those changes posted immediately. This page is the reference for Wiki markup, but is a very basic resource. If you need more assistance in editing the wiki, you will want to see the Wikipedia's Editing Wikipedia help page.
Minor edits
- See also Wikipedia:Minor edit
When editing a page, a logged-in user can mark that edit as "minor". Minor edits generally mean spelling corrections, formatting, and minor rearranging of text. It is possible to hide minor edits when viewing Recent Changes. Marking a real change as a minor edit is considered bad behavior, and even more so if it involves the deletion of some text. If one has accidentally marked an edit as minor, make another edit (add an extra space between two words, or a line break), mark it major, and say "the previous edit was major" in the summary.
The wiki markup
In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column.
You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm, you can do so in the Sandbox.
Description | You type | You get |
Applies anywhere | ||
Italicise text |
''italic'' |
italic |
Bold text |
'''bold''' |
bold |
Bold and italic |
'''''bold & italic''''' |
bold & italic |
Internal link (within Wikipedia) |
[[name of page]] |
|
Redirect to another page |
#redirect [[Target page]] |
1. redirect Target page |
External link (to other websites) |
[http://www.example.com] |
|
Escape wiki markup |
with ''markup'' |
with markup |
Applies only at the beginning of the line | ||
Headings of different sizes |
==level 1== |
Level 1Level 2Level 3Level 4 |
Bullet list |
* one |
|
Numbered list |
# one |
|
Definition list |
;Definition |
|
Unformatted text |
a space at the |
a space at the beginning of each line creates unformatted monospaced text |
More editing help |
Tables
Placement of the Table of Contents (TOC)
At the current status of the wiki markup language, at least four headers trigger the TOC in front of the first header (or after introductory sections). Putting __NOTOC__ anywhere forces the TOC to disappear. See also compact TOC for alphabet and year headings.
Tables
There are two ways to build tables:
- in special Wiki-markup (see Wikipedia Help:Table)
- with the usual HTML elements: <table>, <tr>, <td> or <th>.
For the latter, and a discussion on when tables are appropriate, see Wikipedia:How to use tables.
Variables
- See also Wikipedia Help:Variable
Code | Effect | Description |
---|---|---|
{{CURRENTWEEK}} | 48 | Current week's number in the year |
{{CURRENTDOW}} | 3 | Current number of the day of the week |
{{CURRENTMONTH}} | 11 | Current month's number out of 12 |
{{CURRENTMONTHNAME}} | November | Name of the current month |
{{CURRENTDAY}} | 27 | Current number of the day of the month out of 31 |
{{CURRENTDAYNAME}} | Wednesday | Name of the current day |
{{CURRENTYEAR}} | 2024 | Current year number |
{{CURRENTTIME}} | 22:06 | Current time, 24 hour format |
{{NUMBEROFARTICLES}} | 14,935 | Number of "real" articles * |
{{PAGENAME}} | Editing | Name of the current page |
{{NAMESPACE}} | Help | Namespace the current page resides in |
{{REVISIONID}} | 24874 | The unique ID number for this revision of the page |
{{localurl:pagename}} | /wiki/index.php?title=Pagename | Page's URL without root domain |
{{localurl:Wikipedia:Sandbox|action=edit}} | /wiki/index.php?title=Wikipedia:Sandbox&action=edit | Link to directly edit a page, without root domain |
{{SERVER}} | https://wiki.starbase118.net | Root domain |
{{ns:1}} | Talk | Namespace 1 |
{{ns:2}} | User | Namespace 2 |
{{ns:3}} | User talk | Namespace 3 |
{{ns:4}} | 118Wiki | Namespace 4 |
{{ns:5}} | 118Wiki talk | Namespace 5 |
{{ns:6}} | File | Namespace 6 |
{{ns:7}} | File talk | Namespace 7 |
{{ns:8}} | MediaWiki | Namespace 8 |
{{ns:9}} | MediaWiki talk | Namespace 9 |
{{ns:10}} | Template | Namespace 10 |
{{ns:11}} | Template talk | Namespace 11 |
{{ns:12}} | Help | Namespace 12 |
{{ns:13}} | Help talk | Namespace 13 |
{{ns:14}} | Category | Namespace 14 |
{{ns:15}} | Category talk | Namespace 15 |
{{SITENAME}} | 118Wiki | Name of the wiki |
- * NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect, in other words number of articles, stubs containing a link, and disambiguation pages.