Portal Wiki:Cheatsheet: Difference between revisions

Jump to navigation Jump to search
+ Portal Wiki exclusive media related stuff.
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;">MediaWiki Cheatsheet</h2>  
<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'''

Navigation menu