Technology
 

Help:Editing

From Unofficial Konfabulator Wiki

Contents

[edit] Wikitext markup -- making your page look the way you want it

[edit] Organizing your writing -- sections, paragraphs, lists and lines

What it looks like What you type
Sections and subsections

Start sections with header lines

Note: Single equal signs give the highest level heading, like the page title; usually projects have the convention not to use them.


New section

Subsection

Sub-subsection


== New section ==

=== Subsection ===

==== Sub-subsection ====
Newline

A single newline has no effect on the layout.

But an empty line starts a new paragraph, or ends a list or indented part. (<p> disables this paragraphing until </p> or the end of the section)

(in Cologne Blue two newlines and a div tag give just one newline; in the order newline, div tag, newline, the result is two newlines)

You can make the wikitext more readable by putting in newlines. You might find this causes future problems.


A single
newline
has no
effect on the
layout.

But an empty line
starts a new paragraph.
You can break lines
without starting a new paragraph.

(The HTML tag <br> is sufficient. The system produces the XHTML code <br />.)

You can break lines<br>
without starting a new paragraph.
  • Unordered Lists are easy to do:
    • start every line with a star
      • more stars means deeper levels
  • A newline
  • in a list

marks the end of the list.

  • Of course
  • you can
  • start again.
* Unordered Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
*A newline
*in a list  
marks the end of the list.
*Of course
*you can
*start again.

  1. Numbered lists are also good
    1. very organized
    2. easy to follow
  2. A newline
  3. in a list

marks the end of the list.

  1. New numbering starts
  2. with 1.
# Numbered lists are also good
## very organized
## easy to follow
#A newline
#in a list  
marks the end of the list.
#New numbering starts
#with 1.
  • You can even do mixed lists
    1. and nest them
      • or break lines
        in lists
* You can even do mixed lists
*# and nest them
*#* or break lines<br>in lists

Definition list

word 
definition of the word
longer phrase
phrase defined
; word : definition of the word
; longer phrase 
: phrase defined
indenting
A colon indents a line or paragraph.

A manual newline starts a new paragraph.

  • This is often used for discussion on Talk pages.
: A colon indents a line or paragraph.
A manual newline starts a new paragraph.
Centered text.
<center>Centered text.</center>
A horizontal dividing line: above

and below.

If you don't use a section header, you don't get a TOC entry.

A horizontal dividing line: above
----
and below. 

[edit] Links, URLs

[edit] Internal links

General notes:

  • Enclose the target name in double square brackets -- "[[" and "]]"
  • First letter of target name is automatically capitalized
  • Spaces are represented as underscores (but don't do underscores yourself)
  • Links to nonexistent pages are shown in red.
  • When the mouse cursor "hovers" over the link, you see a "hover box" containing...
What it looks like What you type
Basic

Sue is reading the official position (or Official positions).

Sue is reading the 
[[official position]]
(or [[Official position]]s).
Section of page

If the section doesn't exist, the link goes to the top of the page

*[[List of cities by country#Morocco]].
*[[List of cities by country#Sealand]].

piped link

Use a pipe "|" to create a link label:

*[[Help:Links|About Links]]
*[[List of cities by country#Morocco|
Cities in Morocco]]

"blank" pipes hide stuff:

After you save, the server automatically fills in the link label.

*In parentheses: [[kingdom (biology)|]]. 
*Namespace: [[Wikipedia:Village pump|]].
Links to nonexistent pages

The weather in London is a page that doesn't exist yet.

  • You can create it by clicking on the link.
[[The weather in London]] is a page
that doesn't exist yet.
Link to yourself

You should "sign" your comments on talk pages:

Your user name: Slthytove
Or your user name plus date/time: Slthytove 18:49, 18 Oct 2005 (UTC)

The server will fill in the link after you save.

You should "sign" your comments on talk pages:
: Your user name: ~~~
: Or your user name plus date/time: ~~~~
Redirect

one article title to another with this special link.

#REDIRECT [[United States]]
Media links

To include links to non-image uploads such as sounds, use a "media" link.
Sound


[[media:Sg_mrob.ogg|Sound]]
Links to Categories

To include links to a Category page.
Category:English documentation


[[:Category:English documentation]]
Dates

Use links for dates, so everyone can set their own display order. Use Special:Preferences to change your own date display setting.

[[July 20]], [[1969]] , [[20 July]] [[1969]]
and [[1969]]-[[07-20]]
will all appear as 20 July-1969 if you set your date display preference to 1 January 2001.
Special pages

"What links here" and "Recent changes" can be linked as:
Special:Whatlinkshere/Help:Editing and Special:Recentchangeslinked/Help:Editing

[[Special:Whatlinkshere/
Help:Editing]] and
[[Special:Recentchangeslinked/
Help:Editing]]

[edit] External links

Nupedia, [1]
[http://www.nupedia.com Nupedia],
[http://www.nupedia.com]
Or just give the URL: http://www.nupedia.com.
  • In the URL all symbols must be among: A-Z a-z 0-9 ._\/~%- &#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written ^ (to be looked up in ASCII). A blank space can also be converted into an underscore.
Or just give the URL:
http://www.nupedia.com.

[edit] Images, video, and sounds

See also: Help:Image, Images_and_other_uploaded_files

What it looks like What you type
In-line picture
Wikipedia - The Free Encyclopedia
A picture: [[Image:Wiki.png]]

or, with alternative text (strongly encouraged)

[[Image:Wiki.png|
Wikipedia - The Free Encyclopedia]] 

Web browsers render alternative text when not displaying an image -- for example, when the image isn't loaded, or in a text-only browser, or when spoken aloud.

Other ways of linking to pictures
[[:Image:Wiki.png]]
[[media:Wiki.png|Ukki logo]]
Other Media Links -- Video and Sounds

Use a "media" link: Sound

[[media:Sg_mrob.ogg|Sound]]

[edit] Text formatting -- controlling how it looks

What it looks like What you type

Emphasize (italics), strongly (bold), very strongly (bold italics). (These are double and triple apostrophes, not double quotes.)

''Emphasize'', '''strongly''',
'''''very strongly'''''.

You can also write italic and bold. This is useful in mathematical formulas where you need specific font styles rather than emphasis.

F = ma

(The difference between these two methods is not very important for graphical browsers, so most people ignore it).

You can also write <i>italic</i> and <b>bold</b>.
This is useful in mathematical formulas where you 
need specific font styles rather than emphasis.
:<b>F</b> = <i>m</i><b>a</b>

You can also write in small caps.

You can also write 
<span style="font-variant:small-caps">
in small caps</span>.
</td>
</tr>
<tr valign=top>
<td>A typewriter font, sometimes used for <tt>technical terms</tt>.
</td>
<td><pre><nowiki>A typewriter font, sometimes used 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>.
Subscript: x2

Superscript: x2 or x²

Most browser have an easier time formatting lines with &sup2; than with <sup>2</sup>

ε0 = 8.85 × 10−12 C² / J 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.

[edit] Spacing things out -- spaces and tables

Using non-breaking spaces

x2    ≥    0 true.

<i>x</i><sup>2</sup>&nbsp;
&nbsp;&ge;
&nbsp;&nbsp;0 true.
Using Wikitext piped tables
x2 ≥0 true.
a b
{||-
|<i>x</i><sup>2</sup> 
| width=20px | || width=20px | ≥0 || true.
|-
| a || || b
|}

Examples and More Help

[edit] Just show what I typed

<nowiki> and <pre> tags can tell the server and the browser to display things as you typed them.

<tr> <td>
leading space
  • interpret special characters
  • interpret special wiki markup
  • don't reformat text
arrow → italicslink </pre> </td> <td valign="bottom">
 arrow      &rarr;

 ''italics''
 [[link]]

</td> </tr>

<tr valign=top> <td>

preformatted text
IF a line of plain text starts with a space
 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;
 * chemical structures;

WARNING If you make it wide, you force the whole page to be wide and hence less readable. Never start ordinary lines with spaces.

(see also below)

</td>

<td>
 IF a line of plain text starts with a space
  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;
  * chemical structures;
</td>

</tr>


<tr> <td>

typewriter font

arrow →

italics link

</td> <td valign="bottom">

<tt>arrow      &rarr;</tt>

<tt>''italics''</tt>
<tt>[[link]]</tt>

</td> </tr>

<tr> <td>

Show special character codes

&rarr; </td> <td valign="bottom">

&amp;rarr;

</td> </tr>

<tr> <td>

Comments

The text between here and here won't be displayed </td> <td>

The text between '''here'''
<!-- comment here -->
'''and here''' won't be displayed

</td> </tr> </table>

[edit] Complicated mathematical formulae

Example

arrow →

italics link

arrow      &rarr;

''italics''
[[link]]
<nowiki>
  • interpret special characters
  • don't interpret special wiki markup
  • reformat text (removing newlines and multiple spaces)

arrow → ''italics'' [[link]]

<nowiki>
arrow      &rarr;

''italics''
[[link]]
</nowiki>
<pre>
  • interpret special characters
  • don't interpret special wiki markup
  • don't reformat text
arrow      →

''italics''
[[link]]
<nowiki><pre>arrow      &rarr;

''italics''
[[link]]
</nowiki></pre>

  math

  • Use Formula or TeX markup.
  • A useful resource for understanding TeX can be found at the TeX User's Group.
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>

[edit] Special characters

Umlauts and accents:
è é ê ë ì í

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


è é ê ë ì í

&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; &laquo; &raquo; &sect; &para;
&dagger; &Dagger; &bull; - &ndash; &mdash;

Commercial symbols:
™ © ® ¢ € ¥

£ ¤
&trade; &copy; &reg; &cent; &euro; &yen;
&pound; &curren;
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:
∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ℵ ø
∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
→ ↔ ↑

&int; &sum; &prod; &radic; &minus; &plusmn; &infin;
&asymp; &prop; &equiv; &ne; &le; &ge; 
&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; &uarr;


[edit] Including another page -- transclusion and templates

Changing a transcluded file will change every file that transcludes it.

transclusion
Including the contents of another page into the current page.
{{:Transclusion Demo}}
template

A special kind of page designed for transclusion. These pages are found in the Template: namespace Templates can even take parameters. When you edit a page, all the templates used on the page are listed below the edit box.

{{Title|hovertext|This is underlined}}


[edit] External Links

This page is lifted from:

Contents

You can edit any page where you can see an edit link. The changes that you make will show on the page as soon as you save.

In pictures

Click edit at the top of the page you want to edit.


An "edit box" will open, type your new sentences or corrections.
Please note: on newer wikis you may see the new editor.


Click Preview to check what you have written.


Click Save page to save your writing.


Video walkthrough


Editing

Ready to put your flavor on things? Learn how here!

Also check out our editing Tips and Tricks

For more videos please see our online demos page.

Some other editing tips

  • Explain your edit in the 'Summary' box between the edit window and the bottom row of grey buttons. By filling it the summary box, it allows you to tell members of your wiki community why you made a certain change to an article, making communication easier. You only need to type a short message here, for example 'added introduction'.
  • Use the 'Show preview' button to check your edit before saving. Remember to save your preview before moving on. The preview button gives you a chance to check your edit for formatting and typos before it's up on the wiki for all to see. It also spares you the grief of having to go back and make another change after saving an article.
  • If you are logged in, you can mark an edit as minor by checking the 'This is a minor edit' box. This lets other editors know your edit is very small.
  • Pages that start with 'User:' are personal pages. While it's considered impolite to make major edits to other people's user pages without permission, feel free to leave messages for people on their User_talk pages.
  • Always remember to sign your talk page comments with four tildes ( ~~~~). That way, the person you're writing to will know who sent him/her the message.

Formatting

Most text formatting is usually done with wiki markup, so you don't have to learn HTML.

See Help:Formatting and Help:HTML.

Links

Links are important on wikis to help readers navigate your site. The more your pages are linked to each other, the easier it is for readers to find what they're looking for.

See Help:Links, Help:External link and also Category:Link help on Wikia Help.

Wiki variables and templates

Use {{SITENAME}} to see the current Wikia. For instance, {{SITENAME}} on this site prints out as Wikia Help.

That and a few other templates are common to MediaWiki sites. For a complete list of these "magic words", see magic words on Meta.

You can create templates. After you create the page Template:XXX, using the command {{XXX}} will include that content in your current page. So, if you have something that needs to be included on many other pages, you might want to use a template.

Most templates available on the Central Wikia can be used on individual Wikia wikis with just "wikia:" prefixed to the name. See Help:Shared templates.

See also