Help:Editing

From 118Wiki
Jump to: navigation, search

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}} 38 Current week's number in the year
{{CURRENTDOW}} 4 Current number of the day of the week
{{CURRENTMONTH}} 09 Current month's number out of 12
{{CURRENTMONTHNAME}} September Name of the current month
{{CURRENTDAY}} 21 Current number of the day of the month out of 31
{{CURRENTDAYNAME}} Thursday Name of the current day
{{CURRENTYEAR}} 2017 Current year number
{{CURRENTTIME}} 06:57 Current time, 24 hour format
{{NUMBEROFARTICLES}} 10,683 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