PesWiki.com

Menu

PESWiki:How to edit a page

Lasted edited by Andrew Munsey, updated on June 14, 2016 at 9:12 pm.

  • 86 errors has been found on this page. Administrator will correct this soon.
  • This page has been imported from the old peswiki website. This message will be removed once updated.

PESWiki is a There was an error working with the wiki: Code[66], which means that anyone can easily edit any unprotected page and save those changes immediately to that page. Editing a PESWiki page is not very difficult and there are plenty of places to get There was an error working with the wiki: Code[67]. Those pages will discuss the useful features of the wiki software, the pieces of style and content guidance, information about the There was an error working with the wiki: Code[79], or important There was an error working with the wiki: Code[80] and convention.

Wiki markup

The wiki markup is the syntax system you can use to format a PESWiki page. The information below is an elaborate list of various edits (for a more succinct reference, see http://en.wikipedia.org/wiki/Help:Wiki_markup ). The left column shows the effects available. The right column shows the wiki markup used to achieve them.

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. Try opening the Sandbox in a separate window or tab and keeping this page open for reference.

Table of contents

At the current status of the wiki markup language, having at least four headers on a page triggers the TOC to appear in front of the first header (or after introductory sections). Putting __TOC__ anywhere forces the TOC to appear at that point (instead of just before the first header). Putting __NOTOC__ anywhere forces the TOC to disappear. See also There was an error working with the wiki: Code[68] for alphabet and year headings.

Tables

There are two ways to build tables:

in special Wiki-markup (see There was an error working with the wiki: Code[81])

with the usual HTML elements: &lttable&gt, &lttr&gt, &lttd&gt or &ltth&gt.

For the latter, and a discussion on when tables are appropriate, see There was an error working with the wiki: Code[82].

Sections and subsection

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

|

New section

Subsection
Sub-subsection

|}

Remember:

It is preferable to start with a second-level heading (==) Please do not use top-level headings, they are used for page titles.

If possible, place subsections in an appropriate order.

A There was an error working with the wiki: Code[69] will automatically be added to an article that has four or more sections.

General

Newlines

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

A single newline generally has

no effect on the layout. These can

be used to separate sentences

within a paragraph.

But an empty line starts a new

paragraph. A newline can affect

the layout.

|

A single newline generally has

no effect on the layout. These can

be used to separate sentences

within a paragraph.

But an empty line starts a new

paragraph. A newline can affect

the layout.

|}

line breaks

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

You can break lines without

starting a new paragraph.

|

You can break lines without

starting a new paragraph.

|}

Please use this sparingly. Close markup between lines, do not start a link or italics or bold on one line and close it on the next.

Lists:Bullet

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

Start every line with a star (here asterisk ").

More stars means deeper levels (here asterisk ").

A newline in a list (here asterisk ").

marks the end of a list item. (here asterisk ").

|

here asterisk "

here asterisk "

here asterisk "

here asterisk "

|}

An empty line starts a new list.

:Numbered

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

#Numbered lists (here number sign "#").

##very organized (here number sign "##").

##easy to follow (here number sign "##").

###easier still (here number sign "###").

|

#Numbered lists (here number sign "#").

##very organized (here number sign "##").

##easy to follow (here number sign "##").

###easier still (here number sign "###").

|}

Definition lists

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

:item: item's definition

:another item: other definition

|

:item: item's definition

:another item: other definition

|}

Begin with a semicolon (). One item per line a newline can appear before the colon, but using a space before the colon improves parsing.

Mixed sets

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

You can even create mixed lists

# and nest them

# like this

# mix definition list as well

#: impressive

# most impressive

#: it's easy

#: a

#: b

#: c

|

You can even create mixed lists

# and nest them

# like this

# mix definition list as well

#: impressive

# most impressive

#: it's easy

#: a

#: b

#: c

|}

Indention

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

:A colon (:) indents the text

|

:A colon (:) indents the text

|}

:A colon (:) indents a line or paragraph. A manual newline starts a new paragraph. This is primarily for displayed material, but is also used for discussion on There was an error working with the wiki: Code[83]s.

blockquote

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

The blockquote

command will indent

|

The blockquote

command will indent

|}

The blockquote command ( ) will indent both margins when needed instead of the left margin only as the colon does.

Pre-formatting

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

IF a line starts with a space THEN

it will be formatted exactly

as typed

in a fixed-width font

lines will not wrap

END IF

|

IF a line starts with a space THEN

it will be formatted exactly

as typed

in a fixed-width font

lines will not wrap

END IF

|}

Pre-formatting a line has a line which starts with a space. Pre-formatting is useful for:

pasting preformatted text

algorithm descriptions

program source code

ASCII art and

chemical structures

WARNING: If you make it wide, you force the whole page to be wide and hence less readable, especially for people who use lower resolutions. Never start ordinary lines with spaces.

Centered text

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

Centered text.

|

Centered text.

|}

Please note the spelling of "center".

Links and URLs

Wikilink

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

Congress:Top 100 Technologies -- RD

|

Congress:Top 100 Technologies -- RD

|}

A link to another article. Internally, the first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link has the same effect as typing a space, but is not recommended). The link above is to the URL peswiki.com/index.php/Congress:Top_100_Technologies_--_RD, which is the article with the name "Congress:Top 100 Technologies -- RD". See also There was an error working with the wiki: Code[70].

Piped link

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

Congress:Top 100 Technologies -- RD

|

Congress:Top 100 Technologies -- RD

|}

Same target, different name. This is a piped link. The "piped" text must be placed first, then the text that will be displayed second.

Blending

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

Generators needed

|

Generators needed

|}

Endings are blended into the link. Preferred style is to use this instead of a piped link, if possible. Blending can be suppressed by using tags, which may be desirable in some instances.

Namespace link

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

PESWiki:Manual of Style

|

PESWiki:Manual of Style

|}

Link to a namespace.

Images

Only images that have been uploaded to PESWiki can be used. To upload images, use the There was an error working with the wiki: Code[71]. You can find the uploaded image on the There was an error working with the wiki: Code[72].

Images

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|A picture:

Image:PES Logo 95x94.gif

|A picture:

Image:PES Logo 95x94.gif

|}

Clicking on an image displayed on a page leads to the description page.

Images and alternative text

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|A picture:

Image:PES Logo 95x94.gif

|A picture:

Image:PES Logo 95x94.gif

|}

Alternative text, used when a mouse hovers over the image or when the image is not loaded in a text-only browser, or when spoken aloud, is strongly encouraged. See There was an error working with the wiki: Code[73] for help on choosing it. Clicking on an image displayed on a page leads to the description page. Clicking on an image displayed on a page leads to the description page.

Image right floating with caption

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|A picture:

Image:PES Logo 95x94.gif

|A picture:

Image:PES Logo 95x94.gif

|}

The frame tag automatically floats the image right. The caption is also used as alternate text. Clicking on an image displayed on a page leads to the description page.

Image right floating without caption

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|A picture:

Image:PES Logo 95x94.gif

|A picture:

Image:PES Logo 95x94.gif

|}

The help topic on There was an error working with the wiki: Code[74] explains more options. This picture is resized. Clicking on an image displayed on a page leads to the description page.

Picture pixel resize (ex., 30)

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|A picture:

Image:PES Logo 95x94.gif

|A picture:

Image:PES Logo 95x94.gif

|}

The help topic on There was an error working with the wiki: Code[75] explains more options.

Image name linking direct to description

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|A picture:

There was an error working with the wiki: Code[84]

|A picture:

There was an error working with the wiki: Code[85]

|}

Text linking direct to image description

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|A picture:

There was an error working with the wiki: Code[76]

|A picture:

There was an error working with the wiki: Code[77]

|}

To include links to images shown as links instead of drawn on the page, use a "media" link.

vertical column table wiki markup

{| border="1" cellpadding="2" cellspacing="0" width="100%"

|-

! Width="50%"| What it looks like

! What you type

|- valign="top"

|

Example:

{| align=right |-

| Place images here

|}

|

Example:

{| align=right

|-

|

Place images here

|}

|}

Variables

(See also There was an error working with the wiki: Code[86])

{|

|-

! Code

! Effect

|-

| There was an error working with the wiki: Code[1] || There was an error working with the wiki: Code[1]

|-

| There was an error working with the wiki: Code[3] || There was an error working with the wiki: Code[3]

|-

| There was an error working with the wiki: Code[5] || There was an error working with the wiki: Code[5]

|-

| There was an error working with the wiki: Code[7]

| There was an error working with the wiki: Code[8]

|-

| There was an error working with the wiki: Code[9]

| There was an error working with the wiki: Code[10]

|-

| There was an error working with the wiki: Code[11] || There was an error working with the wiki: Code[11]

|-

| There was an error working with the wiki: Code[13] || There was an error working with the wiki: Code[13]

|-

| There was an error working with the wiki: Code[15] || There was an error working with the wiki: Code[15]

|-

| There was an error working with the wiki: Code[17] || There was an error working with the wiki: Code[17]

|-

| There was an error working with the wiki: Code[19]

| There was an error working with the wiki: Code[20]

|-

| There was an error working with the wiki: Code[21] || There was an error working with the wiki: Code[21]

|-

| There was an error working with the wiki: Code[23] || There was an error working with the wiki: Code[23]

|-

| There was an error working with the wiki: Code[25]

| There was an error working with the wiki: Code[26]

|-

| There was an error working with the wiki: Code[27]

| There was an error working with the wiki: Code[28]

|-

| There was an error working with the wiki: Code[29] || There was an error working with the wiki: Code[29]

|-

| There was an error working with the wiki: Code[31] || There was an error working with the wiki: Code[31]

|-

| There was an error working with the wiki: Code[33] || There was an error working with the wiki: Code[33]

|-

| There was an error working with the wiki: Code[35] || There was an error working with the wiki: Code[35]

|-

| There was an error working with the wiki: Code[37] || There was an error working with the wiki: Code[37]

|-

| There was an error working with the wiki: Code[39] || There was an error working with the wiki: Code[39]

|-

| There was an error working with the wiki: Code[41] || There was an error working with the wiki: Code[41]

|-

| There was an error working with the wiki: Code[43] || There was an error working with the wiki: Code[43]

|-

| There was an error working with the wiki: Code[45] || There was an error working with the wiki: Code[45]

|-

| There was an error working with the wiki: Code[47] || There was an error working with the wiki: Code[47]

|-

| There was an error working with the wiki: Code[49] || There was an error working with the wiki: Code[49]

|-

| There was an error working with the wiki: Code[51] || There was an error working with the wiki: Code[51]

|-

| There was an error working with the wiki: Code[53] || There was an error working with the wiki: Code[53]

|-

| There was an error working with the wiki: Code[55] || There was an error working with the wiki: Code[55]

|-

| There was an error working with the wiki: Code[57] || There was an error working with the wiki: Code[57]

|-

| There was an error working with the wiki: Code[59] || There was an error working with the wiki: Code[59]

|-

| There was an error working with the wiki: Code[61] || There was an error working with the wiki: Code[61]

|}

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 There was an error working with the wiki: Code[63] to convert a word from the nominative case to some other case. For example, There was an error working with the wiki: Code[64]}} means the same as There was an error working with the wiki: Code[65].

See also

Help:Bullet format - suggestions for news/directory bullet formating

There was an error working with the wiki: Code[78]

Help:Contents

http://www.mediawiki.org/wiki/Help:Contents

Comments