Difference between revisions of "Help:Contents"

From Aussie Arcade Wiki
Jump to navigationJump to search
(Created page with "== 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...")
 
m
 
(39 intermediate revisions by the same user not shown)
Line 7: Line 7:
* Create a link to the page on another page, then click on the red link which appears
* 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. http://www.example.com/index.php?title=New_page and click on the edit link.
* 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.
On some wikis, a failed search for a page will contain a link which allows you to edit that page.
===== Creating Internal Links =====
<table border="1" cellspacing="0" bordercolordark="white" bordercolorlight="black" cellpadding="4">
<tr>
<th bgcolor="#CCCCCC" width="40%">Description</th>
<th bgcolor="#CCCCCC" width="40%">You type</th>
<th bgcolor="#CCCCCC" width="20%">You get</th>
</tr>
<tr>
<td width="40%">Internal link</td>
<td width="40%"><nowiki>[[Main Page]]</nowiki></td>
<td width="20%">[[Main Page]]</td>
</tr>
<tr>
<td width="40%">Piped link</td>
<td width="40%"><nowiki>[[Main Page|different text]]</nowiki>     
<td width="20%">[[Main Page|different text]]</td>
</tr>
<tr>
<td width="40%">Word-ending links, following so called &quot;linktrail rules&quot; localised per each language</td>
<td width="40%">
<nowiki>[[Help]]s</nowiki><br>
<nowiki>[[Help]]ing</nowiki><br>
<nowiki>[[Help]]ers</nowiki><br>
<nowiki>[[Help]]almostanylettersyoulikehere</nowiki>
</td>
<td width="20%">
[[Help]]s<br>
[[Help]]ing<br>
[[Help]]ers<br>
[[Help]]anylettersyoulikehere
</td>
</tr>
<tr>
<td width="40%">Avoiding word-ending links</td>
<td width="40%"><nowiki>[[Help]]</nowiki>ful advice
<nowiki>[[wikipedia:GNU General Public License|GPL]]</nowiki>v3
</td>
<td width="20%">
<p>[[Help]]ful advice</p>
<p>[[wikipedia:GNU General Public License|GPL]]v3</p>
</td>
</tr>
<tr>
<td width="40%">Redirect</td>
        <td width="40%"><nowiki>#REDIRECT [[Main Page]]</nowiki>
        </td>
<td width="20%">#REDIRECT [[Main Page]]</td>
</tr>
<tr>
<td width="40%">Internal link to an anchor</td>
<td width="40%"><nowiki>[[#See also]]</nowiki>
<p>Section headings and the top of the page are automatically anchored.</p>
</td>
<td width="20%">[[#See also]]</td>
</tr>
<tr>
<td width="40%">Internal link to an anchor from different text</td>
<td width="40%"><nowiki>[[#See also|different text]]</nowiki>
</td>
<td width="20%">[[#See also|different text]]</td>
</tr>
<tr>
<td width="40%">Setting an internal link anchor</td>
<td width="40%"><nowiki><div id="NameOfAnchorHere">optional text</div></nowiki><br>
<p>Omit the &quot;optional text&quot; for invisible anchor.</p>
</td>
<td width="20%">
<div id="NameOfAnchorHere">optional text</div>
</td>
</tr>
<tr>
<td width="40%">Internal link to an anchor at another page</td>
<td width="40%"><nowiki>[[Help:Images#Supported media types for images]]</nowiki></td>
<td width="20%">[[Help:Images#Supported media types for images]]</td>
</tr>
<tr>
<td width="40%">Internal link to the current page's talk page</td>
<td width="40%"><nowiki>[[{{Help_talk:Contents}}|Discussion]]</nowiki></td>
<td width="20%">[[{{Help_talk:Contents}}|Discussion]]</td>
</tr>
<tr>
<td width="40%">Internal link to a subpage</td>
<td width="40%"><nowiki>[[/example]]</nowiki>
<p><nowiki>Shortcut for [[Help:Links/example|/example]]</nowiki></p>
</td>
<td width="20%">[[/example]]</td>
</tr>
<tr>
<td width="40%">Internal link to a subpage without the leading slash</td>
<td width="40%"><nowiki>[[/example/]]</nowiki>
<p>Shortcut for <nowiki>[[Help:Links/example|example]].</nowiki></p>
</td>
<td width="20%">[[Help:Links/example|example]]</td>
</tr>
<tr>
<td width="40%">Internal link to a category page</td>
<td width="40%"><nowiki>[[:Category:Help]]</nowiki>     
</td>
<td width="20%">[[Category:Help]]</td>
</tr>
<tr>
<td width="40%">Internal link to an image or a file of other types</td>
<td width="40%"><nowiki>[[media:example.jpg]]</nowiki><br><nowiki>[[media:example.pdf]]</nowiki>
</td>
<td width="20%">[[media:example.jpg]]<br>[[media:example.pdf]]
</td>
</tr>
</table>
===== Creating External Links =====
<table border="1" cellspacing="0" bordercolordark="white" bordercolorlight="black" cellpadding="4">
    <tr>
        <td width="20%" bgcolor="#CCCCCC"><b>Description</b></td>
        <td width="50%" bgcolor="#CCCCCC"><b>You Type</b></td>
        <td width="30%" bgcolor="#CCCCCC"><b>You Get</b></td>
    </tr>
    <tr>
        <td width="20%">External Link</td>
        <td width="50%">
            <p><nowiki>http://aussiearcade.com.au</nowiki></p>
        </td>
        <td width="30%">http://aussiearcade.com.au</td>
    </tr>
    <tr>
        <td width="20%">External link with different label</td>
        <td width="50%">
            <p><nowiki>[http://aussiearcade.com.au www.aussiearcade.com.au]</nowiki></p>
        </td>
        <td width="30%">[http://aussiearcade.com.au www.aussiearcade.com.au]</td>
    </tr>
    <tr>
        <td width="20%">Numbered external link</td>
        <td width="50%"><nowiki>[http://aussiearcade.com.au]</nowiki></td>
        <td width="30%">[http://aussiearcade.com.au]</td>
    </tr>
    <tr>
        <td width="20%">External links with file icons</td>
        <td width="50%"><nowiki>[http://en.wikipedia.org/wiki/.avi video] [http://en.wikipedia.org/wiki/.ogg sound] [http://en.wikipedia.org/wiki/.pdf document]</nowiki></td>
        <td width="30%">[http://en.wikipedia.org/wiki/.avi video] [http://en.wikipedia.org/wiki/.ogg sound] [http://en.wikipedia.org/wiki/.pdf document]</td>
    </tr>
    <tr>
        <td width="20%">Mailto link</td>
        <td width="50%"><nowiki>[mailto:info@example.org email me]</nowiki></td>
        <td width="30%">[mailto:info@example.org email me]</td>
    </tr>
    <tr>
        <td width="20%">Mailto named with subject line and body</td>
        <td width="50%"><nowiki>[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]</nowiki></td>
        <td width="30%">[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]</td>
    </tr>
<br>
</table>
<br>
<br>
=====Embedding Video=====
Usage
The EmbedVideo parser function expects to be called in any of the following ways:
<nowiki>{{#ev:service|id}}</nowiki><br>
<nowiki>{{#ev:service|id|width}}</nowiki><br>
<nowiki>{{#ev:service|id|width|align}}</nowiki><br>
<nowiki>{{#ev:service|id|width|align|desc}}</nowiki><br>
<nowiki>{{#evp:service|id|desc}}</nowiki><br>
<nowiki>{{#evp:service|id|desc|align}}</nowiki><br>
<nowiki>{{#evp:service|id|desc|align|width}}</nowiki><br>
<br>
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:
  <nowiki>{{#ev:youtube|dMH0bHeiRNg}} </nowiki><br>
And if you wanted scaled down to thumbnail size, on the right with a short description, you could use:
  <nowiki>{{#ev:youtube|dMH0bHeiRNg|100|right|This is an embedded video!}}</nowiki><br>

Latest 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!}}