Portal Wiki Cheatsheet

From the Portal Wiki
Revision as of 16:58, 15 June 2011 by RJackson (talk | contribs) (+ Portal Wiki exclusive media related stuff.)
Jump to navigation Jump to search


Portal Wiki Cheatsheet

Works anywhere in the text
Description You type You get
Italic text

''italic''

italic

Bold text

'''bold'''

bold

Bold and italic text

'''''bold & italic'''''

bold & italic

Link to another Wikipedia page

[[Name of page]]
[[Name of page|Text to display]]
[[GLaDOS]]
[[GLaDOS|Genetic Lifeform and Disk Operating System]]

Name of page
Text to display
GLaDOS
Genetic Lifeform and Disk Operating System

Add an image

[[File:Wiki_logo.png|thumb|alt=Alt text|Caption]]

Alt text
Caption
Add a page to a category [[Category:Category name]] Categories should be placed at the end of pages. The category name will display in a bar at the bottom when the page is previewed or saved.
Signature
Sign your contributions when posting to a Talk Page.
Do not sign when contributing to an article.

~~~~

Username (talk) 20:57, 18 April 2024 (UTC)

Portal Wiki Exclusive syntax
Using MediawikiPlayer
This extension adds a number of commands for embedding media into an article. The following examples include embedding YouTube content via this extension, however we prefer people to use the Template:Youtube template for that.
<mp3player>File:01-Science is Fun.mp3</mp3player>

<mp3player>http://www.youtube.com/watch?v=QGo8b_frsac</mp3player>
<mediaplayer>http://www.youtube.com/watch?v=zsxAlL9WAbk</mediaplayer>

<mp3player>File:01-Science is Fun.mp3</mp3player>

<mp3player>http://www.youtube.com/watch?v=QGo8b_frsac</mp3player>
<mediaplayer>http://www.youtube.com/watch?v=zsxAlL9WAbk</mediaplayer>

Using Template:Youtube {{youtube|vikaCt9eJ80}}

{{youtube|vikaCt9eJ80|hd=on}}
{{youtube|QGo8b_frsac|audio=on}}



Works only at the beginning of lines
Description You type You get
Redirect to another page
Redirects must be placed at the start of the first line.

#REDIRECT [[Target page]]

File:Redirect arrow without text.svg Target page

Redirect to a section of another page
Redirects must be placed at the start of the first line.

#REDIRECT [[Target page#anchorName]]

File:Redirect arrow without text.svg Target page#anchorName

Section headings
A Table of Contents will automatically be generated when four headings are added to an article.
Do not use =Level 1=; it is reserved for page titles.

== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level 2

Level 3

Level 4

Level 5
Level 6
Bulleted list

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Indenting text
This is used when replying on a talk page, to make it easier to follow conversations.

no indent (normal)
:first indent
::second indent
:::third indent

no indent (normal)

first indent
second indent
third indent
Adding references

Cheatsheet for citing a website or publication
Referencing for beginners