StrategyWiki:Guide/Wiki markup: Difference between revisions

Jump to navigation Jump to search
Mass overhaul. Basic markup help is now available on-site!
(Changed to link to wikimedia page)
(Mass overhaul. Basic markup help is now available on-site!)
Line 1: Line 1:
Currently we don't have a full editing help page set up, but the [http://meta.wikimedia.org/wiki/Help:Editing Mediawiki markup description] shows all the examples you should need to correctly format your pages.
This page explains basic wiki markup and provides links to pages explaining advanced features. For a more complete guide, you may want to see [http://meta.wikimedia.org/wiki/Help:Editing Help:Editing on Wikimedia.org].


{{wip}}
== Basic Formatting ==
Plain text appears the same way that it was entered. A single newline inside the editing window will not affect the appearance of the text, but two consecutive newlines (one blank line) will cause a paragraph break. You can also use '''bold''', ''italics'', and '''''bold italics''''' formatting on blocks of text.
 
{| width="100%" border="1"
|-
! width="50%"|
What you see
! width="50%"|
What you type
|-
| width="50%"|
Hello, world!
| width="50%"|
<pre>Hello, world!</pre>
|-
| width="50%"|
Hello
there.
| width="50%"|
<pre>Hello
there.</pre>
|-
| width="50%"|
Paragraph one.
 
Paragraph two.
| width="50%"|
<pre>Paragraph one.
 
Paragraph two.</pre>
|-
| width="50%"|
'''Bold.'''
 
''Italics.''
 
'''''Bold italics.'''''
| width="50%"|
<pre>'''Bold.'''
 
''Italics.''
 
'''''Bold italics.'''''</pre>
|}
<br />
== Headings ==
Use headings to divide up a page into logical sections. A table of contents will automatically appear at the top of pages with four or more headings for easy navigation. See [[Help:Heading]] for information about using headings.
 
== Links ==
Link from one page to another to help readers navigate your guide. You can link to any page on the wiki or any external web page. To link to a page in another wiki namespace, use the full page name (i.e. <nowiki>Help:Contents</nowiki>).
 
{| width="100%" border="1"
|-
! width="50%"|
What you see
! width="50%"|
What you type
|-
| width="50%"|
[[Zelda: Ocarina of Time]]
| width="50%"|
<pre>[[Zelda: Ocarina of Time]]</pre>
|-
| width="50%"|
[[Zelda: Ocarina of Time|Ocarina of Time Homepage (named link)]]
| width="50%"|
<pre>[[Zelda: Ocarina of Time|Ocarina of Time Homepage (named link)]]</pre>
|-
| width="50%"|
[[Nonexistant page]]
| width="50%"|
<pre>[[Nonexistant page]]</pre>
|-
| width="50%"|
http://www.google.com
| width="50%"|
<pre>http://www.google.com</pre>
|-
| width="50%"|
[http://www.google.com]
| width="50%"|
<pre>[http://www.google.com]</pre>
|-
| width="50%"|
[http://www.google.com Google]
| width="50%"|
<pre>[http://www.google.com Google]</pre>
|}
<br />
== Lists ==
You can create bulleted or numbered lists and sublists by prefixing lines with a special character.
 
{| width="100%" border="1"
|-
! width="50%"|
What you see
! width="50%"|
What you type
|-
| width="50%"|
* Bullet one
* Bullet two
* Bullet three
| width="50%"|
<pre>* Bullet one
* Bullet two
* Bullet three</pre>
|-
| width="50%"|
# First
# Second
# Third
| width="50%"|
<pre># First
# Second
# Third</pre>
|-
| width="50%"|
* Point
** Subpoint
** Subpoint
*** Subsubpoint
* Point
| width="50%"|
<pre>* Point
** Subpoint
** Subpoint
*** Subsubpoint
* Point</pre>
|-
| width="50%"|
# Thing
## Subthing
## Subthing
### Subsubthing
# Thing
| width="50%"|
<pre># Thing
## Subthing
## Subthing
### Subsubthing
# Thing</pre>
|-
| width="50%"|
* Bullet
# Numbered
# Numbered
* Bullet
# Numbered
# Numbered
| width="50%"|
<pre>* Bullet
# Numbered
# Numbered
* Bullet
# Numbered
# Numbered</pre>
|}
<br />
== Indenting ==
You can indent paragraphs by prefixing the paragraph with a colon. This is helpful for lining up items under a bullet point or for quoting big blocks of text.
 
{| width="100%" border="1"
|-
! width="50%"|
What you see
! width="50%"|
What you type
|-
| width="50%"|
This is a short paragraph. It is not indented.
:This is a second paragraph. It has been indented a little bit.
::This third paragraph has been indented twice.
| width="50%"|
<pre>This is a short paragraph. It is not indented.
:This is a second paragraph. It has been indented a little bit.
::This third paragraph has been indented twice.</pre>
|}
<br />
== No Formatting/No Wiki ==
There are several methods to keep your text from being formatted and keep its contents from being parsed for wiki markup.
 
{| width="100%" border="1"
|-
! width="50%"|
What you see
! width="50%"|
What you type
|-
| width="50%"|
Preformatted text. '''Wiki markup still works.'''
| width="50%"|
<pre> Preformatted text. '''Wiki markup still works.'''</pre>
 
(There is a space before the line.)
|-
| width="50%"|
<nowiki>Unwikified text. '''Wiki markup is off.'''</nowiki>
| width="50%"|
<pre>&lt;nowiki&gt;[[Unwikified text.]] '''Wiki markup is off.'''&lt;/nowiki&gt;</pre>
|-
| width="50%"|
<pre>Preformatted text. No [[formatting]] or '''wiki markup'''.</pre>
| width="50%"|
<pre>&lt;pre&gt;Preformatted text. No [[formatting]] or '''wiki markup'''.&lt;/pre&gt;</pre>
|}
<br />
== Images ==
Use of images can really help an explanation and can help to spice up a dull guide. See the [[Help:Image]] page for detailed instructions about uploading and using images in your pages.
 
== Templates ==
You can use templates to insert pre-created content into your pages. By inserting a simple tag into your pages, you can achieve some nice effects and simplify editing. When a page is viewed, the tags are expanded out to their original form. See the [[Help:Template]] page for detailed information about creating and using templates.
 
== Categories ==
You can place your page into categories that group it with related pages and make it easier for readers to find. See the [[Help:Category]] page for information about adding your page to categories and linking to category listings.
154

edits

Navigation menu