Tolkien Gateway

Help:Editing

(Difference between revisions)
m
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
For those users not familiar with '''editing''' a Wiki, this page lists some basic syntax. For a full list, see [[Wikipedia:Wikipedia:Cheatsheet|Wikipedia's Cheatsheet]] and [[Wikipedia:Wikipedia:How_to_edit_a_page|"How to edit a Wiki page"]].  
+
For those users not familiar with '''editing''' a Wiki, this page lists some basic syntax. For a full list, see [[Wikipedia:Wikipedia:Cheatsheet|Wikipedia's Cheatsheet]],
 +
[[Wikipedia:Help:Wiki_markup|Markup reference]], or
 +
[[Wikipedia:Wikipedia:How_to_edit_a_page|"How to edit a Wiki page"]].  
  
[[Tolkien Gateway]] has set standards for the use of syntax. Please read ''[[Tolkien Gateway:Standards]]'' before contributing.
+
[[Tolkien Gateway]] has set standards for the use of syntax. Please read ''[[Tolkien Gateway:Manual of Style]]'' before contributing. You can try out at our [[Tolkien Gateway: Sandbox|Sandbox]].
  
 
<div align="center">
 
<div align="center">
Line 13: Line 15:
 
| width="20%" style="background:#4169E1; padding:0.3em; text-align:center; color:white;"|'''You get'''
 
| width="20%" style="background:#4169E1; padding:0.3em; text-align:center; color:white;"|'''You get'''
 
|-
 
|-
|Italic text
+
|style="background:white;"|Italic text
|
+
|style="background:white;"|
 
<tt><nowiki>''italic''</nowiki></tt>
 
<tt><nowiki>''italic''</nowiki></tt>
|
+
|style="background:white;"|
 
''italic''
 
''italic''
 
|-
 
|-
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|-
 
|-
|Bold text
+
|style="background:white;"|Bold text
|
+
|style="background:white;"|
 
<tt><nowiki>'''bold'''</nowiki></tt>
 
<tt><nowiki>'''bold'''</nowiki></tt>
|
+
|style="background:white;"|
 
'''bold'''
 
'''bold'''
 
|-
 
|-
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|-
 
|-
|Bold and italic text
+
|style="background:white;"|Bold and italic text
|
+
|style="background:white;"|
 
<tt><nowiki>'''''bold and italic'''''</nowiki></tt>
 
<tt><nowiki>'''''bold and italic'''''</nowiki></tt>
|
+
|style="background:white;"|
 
'''''bold and italic'''''
 
'''''bold and italic'''''
 
|-
 
|-
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|-
 
|-
|| Internal link <br />
+
|style="background:white;"| Internal link <br />
 
<div style="padding: 0em .5em; font-size:0.9em;">''(within Tolkien Gateway)''</div>
 
<div style="padding: 0em .5em; font-size:0.9em;">''(within Tolkien Gateway)''</div>
|
+
|style="background:white;"|
 
<tt><nowiki>[[Bilbo Baggins]]</nowiki></tt><br />
 
<tt><nowiki>[[Bilbo Baggins]]</nowiki></tt><br />
 
<tt><nowiki>[[Bilbo Baggins|Bilbo]]</nowiki></tt>
 
<tt><nowiki>[[Bilbo Baggins|Bilbo]]</nowiki></tt>
|
+
|style="background:white;"|
 
[[Bilbo Baggins]]<br />
 
[[Bilbo Baggins]]<br />
 
[[Bilbo Baggins|Bilbo]]
 
[[Bilbo Baggins|Bilbo]]
Line 48: Line 50:
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|-
 
|-
|External link<br />
+
|style="background:white;"|External link<br />
 
<div style="padding: 0em .5em; font-size:0.9em;">''(to other websites)''</div>
 
<div style="padding: 0em .5em; font-size:0.9em;">''(to other websites)''</div>
|
+
|style="background:white;"|
 
<tt><nowiki>[http://www.imdb.com/name/nm0000453/ IMDb]</nowiki></tt><br />
 
<tt><nowiki>[http://www.imdb.com/name/nm0000453/ IMDb]</nowiki></tt><br />
 
<tt><nowiki>[http://en.wikipedia.org/wiki/Ian_Holm]</nowiki></tt><br />
 
<tt><nowiki>[http://en.wikipedia.org/wiki/Ian_Holm]</nowiki></tt><br />
 
<tt><nowiki>[[Wikipedia:Ian Holm|Wikipedia]]</nowiki></tt><br />  
 
<tt><nowiki>[[Wikipedia:Ian Holm|Wikipedia]]</nowiki></tt><br />  
|
+
|style="background:white;"|
 
[http://www.imdb.com/name/nm0000453/ IMDb]<br />
 
[http://www.imdb.com/name/nm0000453/ IMDb]<br />
 
[http://en.wikipedia.org/wiki/Ian_Holm]<br />
 
[http://en.wikipedia.org/wiki/Ian_Holm]<br />
Line 61: Line 63:
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|-
 
|-
|Referencing
+
|style="background:white;"|Referencing
|<tt><nowiki>Bilbo was the son of Belladonna Took{{ref|1}}</nowiki></big></tt>
+
|style="background:white;"|<tt><nowiki>Simple: Fact<ref>Source</ref></nowiki><br>
<div style="padding: 0em .5em; font-size:0.9em;">''(at the end of the article, create a section "References" with the following:)
+
<nowiki>Source used more than once:<ref name="tralala">Source 2</ref></nowiki><br>
<tt><nowiki># {{note|1}} ''[[The Hobbit]]'', [[An Unexpected Party]]</nowiki>
+
<nowiki>Reusing such a note: <ref name="tralala"/></nowiki></tt>
|Took{{ref|1}}<br><br>
+
<div style="padding: 0em .5em; font-size:0.9em;">''(at the end of the article, type <nowiki>{{</nowiki>[[Template:References|references]]<nowiki>}}</nowiki>
# {{note|1}} ''The Hobbit''
+
|style="background:white;"|Simple: Fact<ref>Source</ref><br>
 +
Source used more than once:<ref name="tralala">Source 2</ref><br>
 +
Reusing such a note: <ref name="tralala"/>
 +
<small><references/></small>
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|-
 
|-
|colspan="3" style="border-top:1px solid #0000FF;"|
+
|style="background:white;"|Section headers<br />
|-
+
|style="background:white;"|
|Section headers<br />
+
|
+
 
<tt><nowiki>== Level 1 ==</nowiki></tt><br />
 
<tt><nowiki>== Level 1 ==</nowiki></tt><br />
 
<tt><nowiki>=== Level 2 ===</nowiki></tt><br />
 
<tt><nowiki>=== Level 2 ===</nowiki></tt><br />
 
<tt><nowiki>==== Level 3 ====</nowiki></tt><br />
 
<tt><nowiki>==== Level 3 ====</nowiki></tt><br />
|
+
|style="background:white;"|
 
== Level 1 ==
 
== Level 1 ==
 
=== Level 2 ===
 
=== Level 2 ===
Line 83: Line 86:
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|-
 
|-
|Adding bullets
+
|style="background:white;"|Adding bullets
|
+
|style="background:white;"|
 
<tt>* One</tt><br />
 
<tt>* One</tt><br />
 
<tt>* Two</tt><br />
 
<tt>* Two</tt><br />
 
<tt>** Two point one</tt><br />
 
<tt>** Two point one</tt><br />
 
<tt>* Three</tt>
 
<tt>* Three</tt>
|
+
|style="background:white;"|__NOTOC__
 
* One
 
* One
 
* Two
 
* Two
Line 97: Line 100:
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|-
 
|-
|Numbered list
+
|style="background:white;"|Numbered list
 
<div style="padding: 0em .5em; font-size:0.9em;">''Empty lines between list items restarts numbering at 1.''</div>
 
<div style="padding: 0em .5em; font-size:0.9em;">''Empty lines between list items restarts numbering at 1.''</div>
|
+
|style="background:white;"|
 
<tt># One</tt><br />
 
<tt># One</tt><br />
 
<tt># Two</tt><br />
 
<tt># Two</tt><br />
 
<tt>## Two point one</tt><br />
 
<tt>## Two point one</tt><br />
 
<tt># Three</tt><br />
 
<tt># Three</tt><br />
|
+
|style="background:white;"|__NOTOC__
 
# One
 
# One
 
# Two
 
# Two
Line 112: Line 115:
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|-
 
|-
|Thumbnail image
+
|style="background:white;"|Thumbnail image<br>
|
+
<div style="padding: 0em .5em; font-size:0.9em;">''See also [[Help: Images]].''</div>
<tt><nowiki>[[Image:Parma.gif|thumb|The Tengwa Parma]]</nowiki></tt>
+
|style="background:white;"|
<div style="padding: 0em .5em; font-size:0.9em;">''To change the location add ''<tt><nowiki>|left</nowiki></tt>'' or ''<tt><nowiki>|right</nowiki></tt>'', and to change the size, add ''<tt><nowiki>|{number}px</nowiki></tt>''.''</div>
+
<tt><nowiki>[[File:Parma.gif|thumb|The Tengwa Parma]]</nowiki></tt>
|
+
|style="background:white;"|
[[Image:Parma.gif|thumb|The Tengwa Parma]]
+
[[File:Parma.gif|thumb|The Tengwa Parma]]
 +
|-
 +
|colspan="3" style="border-top:1px solid #0000FF;"|
 
|-
 
|-
 +
|style="background:white;"|Poem extension
 +
|style="background:white;"|<tt><nowiki><poem style="font-style:italic; margin-left:20px;">
 +
The text</nowiki><br><nowiki>
 +
Of the Poem</nowiki><br><nowiki>
 +
Goes here</nowiki><br><nowiki>
 +
</poem></nowiki>
 +
|style="background:white;"|<poem style="font-style:italic; margin-left:20px;">
 +
The text
 +
Of the Poem
 +
Goes here
 +
</poem>
 
|}
 
|}
 
</div>
 
</div>

Latest revision as of 13:49, 5 July 2012

For those users not familiar with editing a Wiki, this page lists some basic syntax. For a full list, see Wikipedia's Cheatsheet, Markup reference, or "How to edit a Wiki page".

Tolkien Gateway has set standards for the use of syntax. Please read Tolkien Gateway:Manual of Style before contributing. You can try out at our Sandbox.

Cheatsheet

Description You type You get
Italic text

''italic''

italic

Bold text

'''bold'''

bold

Bold and italic text

'''''bold and italic'''''

bold and italic

Internal link
(within Tolkien Gateway)

[[Bilbo Baggins]]
[[Bilbo Baggins|Bilbo]]

Bilbo Baggins
Bilbo

External link
(to other websites)

[http://www.imdb.com/name/nm0000453/ IMDb]
[http://en.wikipedia.org/wiki/Ian_Holm]
[[Wikipedia:Ian Holm|Wikipedia]]

IMDb
[1]
Wikipedia

Referencing Simple: Fact<ref>Source</ref>

Source used more than once:<ref name="tralala">Source 2</ref>
Reusing such a note: <ref name="tralala"/>

(at the end of the article, type {{references}}
Simple: Fact[1]

Source used more than once:[2]
Reusing such a note: [2]

  1. Source
  2. 2.0 2.1 Source 2
Section headers

== Level 1 ==
=== Level 2 ===
==== Level 3 ====

Level 1

Level 2

Level 3

Adding bullets

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list
Empty lines between list items restarts numbering at 1.

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Thumbnail image
See also Help: Images.

[[File:Parma.gif|thumb|The Tengwa Parma]]

The Tengwa Parma
Poem extension <poem style="font-style:italic; margin-left:20px;"> The text
Of the Poem
Goes here
</poem>

The text
Of the Poem
Goes here