Portal Wiki:Cheatsheet

From the Portal Wiki
Jump to navigation Jump to search

Basic formatting

Description You type You get
Italic text

''italic''

italic

Bold text

'''bold'''

bold

Bold and italic

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

bold & italic

Internal link
(within the wiki)

[[GLaDOS]]
[[Genetic Lifeform and Disk Operating System]]
[[Atlas]] and [[P-Body]]
[[Gel]]s

GLaDOS
Genetic Lifeform and Disk Operating System
Atlas and P-Body
Gels

Categorization

[[Category:Mechanics]]
[[Category:Mechanics/fr]] (on French pages)

Places the page in Category:Mechanics
Places the page in Category:Mechanics/fr

External link
(to other websites)

[http://www.example.org Text to display]
[http://www.example.org]
http://www.example.org

Text to display
[1]
http://www.example.org

Link to Wikipedia

[[Wikipedia:Portal 2|Portal on Wikipedia]]
[[w:Portal 2|Portal 2 on Wikipedia]]

Portal 2 on Wikipedia
Portal 2 on Wikipedia

Citation Needed

{{Citation needed}}

[citation needed]

Redirect to another page

#REDIRECT [[Target page]]

Redirect arrow without text.pngTarget page

Redirect to a non-english page

#REDIRECT [[Target page/x]] {{R lang|x}} where x is the language's code (de, fr, es, ru...)

Redirect arrow without text.pngTarget page/x

Section headings
A Table of Contents will automatically be generated when four headings are added to an article.

== Level 1 ==
=== Level 2 ===
==== Level 3 ====
===== Level 4 =====
====== Level 5 ======

Level 1

Level 2

Level 3

Level 4
Level 5
Bulleted list

* 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
Indenting text

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

no indent (normal)

first indent
second indent
third indent
Image

[[Image:Wiki logo.png‎‎|100px]]

Wiki logo.png

Thumbnail image

[[Image:Wiki logo.png‎|thumb|Caption text]]

Caption text
For Talk Pages
Sign your posts on talk pages

~~~~

Username (talk) 03:00, 21 December 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}}



Creating a page

There are three ways to create a new page on the Portal Wiki:

Firstly, you can simply type the name of the new page you wish to create into the Search box on the left navigation menu. If the page does not currently exist, the page displayed will advise you that

You may create the page "[page you searched for]", but consider checking the search results below to see whether it is already covered.

Click the red text of "[page you searched for]" to begin creating the new page.

Secondly, you can navigate to the URL of the new page directly. For example, typing out https://theportalwiki.com/wiki/New_page into your browser's URL address bar and hitting the enter button will take you to a New page document. On that page you can click the CREATE tab to bring up the editing box.

Alternatively, any page that contains a red link such as example page indicates that the page does not exist. Clicking on the link will take you to a page where the first version of the page can be written and saved.

Creating a subpage

Subpages can be thought of as children of articles in the document tree. As such they should be used when you wish to create an article that is intrinsically linked to the parent article. Articles that have been translated into different languages use subpages to store the separate content. For example, the Main Page has a Main Page/pl which has the translated content in Polish.

To create a subpage, the same procedure should be used as above using the forward slash (/) to indicate the separation between the original page, and the subpage. Example:- Original page name/Subpage name.

Saving pages

Once edited, before actually saving your changes, make good use of the 'Show preview' button to preview the changes. Avoid saving too often or saving just to see what it looks like. Each page save will generate an entry in recent changes. Repeated trivial and unnecessary saves tend to clutter up that list and inconvenience users who make use of that list to watch for vandals or misinformed edits. Once you are happy with your changes, enter a brief summary of what changes you have made in the 'Summary:' text box and click the 'Save page' button.

The 'This is a minor edit' tick box should be used if small changes (for example, grammar corrections) have been made. The 'Watch this page' tick box is useful to keep an eye on changes to that article. These will show up in your 'My Watchlist' (found at the top right of the wiki when you are logged in) if any changes have been made.

See also