Help:Editing

From Atheist Survival Guide
Jump to: navigation, search

Contents

AtheistSurvivalGuide:Wiki specific introduction

The AtheistSurvivalGuide:Wiki is a WikiWiki, meaning that anyone can easily edit any article and have those changes posted immediately.

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.

Sections, paragraphs, lists and lines

What it looks like What you type

Start your sections as follows:



New section

Subsection

Sub-subsection


== New section ==

=== Subsection ===

==== Sub-subsection ====

A single newline has no effect on the layout. These can be used to separate sentences within a paragraph. Some editors find that this aids editing and improves the diff function.

But an empty line starts a new paragraph.

A single newline
has no effect on the layout. 
These can be used to separate
sentences within a paragraph.
Some editors find that this aids editing
and improves the ''diff'' function.

But an empty line
starts a new paragraph.
You can break lines
without starting a new paragraph.
You can break lines<br />
without starting a new paragraph.
  • Lists are easy to do:
    • start every line with a star
      • more stars means deeper levels
* Lists are easy to do:
** start every line with a star
*** more stars means deeper levels

  1. Numbered lists are also good
    1. very organized
    2. easy to follow
# Numbered lists are also good
## very organized
## easy to follow
  • You can even do mixed lists
    1. and nest them
      • like this
* You can even do mixed lists
*# and nest them
*#* like this
Definition list 
list of definitions
item 
the item's definition
; Definition list : list of definitions
; item : the item's definition
  • One item per line, no hard NEWLINE.
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 Talk pages.
: A colon indents a line or paragraph.
A manual newline starts a new paragraph.




IF a line starts with a space THEN
  it will be formatted exactly 
    as typed;
  in a fixed-width font;
  lines won't wrap;
ENDIF
this 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.

 IF a line starts with a space THEN
   it will be formatted exactly 
     as typed;
   in a fixed-width font;
   lines won't wrap;
 ENDIF
 this is useful for:
   * pasting preformatted text;
   * algorithm descriptions;
   * program source code;
   * ASCII art and chemical structures;
Centered text.
<center>Centered text.</center>
A horizontal dividing line: this is above it

and this is below it.

Mainly useful for separating threads on Talk pages.

A horizontal dividing line: this is above it
----
and this is below it. 


Character formatting

What it looks like What you type

Emphasize, strongly, very strongly.

  • These are double and triple apostrophes (single-quote marks), not double-quote marks.
  • Note that on almost all browsers, these appear as italic and bold; for semantic reasons, <i> and <b> are preferable in mathematical formulas.
''Emphasize'', '''strongly''', 
'''''very strongly'''''.
A typewriter font for technical terms.
  • For semantic reasons, <code> should be used instead when writing computer programs
A typewriter font for <tt>technical terms</tt>.
You can use small text for captions.
You can use <small>small text</small> for captions.
You can strike out deleted material

and underline new material.

You can <strike>strike out deleted material</strike>
and <u>underline new material</u>.

Umlauts and accents:
(See wikipedia:Special characters)
� � � � � �

À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í Î Ï Ñ Ò
Ó Ô Õ Ö Ø Ù
Ú Û Ü ß à á
â ã ä å æ ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ ö ø ù ú
û ü ÿ



� � � � � �
&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; 
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; 
&Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve; 
&Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave; 
&Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute; 
&acirc; &atilde; &auml; &aring; &aelig; &ccedil; 
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; 
&oelig; &otilde; &ouml; &oslash; &ugrave; &uacute; 
&ucirc; &uuml; &yuml;

Punctuation:
¿ ¡ § ¶
† ‡ • —
‹ › « »
‘ ’ “ ”


&iquest; &iexcl; &sect; &para;
&dagger; &Dagger; &bull; &mdash;
&lsaquo; &rsaquo; &laquo; &raquo;
&lsquo; &rsquo; &ldquo; &rdquo;

Commercial symbols:
™ © ® ¢ € ¥

£ ¤

&trade; &copy; &reg; &cent; &euro; &yen; 
&pound; &curren;
Subscript: x2

Superscript: x2 or x²

  • The latter method of superscript can't be used in the most general context, but is preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.

ε0 = 8.85 × 10−12 C² / J m.

1 hectare = 1 E4 m�

Subscript: x<sub>2</sub>
Superscript: x<sup>2</sup> or x&sup2;







&epsilon;<sub>0</sub> =
8.85 &times; 10<sup>&minus;12</sup>
C&sup2; / J m.


1 hectare = 1 E4 m�

Greek characters:

α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω


&alpha; &beta; &gamma; &delta; &epsilon; &zeta; 
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; 


&xi; &omicron; &pi; &rho;  &sigma; &sigmaf;
&tau; &upsilon; &phi; &chi; &psi; &omega;
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; 
&Sigma; &Phi; &Psi; &Omega;

Math characters:
∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥ →
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ℵ ø
∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
→ ↔
(See also WikiProject Mathematics)

&int; &sum; &prod; &radic; &minus; &plusmn; &infin;
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;
&times; &middot; &divide; &part; &prime; &Prime;
&nabla; &permil; &deg; &there4; &alefsym; &oslash;
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;
&not; &and; &or; &exist; &forall; &rArr; &hArr;
&rarr; &harr;
x2   ≥   0 true.
  • To space things out, use non-breaking spaces - &nbsp;.
  • &nbsp; also prevents line breaks in the middle of text, this is useful in formulas.
<i>x</i><sup>2</sup>&nbsp;&nbsp;&ge;&nbsp;&nbsp;0 true.

Complicated formulae:
  <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>

  
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>

Suppressing interpretation of markup:
Link → (<i>to</i>) the [[Gentoo-Portage Wiki FAQ]]

  • Used to show literal data that would otherwise have special meaning.
  • Escapes all Wikipedia:wiki markup, including that which looks like HTML tags.
  • Does not escape HTML character references.
  • To escape HTML character references such as &rarr; use &amp;rarr;
<nowiki>Link &rarr; (<i>to</i>) 
the [[Wikipedia FAQ]]</nowiki>

Commenting page source:
not shown in page

  • Used to leave comments in a page for future editors.
<!-- comment here -->

ISO-8859-1 Code Character Set
According to Hypertext Markup Language - 2.0 and HTML 4.01 Specification

   &#00; - &#08;   Unused
   	           Horizontal tab
   
           Line feed
   &#11; - &#12;   Unused
   
           Carriage Return
   &#14; - &#31;   Unused
               Space
   !           Exclamation mark
   "           Quotation mark
   #           Number sign
   $           Dollar sign
   %           Percent sign
   &           Ampersand
   '           Apostrophe
   (           Left parenthesis
   )           Right parenthesis
   *           Asterisk
   +           Plus sign
   ,           Comma
   -           Hyphen
   .           Period (fullstop)
   /           Solidus (slash)
   0 - 9   Digits 0-9
   :           Colon
   ;           Semi-colon
   <           Less than
   =           Equals sign
   >           Greater than
   ?           Question mark
   @           Commercial at
   A - Z   Letters A-Z
   [           Left square bracket
   \           Reverse solidus (backslash)
   ]           Right square bracket
   ^           Caret
   _           Horizontal bar (underscore)
   `           Acute accent
   a - z  Letters a-z
   {          Left curly brace
   |          Vertical bar
   }          Right curly brace
   ~          Tilde
    Unused-Space Character
   € Unused-Euro
    Unused-Unknown
   ‚ Unused-Comma
   ƒ Unused-Franc
   „ Unused-Small Double Comma
   … Unused-Elipses
   † Unused-Cross
   ‡ Unused-Double Dagger
   ˆ Unused-Circumflex Accent
   ‰ Unused-Unknown
   Š Unused-Capital S with Inverted Circumflex
   ‹ Unused-Small Less Than
   ΠUnused-OE dipthong (ligature)
    Unused-Unknown
   Ž Unused-Capital Z with Inverted Circumflex
    Unused-Unknown
    Unused-Unknown
   ‘ Unused-Left Single Quote
   ’ Unused-Right Single Quote
   “ Unused-Left Double Quote
   ” Unused-Right Double Quote
   • Unused-Dot
   – Unused-Hyphen
   — Unused-Double Hyphen
   ˜ Unused-Small Tilde
   ™ Unused-Small Trade Mark
   š Unused-Small s with Inverted Circumflex
   › Unused-Small Greater Than
   œ Unused-oe dipthong (ligature)
    Unused-Unknown
   ž Unused-Small z with Inverted Circumflex
   Ÿ Unused-Capital Y Umlaut
              Non-breaking Space
   ¡          Inverted exclamation
   ¢          Cent sign
   £          Pound sterling
   ¤          General currency sign
   ¥          Yen sign
   ¦          Broken vertical bar
   §          Section sign
   ¨          Umlaut (dieresis)
   ©          Copyright
   ª          Feminine ordinal
   «          Left angle quote, guillemotleft
   ¬          Not sign
   ­          Soft hyphen
   ®          Registered trademark
   ¯          Macron accent
   °          Degree sign
   ±          Plus or minus
   ²          Superscript two
   ³          Superscript three
   ´          Acute accent
   µ          Micro sign
   ¶          Paragraph sign
   ·          Middle dot
   ¸          Cedilla
   ¹          Superscript one
   º          Masculine ordinal
   »          Right angle quote, guillemotright
   ¼          Fraction one-fourth
   ½          Fraction one-half
   ¾          Fraction three-fourths
   ¿          Inverted question mark
   À          Capital A, grave accent
   Á          Capital A, acute accent
   Â          Capital A, circumflex accent
   Ã          Capital A, tilde
   Ä          Capital A, dieresis or umlaut mark
   Å          Capital A, ring
   Æ          Capital AE dipthong (ligature)
   Ç          Capital C, cedilla
   È          Capital E, grave accent
   É          Capital E, acute accent
   Ê          Capital E, circumflex accent
   Ë          Capital E, dieresis or umlaut mark
   Ì          Capital I, grave accent
   Í          Capital I, acute accent
   Î          Capital I, circumflex accent
   Ï          Capital I, dieresis or umlaut mark
   Ð          Capital Eth, Icelandic
   Ñ          Capital N, tilde
   Ò          Capital O, grave accent
   Ó          Capital O, acute accent
   Ô          Capital O, circumflex accent
   Õ          Capital O, tilde
   Ö          Capital O, dieresis or umlaut mark
   ×          Multiply sign
   Ø          Capital O, slash
   Ù          Capital U, grave accent
   Ú          Capital U, acute accent
   Û          Capital U, circumflex accent
   Ü          Capital U, dieresis or umlaut mark
   Ý          Capital Y, acute accent
   Þ          Capital THORN, Icelandic
   ß          Small sharp s, German (sz ligature)
   à          Small a, grave accent
   á          Small a, acute accent
   â          Small a, circumflex accent
   ã          Small a, tilde
   ä          Small a, dieresis or umlaut mark
   å          Small a, ring
   æ          Small ae dipthong (ligature)
   ç          Small c, cedilla
   è          Small e, grave accent
   é          Small e, acute accent
   ê          Small e, circumflex accent
   ë          Small e, dieresis or umlaut mark
   ì          Small i, grave accent
   í          Small i, acute accent
   î          Small i, circumflex accent
   ï          Small i, dieresis or umlaut mark
   ð          Small eth, Icelandic
   ñ          Small n, tilde
   ò          Small o, grave accent
   ó          Small o, acute accent
   ô          Small o, circumflex accent
   õ          Small o, tilde
   ö          Small o, dieresis or umlaut mark
   ÷          Division sign
   ø          Small o, slash
   ù          Small u, grave accent
   ú          Small u, acute accent
   û          Small u, circumflex accent
   ü          Small u, dieresis or umlaut mark
   ý          Small y, acute accent
   þ          Small thorn, Icelandic
   ÿ          Small y, dieresis or umlaut mark




   &#00; - &#08;   Unused
   &#09;           Horizontal tab
   
   &#10;           Line feed
   &#11; - &#12;   Unused
   
   &#13;           Carriage Return
   &#14; - &#31;   Unused
   &#32;           Space
   &#33;           Exclamation mark
   &#34;           Quotation mark
   &#35;           Number sign
   &#36;           Dollar sign
   &#37;           Percent sign
   &#38;           Ampersand
   &#39;           Apostrophe
   &#40;           Left parenthesis
   &#41;           Right parenthesis
   &#42;           Asterisk
   &#43;           Plus sign
   &#44;           Comma
   &#45;           Hyphen
   &#46;           Period (fullstop)
   &#47;           Solidus (slash)
   &#48; - &#57;   Digits 0-9
   &#58;           Colon
   &#59;           Semi-colon
   &#60;           Less than
   &#61;           Equals sign
   &#62;           Greater than
   &#63;           Question mark
   &#64;           Commercial at
   &#65; - &#90;   Letters A-Z
   &#91;           Left square bracket
   &#92;           Reverse solidus (backslash)
   &#93;           Right square bracket
   &#94;           Caret
   &#95;           Horizontal bar (underscore)
   &#96;           Acute accent
   &#97; - &#122;  Letters a-z
   &#123;          Left curly brace
   &#124;          Vertical bar
   &#125;          Right curly brace
   &#126;          Tilde
   &#127; Unused-Space Character
   &#128; Unused-Euro
   &#129; Unused-Unknown
   &#130; Unused-Comma
   &#131; Unused-Franc
   &#132; Unused-Small Double Comma
   &#133; Unused-Elipses
   &#134; Unused-Cross
   &#135; Unused-Double Dagger
   &#136; Unused-Circumflex Accent
   &#137; Unused-Unknown
   &#138; Unused-Capital S with Inverted Circumflex
   &#139; Unused-Small Less Than
   &#140; Unused-OE dipthong (ligature)
   &#141; Unused-Unknown
   &#142; Unused-Capital Z with Inverted Circumflex
   &#143; Unused-Unknown
   &#144; Unused-Unknown
   &#145; Unused-Left Single Quote
   &#146; Unused-Right Single Quote
   &#147; Unused-Left Double Quote
   &#148; Unused-Right Double Quote
   &#149; Unused-Dot
   &#150; Unused-Hyphen
   &#151; Unused-Double Hyphen
   &#152; Unused-Small Tilde
   &#153; Unused-Small Trade Mark
   &#154; Unused-Small s with Inverted Circumflex
   &#155; Unused-Small Greater Than
   &#156; Unused-oe dipthong (ligature)
   &#157; Unused-Unknown
   &#158; Unused-Small z with Inverted Circumflex
   &#159; Unused-Capital Y Umlaut
   &#160;          Non-breaking Space
   &#161;          Inverted exclamation
   &#162;          Cent sign
   &#163;          Pound sterling
   &#164;          General currency sign
   &#165;          Yen sign
   &#166;          Broken vertical bar
   &#167;          Section sign
   &#168;          Umlaut (dieresis)
   &#169;          Copyright
   &#170;          Feminine ordinal
   &#171;          Left angle quote, guillemotleft
   &#172;          Not sign
   &#173;          Soft hyphen
   &#174;          Registered trademark
   &#175;          Macron accent
   &#176;          Degree sign
   &#177;          Plus or minus
   &#178;          Superscript two
   &#179;          Superscript three
   &#180;          Acute accent
   &#181;          Micro sign
   &#182;          Paragraph sign
   &#183;          Middle dot
   &#184;          Cedilla
   &#185;          Superscript one
   &#186;          Masculine ordinal
   &#187;          Right angle quote, guillemotright
   &#188;          Fraction one-fourth
   &#189;          Fraction one-half
   &#190;          Fraction three-fourths
   &#191;          Inverted question mark
   &#192;          Capital A, grave accent
   &#193;          Capital A, acute accent
   &#194;          Capital A, circumflex accent
   &#195;          Capital A, tilde
   &#196;          Capital A, dieresis or umlaut mark
   &#197;          Capital A, ring
   &#198;          Capital AE dipthong (ligature)
   &#199;          Capital C, cedilla
   &#200;          Capital E, grave accent
   &#201;          Capital E, acute accent
   &#202;          Capital E, circumflex accent
   &#203;          Capital E, dieresis or umlaut mark
   &#204;          Capital I, grave accent
   &#205;          Capital I, acute accent
   &#206;          Capital I, circumflex accent
   &#207;          Capital I, dieresis or umlaut mark
   &#208;          Capital Eth, Icelandic
   &#209;          Capital N, tilde
   &#210;          Capital O, grave accent
   &#211;          Capital O, acute accent
   &#212;          Capital O, circumflex accent
   &#213;          Capital O, tilde
   &#214;          Capital O, dieresis or umlaut mark
   &#215;          Multiply sign
   &#216;          Capital O, slash
   &#217;          Capital U, grave accent
   &#218;          Capital U, acute accent
   &#219;          Capital U, circumflex accent
   &#220;          Capital U, dieresis or umlaut mark
   &#221;          Capital Y, acute accent
   &#222;          Capital THORN, Icelandic
   &#223;          Small sharp s, German (sz ligature)
   &#224;          Small a, grave accent
   &#225;          Small a, acute accent
   &#226;          Small a, circumflex accent
   &#227;          Small a, tilde
   &#228;          Small a, dieresis or umlaut mark
   &#229;          Small a, ring
   &#230;          Small ae dipthong (ligature)
   &#231;          Small c, cedilla
   &#232;          Small e, grave accent
   &#233;          Small e, acute accent
   &#234;          Small e, circumflex accent
   &#235;          Small e, dieresis or umlaut mark
   &#236;          Small i, grave accent
   &#237;          Small i, acute accent
   &#238;          Small i, circumflex accent
   &#239;          Small i, dieresis or umlaut mark
   &#240;          Small eth, Icelandic
   &#241;          Small n, tilde
   &#242;          Small o, grave accent
   &#243;          Small o, acute accent
   &#244;          Small o, circumflex accent
   &#245;          Small o, tilde
   &#246;          Small o, dieresis or umlaut mark
   &#247;          Division sign
   &#248;          Small o, slash
   &#249;          Small u, grave accent
   &#250;          Small u, acute accent
   &#251;          Small u, circumflex accent
   &#252;          Small u, dieresis or umlaut mark
   &#253;          Small y, acute accent
   &#254;          Small thorn, Icelandic
   &#255;          Small y, dieresis or umlaut mark

Common Formatting

To keep a consistant look throughout the wiki we have setup some templates to help keep things familiar; use these wherever appropriate.

Template Listing

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.

Tables

There are two ways to build tables:

  • in special syntax to build wiki-tables in MediaWiki (see tables)
  • with the usual HTML elements: <table>, <tr>, <td> or <th>.

Variables

CodeEffect
{{CURRENTMONTH}}12
{{CURRENTMONTHNAME}}December
{{CURRENTMONTHNAMEGEN}}December
{{CURRENTDAY}}14
{{CURRENTDAYNAME}}Thursday
{{CURRENTYEAR}}2017
{{CURRENTTIME}}22:41
{{NUMBEROFARTICLES}}9

NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect, i.e. number of articles, stubs containing a link, and disambiguation pages).

Transclusion

The MediaWiki software used by Wikipedia has limited support for transclusion. This means standardized text chunks (such as boilerplate text) can be inserted into articles. For example, typing {{msg:stub}} will appear as This article is a stub. You can help Wikipedia by expanding it. when the page is saved. Other commonly used ones are {{msg:disambig}} for disambiguation pages and {{msg:spoiler}} for spoiler warnings.

Personal tools
Namespaces

Variants
Views
Actions
Wiki Navigation
Other Resources
Toolbox