Difference between revisions of "Help:Contents"

From Aussie Arcade Wiki
Jump to navigationJump to search
m
m
Line 165: Line 165:
     </tr>
     </tr>
<br>
<br>
</table>
=====Embedding Video=====
=====Embedding Video=====
Usage
Usage
Line 180: Line 184:
Where:
Where:


Service is the name of a video sharing service (See "service name" in the list below)id is the id of the video to includewidth (optional) is the width in pixels of the viewing area (height will be determined automatically)align (optional) is an alignment (float) attribute. May be "left" or "right".desc (optional) is a short description to display beneath the video when it is aligned.
 
* Service is the name of a video sharing service (See "service name" in the list below)
* id is the id of the video to include
* width (optional) is the width in pixels of the viewing area (height will be determined automatically)
* align (optional) is an alignment (float) attribute. May be "left" or "right".
* desc (optional) is a short description to display beneath the video when it is aligned.


For example, to include the famous "evolution of dance" YouTube video, you'd enter:
For example, to include the famous "evolution of dance" YouTube video, you'd enter:
Line 189: Line 198:


   <nowiki>{{#ev:youtube|dMH0bHeiRNg|100|right|This is an embedded video!}}</nowiki><br>
   <nowiki>{{#ev:youtube|dMH0bHeiRNg|100|right|This is an embedded video!}}</nowiki><br>
</table>

Revision as of 08:50, 24 August 2012

Basics

How do I create a new page?

There are several ways to create a new page:

  • Create a link to the page on another page, then click on the red link which appears
  • Browse to the intended location of the page, e.g. www.example.com/index.php?title=New_page and click on the edit link.

On some wikis, a failed search for a page will contain a link which allows you to edit that page.

Creating Internal Links
Description You type You get
Internal link [[Main Page]] Main Page
Piped link [[Main Page|different text]] different text
Word-ending links, following so called "linktrail rules" localised per each language

[[Help]]s
[[Help]]ing
[[Help]]ers
[[Help]]almostanylettersyoulikehere

Helps
Helping
Helpers
Helpanylettersyoulikehere

Avoiding word-ending links [[Help]]ful advice

[[wikipedia:GNU General Public License|GPL]]v3

Helpful advice

GPLv3

Redirect #REDIRECT [[Main Page]] #REDIRECT Main Page
Internal link to an anchor [[#See also]]

Section headings and the top of the page are automatically anchored.

#See also
Internal link to an anchor from different text [[#See also|different text]] different text
Setting an internal link anchor <div id="NameOfAnchorHere">optional text</div>

Omit the "optional text" for invisible anchor.

optional text
Internal link to an anchor at another page [[Help:Images#Supported media types for images]] Help:Images#Supported media types for images
Internal link to the current page's talk page [[{{Help_talk:Contents}}|Discussion]] Discussion
Internal link to a subpage [[/example]]

Shortcut for [[Help:Links/example|/example]]

/example
Internal link to a subpage without the leading slash [[/example/]]

Shortcut for [[Help:Links/example|example]].

example
Internal link to a category page [[:Category:Help]]
Internal link to an image or a file of other types [[media:example.jpg]]
[[media:example.pdf]]
media:example.jpg
media:example.pdf
Creating External Links

Description You Type You Get
External Link

http://aussiearcade.com.au

http://aussiearcade.com.au
External link with different label

[http://aussiearcade.com.au www.aussiearcade.com.au]

www.aussiearcade.com.au
Numbered external link [http://aussiearcade.com.au] [1]
External links with file icons [http://en.wikipedia.org/wiki/.avi video] [http://en.wikipedia.org/wiki/.ogg sound] [http://en.wikipedia.org/wiki/.pdf document] video sound document
Mailto link [mailto:info@example.org email me] email me
Mailto named with subject line and body [mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info] info
Embedding Video

Usage The EmbedVideo parser function expects to be called in any of the following ways:

{{#ev:service|id}}
{{#ev:service|id|width}}
{{#ev:service|id|width|align}}
{{#ev:service|id|width|align|desc}}
{{#evp:service|id|desc}}
{{#evp:service|id|desc|align}}
{{#evp:service|id|desc|align|width}}

Where:


  • Service is the name of a video sharing service (See "service name" in the list below)
  • id is the id of the video to include
  • width (optional) is the width in pixels of the viewing area (height will be determined automatically)
  • align (optional) is an alignment (float) attribute. May be "left" or "right".
  • desc (optional) is a short description to display beneath the video when it is aligned.

For example, to include the famous "evolution of dance" YouTube video, you'd enter:

 {{#ev:youtube|dMH0bHeiRNg}} 

And if you wanted scaled down to thumbnail size, on the right with a short description, you could use:

 {{#ev:youtube|dMH0bHeiRNg|100|right|This is an embedded video!}}