Help:Editing: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
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]]

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]]
[[name of page|display text]]

name of page
display text

Redirect to another page

#redirect [[Target page]]

1. redirect Target page

External link

(to other websites)

[http://www.example.com]
[http://www.example.com display text]
http://www.example.com

[1]
display text
http://www.example.com

Escape wiki markup

with ''markup''
<nowiki>without ''markup''</nowiki>

with markup
without ''markup''

Applies only at the beginning of the line
Headings

of different sizes

==level 1==
===level 2===
====level 3====
=====level 4=====

Level 1

Level 2

Level 3

Level 4
Bullet list

* one
* two
** two point one
* three

  • one
  • two
    • two point one
  • three
Numbered list

# one
# two
## two point one
# three

  1. one
  2. two
    1. two point one
  3. three
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
 
Unformatted text

  a space at the
  beginning of each line
  creates unformatted
  monospaced text

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}} 16 Current week's number in the year
{{CURRENTDOW}} 2 Current number of the day of the week
{{CURRENTMONTH}} 04 Current month's number out of 12
{{CURRENTMONTHNAME}} April Name of the current month
{{CURRENTDAY}} 16 Current number of the day of the month out of 31
{{CURRENTDAYNAME}} Tuesday Name of the current day
{{CURRENTYEAR}} 2024 Current year number
{{CURRENTTIME}} 10:43 Current time, 24 hour format
{{NUMBEROFARTICLES}} 14,595 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.
Wp-logo.png
Content from this article may
have come partially, or
entirely from  
Wikipedia