Difference between revisions of "Help:Contents"
m |
m |
||
(18 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
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 | ===== Creating Internal Links ===== | ||
<table border="1" cellspacing="0" bordercolordark="white" bordercolorlight="black" cellpadding="4"> | <table border="1" cellspacing="0" bordercolordark="white" bordercolorlight="black" cellpadding="4"> | ||
Line 33: | Line 31: | ||
<tr> | <tr> | ||
<td width="40%">Word-ending links, following so called "linktrail rules" localised per each language</td> | <td width="40%">Word-ending links, following so called "linktrail rules" localised per each language</td> | ||
<td width="40%"><nowiki> | <td width="40%"> | ||
[[Help]]s | <nowiki>[[Help]]s</nowiki><br> | ||
<nowiki>[[Help]]ing</nowiki><br> | |||
[[Help]]ing | <nowiki>[[Help]]ers</nowiki><br> | ||
<nowiki>[[Help]]almostanylettersyoulikehere</nowiki> | |||
[[Help]]ers | |||
[[Help]]almostanylettersyoulikehere</nowiki> | |||
</td> | </td> | ||
<td width="20%"> | <td width="20%"> | ||
[[Help]]s<br> | |||
[[Help]]ing<br> | |||
[[Help]]ers<br> | |||
[[Help]]anylettersyoulikehere | |||
</td> | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td width="40%">Avoiding word-ending links</td> | <td width="40%">Avoiding word-ending links</td> | ||
<td width="40%"> | <td width="40%"><nowiki>[[Help]]</nowiki>ful advice | ||
[[Help]] | |||
[[wikipedia:GNU General Public License|GPL]] | <nowiki>[[wikipedia:GNU General Public License|GPL]]</nowiki>v3 | ||
</td> | </td> | ||
<td width="20%"> | <td width="20%"> | ||
<p> | <p>[[Help]]ful advice</p> | ||
<p> | <p>[[wikipedia:GNU General Public License|GPL]]v3</p> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td width="40%">Redirect</td> | <td width="40%">Redirect</td> | ||
<td width="40%"> | <td width="40%"><nowiki>#REDIRECT [[Main Page]]</nowiki> | ||
</td> | </td> | ||
<td width="20%"> | <td width="20%">#REDIRECT [[Main Page]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td width="40%">Internal link to an anchor</td> | <td width="40%">Internal link to an anchor</td> | ||
<td width="40%"> | <td width="40%"><nowiki>[[#See also]]</nowiki> | ||
[[#See also]] | |||
<p>Section headings and the top of the page are automatically anchored.</p> | <p>Section headings and the top of the page are automatically anchored.</p> | ||
</td> | </td> | ||
<td width="20%">#See also</td> | <td width="20%">[[#See also]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td width="40%">Internal link to an anchor from different text</td> | <td width="40%">Internal link to an anchor from different text</td> | ||
<td width="40%"> | <td width="40%"><nowiki>[[#See also|different text]]</nowiki> | ||
[[#See also|different text]] | |||
</td> | </td> | ||
<td width="20%">different text</td> | <td width="20%">[[#See also|different text]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td width="40%">Setting an internal link anchor</td> | <td width="40%">Setting an internal link anchor</td> | ||
<td width="40%"> | <td width="40%"><nowiki><div id="NameOfAnchorHere">optional text</div></nowiki><br> | ||
<p>Omit the "optional text" for invisible anchor.</p> | <p>Omit the "optional text" for invisible anchor.</p> | ||
</td> | </td> | ||
Line 99: | Line 85: | ||
<tr> | <tr> | ||
<td width="40%">Internal link to an anchor at another page</td> | <td width="40%">Internal link to an anchor at another page</td> | ||
<td width="40%"> | <td width="40%"><nowiki>[[Help:Images#Supported media types for images]]</nowiki></td> | ||
[[Help:Images#Supported media types for images]] | <td width="20%">[[Help:Images#Supported media types for images]]</td> | ||
</td> | |||
<td width="20%">Help:Images#Supported media types for images</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td width="40%">Internal link to the current page's talk page</td> | <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> | |||
<td width="20%">Discussion</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td width="40%">Internal link to a subpage</td> | <td width="40%">Internal link to a subpage</td> | ||
<td width="40%"> | <td width="40%"><nowiki>[[/example]]</nowiki> | ||
[[/example]] | <p><nowiki>Shortcut for [[Help:Links/example|/example]]</nowiki></p> | ||
<p>Shortcut for [[Help:Links/example|/example]]</p> | |||
</td> | </td> | ||
<td width="20%">/example</td> | <td width="20%">[[/example]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td width="40%">Internal link to a subpage without the leading slash</td> | <td width="40%">Internal link to a subpage without the leading slash</td> | ||
<td width="40%"> | <td width="40%"><nowiki>[[/example/]]</nowiki> | ||
[[/example/]] | <p>Shortcut for <nowiki>[[Help:Links/example|example]].</nowiki></p> | ||
<p>Shortcut for [[Help:Links/example|example]].</p> | |||
</td> | </td> | ||
<td width="20%">example</td> | <td width="20%">[[Help:Links/example|example]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td width="40%">Internal link to a category page</td> | <td width="40%">Internal link to a category page</td> | ||
<td width="40%"><nowiki>[[:Category:Help]]</nowiki> | |||
</td> | |||
<td width="20%">[[Category:Help]]</td> | |||
<td width="20%">Category:Help</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td width="40%">Internal link to an image or a file of other types</td> | <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]] | |||
[[media:example.pdf]] | |||
<td width="20%">media:example.jpg< | |||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
===== External Links ===== | ===== Creating External Links ===== | ||
<table border="1" cellspacing="0" bordercolordark="white" bordercolorlight="black" cellpadding="4"> | <table border="1" cellspacing="0" bordercolordark="white" bordercolorlight="black" cellpadding="4"> | ||
Line 197: | Line 164: | ||
<td width="30%">[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]</td> | <td width="30%">[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]</td> | ||
</tr> | </tr> | ||
<br> | |||
</table> | </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 |
|
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!}}