Portal Wiki:Cheatsheet: Difference between revisions
TheBombOCat (talk | contribs) mNo edit summary |
(+ Portal Wiki exclusive media related stuff.) |
||
Line 6: | Line 6: | ||
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;" | {|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;" | ||
|colspan="3" align="center" style="background:#cee0f2; text-align:center;" | | |colspan="3" align="center" style="background:#cee0f2; text-align:center;" | | ||
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;"> | <h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Portal Wiki Cheatsheet</h2> | ||
|-<!--WORKS ANYWHERE IN THE TEXT--> | |-<!--WORKS ANYWHERE IN THE TEXT--> | ||
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Works anywhere in the text''' | | colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Works anywhere in the text''' | ||
Line 41: | Line 41: | ||
| | | | ||
<tt><nowiki>[[Name of page]]</nowiki></tt><br /> | <tt><nowiki>[[Name of page]]</nowiki></tt><br /> | ||
<tt><nowiki>[[Name of page|Text to display]]</nowiki></tt> | <tt><nowiki>[[Name of page|Text to display]]</nowiki></tt><br /> | ||
<tt><nowiki>[[GLaDOS]]</nowiki></tt><br /> | |||
<tt><nowiki>[[GLaDOS|Genetic Lifeform and Disk Operating System]]</nowiki></tt> | |||
| | | | ||
[[Name of page]]<br /> | [[Name of page]]<br /> | ||
[[Name of page|Text to display]] | [[Name of page|Text to display]]<br /> | ||
[[GLaDOS]]<br /> | |||
[[GLaDOS|Genetic Lifeform and Disk Operating System]] | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
Line 69: | Line 73: | ||
| | | | ||
[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | [[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | ||
|- | |||
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Portal Wiki Exclusive syntax''' | |||
|- | |||
| Using [http://www.mediawiki.org/wiki/Extension:MediawikiPlayer MediawikiPlayer] | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">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.</div> | |||
|<tt><nowiki><mp3player>File:01-Science is Fun.mp3</mp3player></nowiki></tt><br/> | |||
<tt><nowiki><mp3player>http://www.youtube.com/watch?v=QGo8b_frsac</mp3player></nowiki></tt><br/> | |||
<tt><nowiki><mediaplayer>http://www.youtube.com/watch?v=zsxAlL9WAbk</mediaplayer></nowiki></tt> | |||
|<mp3player>File:01-Science is Fun.mp3</mp3player><br/> | |||
<mp3player>http://www.youtube.com/watch?v=QGo8b_frsac</mp3player><br/> | |||
<mediaplayer>http://www.youtube.com/watch?v=zsxAlL9WAbk</mediaplayer> | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
| Using [[:Template:Youtube]] | |||
|<tt><nowiki>{{youtube|vikaCt9eJ80}}</nowiki></tt><br/> | |||
<tt><nowiki>{{youtube|vikaCt9eJ80|hd=on}}</nowiki></tt><br/> | |||
<tt><nowiki>{{youtube|QGo8b_frsac|audio=on}}</nowiki></tt> | |||
|{{youtube|vikaCt9eJ80}}<br/> | |||
{{youtube|vikaCt9eJ80|hd=on}}<br/> | |||
{{youtube|QGo8b_frsac|audio=on}} | |||
|-<!--WORKS ONLY AT THE BEGINNING OF LINES--> | |-<!--WORKS ONLY AT THE BEGINNING OF LINES--> | ||
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Works only at the beginning of lines''' | | colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Works only at the beginning of lines''' |
Revision as of 16:58, 15 June 2011
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 |
Add an image |
[[File:Wiki_logo.png|thumb|alt=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.
|
~~~~ |
|
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> |
<mp3player>File:01-Science is Fun.mp3</mp3player> <mp3player>http://www.youtube.com/watch?v=QGo8b_frsac</mp3player> |
Using Template:Youtube | {{youtube|vikaCt9eJ80}} {{youtube|vikaCt9eJ80|hd=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]] |
|
Redirect to a section of another page
Redirects must be placed at the start of the first line.
|
#REDIRECT [[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 2Level 3Level 4Level 5Level 6 |
Bulleted list |
* One |
|
Numbered list |
# One |
|
Indenting text
This is used when replying on a talk page, to make it easier to follow conversations.
|
no indent (normal) |
no indent (normal)
|
Adding references | ||
Cheatsheet for citing a website or publication |