Help:Editing: Difference between revisions

Updating
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 [http://en.wikipedia.org/wiki/Help:Contents/Editing_Wikipedia Editing Wikipedia] help page.  
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 [http://en.wikipedia.org/wiki/Wikipedia:Minor_edit Wikipedia:Minor edit]''
: ''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 #B8C7D9; background:#f5faff; font-size: 95%;"
{| style="border:1px solid #A3B1BF; text-align:left; background:#f5faff"
|-
|-
| width="25%" style="background: #cedff2; padding: 3px 5px; text-align:center;"|'''Description'''
| width="25%" style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''Description'''
| style="background: #cedff2; padding: 3px 5px; text-align:center;"|'''You type'''
| style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''You type'''
| width="25%" style="background: #cedff2; padding: 3px 5px; text-align:center;"|'''You get'''
| width="25%" style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''You get'''
|-
|-
| colspan="3" style="background: #cedff2; padding: 3px 5px; text-align:center;" | ''applies anywhere''
| colspan="3" style="background: #cee0f2; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies anywhere
|-
|-
|Italify text
|Italicise text
|<tt><nowiki>''italic''</nowiki></tt>
|
|''italic''
<tt><nowiki>''italic''</nowiki></tt>
|
''italic''
|-
|-
|colspan="3" style="border-top:1px solid #cedff2;"|
|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 #cedff2;"|
|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 #cedff2;"|
|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 #cedff2;"|
|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 #cedff2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Escape wiki markup
|Escape wiki markup
|<tt><nowiki><nowiki>no ''markup''</nowiki></nowiki></tt>
|
|<nowiki>no ''markup''</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: #cedff2; padding: 3px 5px; text-align:center;" | ''  applies only at the beginning of the line''
| 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 #cedff2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Bullet list
|Bullet list
|
|
&#42; one<br>
<tt>&#42; one</tt><br />
&#42; two<br>
<tt>&#42; two</tt><br />
&#42;&#42; two point one<br/>
<tt>&#42;&#42; two point one</tt><br />
&#42; three<br>
<tt>&#42; three</tt>
|
|
* one
* one
Line 91: Line 113:
* three
* three
|-
|-
|colspan="3" style="border-top:1px solid #cedff2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Numbered list
|Numbered list
|
|
&#35; one<br>
<tt>&#35; one</tt><br />
&#35; two<br>
<tt>&#35; two</tt><br />
&#35;&#35; two point one<br/>
<tt>&#35;&#35; two point one</tt><br />
&#35; three<br>
<tt>&#35; three</tt>
|
|
# one
# one
Line 105: Line 127:
# three
# three
|-
|-
|colspan="3" style="border-top:1px solid #cedff2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
| Definition list
| Definition list
|
|
&#59;Definition<br>
<tt>&#59;Definition</tt><br />
&#58;item 1<br>
<tt>&#58;item 1</tt><br />
&#58;item 2<br>
<tt>&#58;item 2</tt>
|
|
;Definition
;Definition
Line 117: Line 139:
:item 2
:item 2
|-
|-
|colspan="3" style="border-top:1px solid #cedff2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|&nbsp;
|-
|-
|Unformatted text
|Unformatted text
Line 131: Line 153:
  monospaced text
  monospaced text
|-
|-
|colspan="3" align="center" style="border-top:1px solid #B8C7D9;"|[http://en.wikipedia.org/wiki/Help:Contents/Editing_Wikipedia More editing help]
|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 [http://en.wikipedia.org/wiki/Help:Table Wikipedia Help:Table])
*in special Wiki-markup (see [[wp:Help:Table|Wikipedia Help:Table]])
*with the usual HTML elements: &lt;table&gt;, &lt;tr&gt;, &lt;td&gt; or &lt;th&gt;.
*with the usual HTML elements: &lt;table&gt;, &lt;tr&gt;, &lt;td&gt; or &lt;th&gt;.


For the latter, and a discussion on when tables are appropriate, see [http://en.wikipedia.org/wiki/Wikipedia:How_to_use_tables Wikipedia:How to use tables].
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 [http://en.wikipedia.org/wiki/Help:Variable Wikipedia Help:Variable])''
: ''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>{{CURRENTMONTHNAMEGEN}}</nowiki>
| <nowiki>{{CURRENTDAY}}</nowiki> || {{CURRENTDAY}} || Current number of the day of the month out of 31
| {{CURRENTMONTHNAMEGEN}}
|-
|-
| <nowiki>{{CURRENTDAY}}</nowiki> || {{CURRENTDAY}}
| <nowiki>{{CURRENTDAYNAME}}</nowiki> || {{CURRENTDAYNAME}} || Name of the current day
|-
|-
| <nowiki>{{CURRENTDAYNAME}}</nowiki> || {{CURRENTDAYNAME}}
| <nowiki>{{CURRENTYEAR}}</nowiki> || {{CURRENTYEAR}} || Current year number
|-
|-
| <nowiki>{{CURRENTYEAR}}</nowiki> || {{CURRENTYEAR}}
| <nowiki>{{CURRENTTIME}}</nowiki> || {{CURRENTTIME}} || Current time, 24 hour format
|-
|-
| <nowiki>{{CURRENTTIME}}</nowiki> || {{CURRENTTIME}}
| <nowiki>{{NUMBEROFARTICLES}}</nowiki> || {{NUMBEROFARTICLES}} || Number of "real" articles <nowiki>*</nowiki>
|-
|-
| <nowiki>{{NUMBEROFARTICLES}}</nowiki>
| <nowiki>{{PAGENAME}}</nowiki> || {{PAGENAME}} || Name of the current page
| {{NUMBEROFARTICLES}}
|-
|-
| <nowiki>{{PAGENAME}}</nowiki> || {{PAGENAME}}
| <nowiki>{{NAMESPACE}}</nowiki> || {{NAMESPACE}} || Namespace the current page resides in
|-
|-
| <nowiki>{{NAMESPACE}}</nowiki> || {{NAMESPACE}}
| <nowiki>{{REVISIONID}}</nowiki> || {{REVISIONID}} || The unique ID number for this revision of the page
|-
|-
| <nowiki>{{REVISIONID}}</nowiki> || {{REVISIONID}}
| <nowiki>{{localurl:pagename}}</nowiki> || {{localurl:pagename}} || Page's URL without root domain
|-
|-
| <nowiki>{{localurl:pagename}}</nowiki>
| <nowiki>{{localurl:</nowiki>''Wikipedia:Sandbox''<nowiki>|action=edit}}</nowiki> || {{localurl:Wikipedia:Sandbox|action=edit}} || Link to directly edit a page, without root domain
| {{localurl:pagename}}
|-
| <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.
 
'''CURRENTMONTHNAMEGEN''' is the genitive (possessive) grammatical form of the month name, as used in some languages; '''CURRENTMONTHNAME''' is the nominative (subject) form, as usually seen in English.
 
In languages where it makes a difference, you can use constructs like <nowiki>{{grammar:case|word}}</nowiki> to convert a word from the nominative case to some other case.  For example, <nowiki>{{grammar:genitive|{{CURRENTMONTHNAME}}}}</nowiki> means the same as <nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki>. <!-- Is there a reference for this, other than the source code (for example, phase3/languages/Lnaguage*.php) ? -->
 


{{WikipediaContent}}
{{WikipediaContent}}
__NOTOC__
__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__
[[Category:Help|Editing]]
[[Category:Help|Editing]]