NovaRoma:Wiki Editing for Romans

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(Definition lists)
(Templates)
Line 390: Line 390:
 
===Templates===
 
===Templates===
  
'''[[Help:Template|Templates]]''' are segments of Wiki markup that are meant to be copied automatically ("transcluded") into a page.
+
Templates let us put things onto pages automatically.
You add them by putting the template's name in <nowiki>{{double braces}}</nowiki>.
+
  
Some templates take ''parameters'', as well, which you separate with the pipe character.
+
Some categories of articles use special templates.  
{| border="1" cellpadding="2" cellspacing="0"
+
|-
+
!What it looks like
+
!What you type
+
|-
+
|
+
{{Transclusion demo}}
+
|<pre><nowiki>
+
{{Transclusion demo}}
+
</nowiki></pre>
+
|-
+
|
+
This template takes two parameters, and
+
creates underlined text with a hover box
+
for many modern browsers supporting CSS:
+
  
{{H:title|This is the hover text|
+
You add them by putting the template's name in <nowiki>{{double braces}}</nowiki>.
Hover your mouse over this text}}
+
 
+
Go to this page to see the H:title template
+
itself: {{tl|H:title}}
+
 
+
|<pre><nowiki>
+
This template takes two parameters, and
+
creates underlined text with a hover box
+
for many modern browsers supporting CSS:
+
 
+
{{H:title|This is the hover text|
+
Hover your mouse over this text}}
+
 
+
Go to this page to see the H:title template
+
itself: {{tl|H:title}}
+
</nowiki></pre>
+
|}
+

Revision as of 15:26, 21 March 2006

This is way more than Romans need to know. I'll try to simplify it over the next few days.

Contents

Editing: Basic steps

Start editing

To start editing a page, click on the "edit" link at the top of the page. This will bring you to the edit page: a page with a text box containing the wikitext: the editable source code from which the server produces the webpage. (If you just want to experiment, please do so on your user page.)

Editing is simple

In most cases you will just type (or paste) words, sentences, paragraphs or whole articles. It is just like typing. You can read below about making headings, lists and other fancy things.

Summarize your changes

You should write a short edit summary in the small field below the edit-box.

Minor edits

There is a check box that marks an edit as "minor". Minor edits are generally spelling corrections, formatting, and minor rearrangement of text. Other users may choose to hide minor edits when viewing Recent Changes.

Preview before saving

When you have finished, press Show preview to see how your changes will look -- before you make them permanent. Repeat the edit/preview process until you are satisfied, then click Save page and your changes will be immediately applied to the article.

Wikitext markup -- making the page look the way you want

Emphasis

  1. Emphasis: put two apostropes around the bit you want to emphasize ''emphasis'' (usually italic)
  2. More emphasis: put three apostropes around the bit you want to emphasize '''More emphasis''' (usually bold)
  3. Lots of emphasis: put five apostropes around the bit you want to emphasize '''''Lots of emphasis''''' (usually bold italic)


New paragraph

Use an empty line to start a new paragraph. A simple return is ignored, but two returns (a blank line) starts a new paragraph.

Section headings and subsection headings

Divide your article into sections by putting your heading on a new line and surrounding it with double equals signs:

==Section heading==

Make subsection headings the same way, but use three equals signs:

===Sub-section heading===
  • make smaller divisions with more equals signs.
  • Don't skip levels, like from two to four equals signs.
  • Start with two equals signs; don't use single equals signs.

Lists

Unordered lists

  • Start every list item on a new line.
  • Put an asterix in front of each item.
  • This list looks like this:
*Start every list item on a new line.
*Put an asterix in front of each item.
*This list looks like this:

Ordered lists

  1. Start every list item on a new line.
  2. Put a number sign in front of each item.
  3. This list looks like this:
#Start every list item on a new line.
#Put an asterix in front of each item.
#This list looks like this:

Definition lists

  • Put each item to define on a new line
  • Put a semicolon before each item
  • Put a colon between each item and its definition


Item to define 
A nice definition that can be as long or as short as you want.
;Item to define : A nice definition that can be as long or as short as you want.

Links

You will often want to make clickable links to other pages.

What it looks like What you type

Here's a link to a page named Official position. You can even say official positions and the link will show up correctly.

Here's a link to a page named [[Official position]].
You can even say [[official position]]s
and the link will show up correctly.

You can put formatting around a link. Example: Wikipedia.

You can put formatting around a link.
Example: ''[[Wikipedia]]''.

The first letter of articles is automatically capitalized, so wikipedia goes to the same place as Wikipedia. Capitalization matters after the first letter.

The ''first letter'' of articles is automatically capitalized,
so [[wikipedia]] goes to the same place as [[Wikipedia]].
Capitalization matters after the first letter.

The weather in London is a page that doesn't exist yet. You could create it by clicking on the link.

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

You can link to a page section by its title:

If multiple sections have the same title, add a number. #Example section 3 goes to the third section named "Example section".

You can link to a page section by its title:

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

If multiple sections have the same title, add
a number. [[#Example section 3]] goes to the
third section named "Example section".

You can make a link point to a different place with a piped link. Put the link target first, then the pipe character "|", then the link text.

You can make a link point to a different place
with a [[Help:Piped link|piped link]]. Put the link
target first, then the pipe character "|", then
the link text.

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

You can make an external link just by typing a URL: http://www.nupedia.com

You can give it a title: Nupedia

Or leave the title blank: [1]

You can make an external link just by typing a URL:
http://www.nupedia.com

You can give it a title:
[http://www.nupedia.com Nupedia]

Or leave the title blank:
[http://www.nupedia.com]

You can redirect the user to another page.

#REDIRECT [[Official position]]

Category links don't show up, but add the page to a category.

Add an extra colon to actually link to the category: Category:English documentation

Category links don't show up, but add the page
to a category. [[Category:English documentation]]

Add an extra colon to actually link to the category:
[[:Category:English documentation]]

The Wiki reformats linked dates to match the reader's date preferences. These three dates will show up the same if you choose a format in your Preferences:

The Wiki reformats linked dates to match the reader's date
preferences. These three dates will show up the same if you
choose a format in your [[Special:Preferences|]]:
* [[July 20]], [[1969]]
* [[20 July]] [[1969]]
* [[1969]]-[[07-20]]

Images, tables, video, and sounds

This is a very quick introduction. For more information, see:

What it looks like What you type

A picture, including alternate text:

The logo for this Wiki

You can put the image in a frame with a caption:

File:Wiki.png
The logo for this Wiki
A picture, including alternate text:

[[Image:Wiki.png|The logo for this Wiki]]

You can put the image in a frame with a caption:
[[Image:Wiki.png|frame|The logo for this Wiki]]

A link to Wikipedia's page for the image: Image:Wiki.png

Or a link directly to the image itself: Media:Wiki.png

A link to Wikipedia's page for the image:
[[:Image:Wiki.png]]

Or a link directly to the image itself:
[[Media:Wiki.png]]

Use media: links to link directly to sounds or videos: A sound file

Use '''media:''' links to link directly to sounds
or videos: [[media:Sg_mrob.ogg|A sound file]]
This is
a table
{| border="1" cellspacing="0" cellpadding="5" align="center"
! This
! is
|- 
| a
| table
|}

Special characters

Now that Mediawiki supports UTF-8, many of these can be entered directly into articles, without the HTML markup. On many wikis, a tool appears under the edit box to make this easier. See Help: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: (TeX is often better)
∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ø
∈ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
→ ↔ ↑ ↓


&int; &sum; &prod; &radic; &minus; &plusmn; &infin;
&asymp; &prop; &equiv; &ne; &le; &ge;
&times; &middot; &divide; &part; &prime; &Prime;
&nabla; &permil; &deg; &there4; &oslash;
&isin; &cap; &cup; &sub; &sup; &sube; &supe;
&not; &and; &or; &exist; &forall; &rArr; &hArr;
&rarr; &harr; &uarr; &darr;

Problem symbols:
ℵ ∉


&alefsym; &notin;

Templates

Templates let us put things onto pages automatically.

Some categories of articles use special templates.

You add them by putting the template's name in {{double braces}}.

Personal tools