Difference between revisions of "Editing help"
DigitalSoju (Talk | contribs) (→How to center a table) |
DigitalSoju (Talk | contribs) |
||
Line 14: | Line 14: | ||
Example: | Example: | ||
<pre> | <pre> | ||
+ | |||
<nowiki>{| class="wikitable sortable" | <nowiki>{| class="wikitable sortable" | ||
|- | |- | ||
Line 48: | Line 49: | ||
Add | Add | ||
<pre> | <pre> | ||
− | |||
<nowiki>style="margin-left: auto; margin-right: auto;"</nowiki> | <nowiki>style="margin-left: auto; margin-right: auto;"</nowiki> | ||
Line 54: | Line 54: | ||
So it should look like: | So it should look like: | ||
− | |||
+ | <pre> | ||
<nowiki>{|class="wikitable" style="margin-left: auto; margin-right: auto;" | <nowiki>{|class="wikitable" style="margin-left: auto; margin-right: auto;" | ||
Line 72: | Line 72: | ||
|}</nowiki> | |}</nowiki> | ||
</pre> | </pre> | ||
+ | |||
{| class="wikitable" style="margin-left: auto; margin-right: auto;" | {| class="wikitable" style="margin-left: auto; margin-right: auto;" | ||
|- | |- | ||
Line 89: | Line 90: | ||
===How to make a column not sortable=== | ===How to make a column not sortable=== | ||
In this example we'll make column three not sortable | In this example we'll make column three not sortable | ||
+ | |||
<pre> | <pre> | ||
+ | |||
<nowiki>{| class="wikitable sortable" | <nowiki>{| class="wikitable sortable" | ||
|- | |- | ||
Line 123: | Line 126: | ||
==Grammar Page Template== | ==Grammar Page Template== | ||
Use the "Insert Grammar Page Template" button in the [[Help:Toolbar]]. | Use the "Insert Grammar Page Template" button in the [[Help:Toolbar]]. | ||
− | |||
==How to create a new Page == | ==How to create a new Page == | ||
Line 137: | Line 139: | ||
Don't forget to setup redirects when you create a page. If you think another person may search for the page you've created by using a different name or spelling, please create the proper redirect(s). | Don't forget to setup redirects when you create a page. If you think another person may search for the page you've created by using a different name or spelling, please create the proper redirect(s). | ||
− | |||
− | |||
==How to Link to Another Article or Page== | ==How to Link to Another Article or Page== | ||
Line 153: | Line 153: | ||
|Internal link | |Internal link | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>[[Main Page]]</nowiki> </tt> | <nowiki>[[Main Page]]</nowiki> </tt> | ||
Line 162: | Line 159: | ||
|Piped link | |Piped link | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>[[Main Page|different text]]</nowiki> </tt> | <nowiki>[[Main Page|different text]]</nowiki> </tt> | ||
Line 171: | Line 165: | ||
|External link | |External link | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>http://mediawiki.org</nowiki> </tt> | <nowiki>http://mediawiki.org</nowiki> </tt> | ||
Line 181: | Line 172: | ||
different title | different title | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>[http://mediawiki.org MediaWiki]</nowiki> </tt> | <nowiki>[http://mediawiki.org MediaWiki]</nowiki> </tt> | ||
Line 191: | Line 179: | ||
numbered | numbered | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>[http://mediawiki.org]</nowiki> </tt> | <nowiki>[http://mediawiki.org]</nowiki> </tt> | ||
Line 200: | Line 185: | ||
|Anchor link | |Anchor link | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>[[#See also]]</nowiki> </tt> | <nowiki>[[#See also]]</nowiki> </tt> | ||
Line 209: | Line 191: | ||
|Anchor link at another page | |Anchor link at another page | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>[[Help:Images#See also]]</nowiki> </tt> | <nowiki>[[Help:Images#See also]]</nowiki> </tt> | ||
Line 218: | Line 197: | ||
|Category link | |Category link | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>[[:Category:Help]]</nowiki> </tt> | <nowiki>[[:Category:Help]]</nowiki> </tt> | ||
Line 227: | Line 203: | ||
|Internal link to image file | |Internal link to image file | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>[[media:example.jpg]]</nowiki> </tt> | <nowiki>[[media:example.jpg]]</nowiki> </tt> | ||
Line 236: | Line 209: | ||
|Internal link to pdf file | |Internal link to pdf file | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>[[media:example.pdf]]</nowiki> </tt> | <nowiki>[[media:example.pdf]]</nowiki> </tt> | ||
Line 245: | Line 215: | ||
|Interwiki link | |Interwiki link | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>[[Wikipedia:MediaWiki]]</nowiki> </tt> | <nowiki>[[Wikipedia:MediaWiki]]</nowiki> </tt> | ||
Line 254: | Line 221: | ||
|mailto link | |mailto link | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>[mailto:[email protected] email me]</nowiki> </tt> | <nowiki>[mailto:[email protected] email me]</nowiki> </tt> | ||
Line 263: | Line 227: | ||
|redirect | |redirect | ||
|<tt> | |<tt> | ||
− | |||
− | |||
− | |||
<nowiki>#REDIRECT [[Main Page]]</nowiki> </tt> | <nowiki>#REDIRECT [[Main Page]]</nowiki> </tt> | ||
Line 276: | Line 237: | ||
Use the [[Help:Toolbar]] and click on the "Insert Category" button at the end of the page you are editing. This will add something like: | Use the [[Help:Toolbar]] and click on the "Insert Category" button at the end of the page you are editing. This will add something like: | ||
+ | |||
+ | |||
Line 287: | Line 250: | ||
So for example, to add this page to the 'Help' category, you would use: | So for example, to add this page to the 'Help' category, you would use: | ||
+ | |||
+ | |||
Line 300: | Line 265: | ||
For the text of the new page, enter the following: | For the text of the new page, enter the following: | ||
+ | |||
+ | |||
Line 306: | Line 273: | ||
<nowiki>#REDIRECT [[</nowiki> ''pagename'' | <nowiki>#REDIRECT [[</nowiki> ''pagename'' | ||
+ | |||
+ | |||
Line 317: | Line 286: | ||
This site uses the [http://www.mediawiki.org/wiki/Extension:FlashMP3 Flashmp3] extention to play mp3s. This site has a 5 mb limit on mp3 uploads, so use a low bitrate. | This site uses the [http://www.mediawiki.org/wiki/Extension:FlashMP3 Flashmp3] extention to play mp3s. This site has a 5 mb limit on mp3 uploads, so use a low bitrate. | ||
===Examples=== | ===Examples=== | ||
+ | |||
+ | |||
Line 323: | Line 294: | ||
<nowiki><flashmp3></nowiki> mymp3.mp3 | <nowiki><flashmp3></nowiki> mymp3.mp3 | ||
+ | |||
+ | |||
Line 330: | Line 303: | ||
Plays an uploaded mp3-file called ''mymp3.mp3''. | Plays an uploaded mp3-file called ''mymp3.mp3''. | ||
+ | |||
+ | |||
Line 337: | Line 312: | ||
<nowiki><flashmp3></nowiki> http://www.somedomain.com/mp3/mymp3.mp3 | <nowiki><flashmp3></nowiki> http://www.somedomain.com/mp3/mymp3.mp3 | ||
+ | |||
+ | |||
Line 344: | Line 321: | ||
Plays the remote mp3-file from the URL ''http://www.somedomain.com/mp3/mymp3.mp3''. | Plays the remote mp3-file from the URL ''http://www.somedomain.com/mp3/mymp3.mp3''. | ||
+ | |||
+ | |||
Line 351: | Line 330: | ||
<nowiki><flashmp3></nowiki> mymp3.mp3,yourmp3.mp3|autostart=yes|loop=yes | <nowiki><flashmp3></nowiki> mymp3.mp3,yourmp3.mp3|autostart=yes|loop=yes | ||
+ | |||
+ | |||
Revision as of 02:37, 25 April 2011
|
Help · Cheat Sheet · Community portal |
Contents
This page is under construction. 공사중 工事中 This page is being redone to be more helpful. |
If you would like to just play around and edit a page to practice, click here.
Advanced Table functions
How to make a sortable table
Add line class="wikitable sortable"
Example:
{| class="wikitable sortable" |- ! header 1 ! header 2 ! header 3 |- | row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |- | row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |}
header 1 | header 2 | header 3 |
---|---|---|
row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |
row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |
How to center a table
Add
style="margin-left: auto; margin-right: auto;"
So it should look like:
{|class="wikitable" style="margin-left: auto; margin-right: auto;" |- ! header 1 ! header 2 ! header 3 |- | row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |- | row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |}
header 1 | header 2 | header 3 |
---|---|---|
row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |
row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |
How to make a column not sortable
In this example we'll make column three not sortable
{| class="wikitable sortable" |- ! header 1 ! header 2 ! scope="col" class="unsortable" | Unsortable column |- | row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |- | row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |}
header 1 | header 2 | Unsortable column |
---|---|---|
row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |
row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |
Grammar Page Template
Use the "Insert Grammar Page Template" button in the Help:Toolbar.
How to create a new Page
There are several ways to start a new page.
If you (or anyone else) creates a link to an article that doesn't exist yet, the link will be coloured red, like this.
Clicking a red link, will take you to the edit page for the new article. Simply type your text, click save and the new page will be created.
Once the page has been created, the link will change from red to blue (purple for pages you've visited) indicating that the article now exists.
Also, if you search for a page that doesn't exist (using the search box and 'go' button on the left of the page) then you will be provided with a link to create the new page. (Note that this technique doesn't work if you use the 'search' button).
Don't forget to setup redirects when you create a page. If you think another person may search for the page you've created by using a different name or spelling, please create the proper redirect(s).
How to Link to Another Article or Page
The most frequently used link is the internal link. To add an internal link, enclose the name of the page you want to link to in double square brackets. When you save the page, you'll see the new link pointing to your page. If the page exists already, it is displayed in blue, empty pages are displayed in red. Selflinks to the current page are not transformed in URLs but displayed in bold.
See the table below for more information:
Description | You type | You get |
Internal link |
[[Main Page]] |
Main Page |
Piped link |
[[Main Page|different text]] |
different text |
External link |
http://mediawiki.org |
http://mediawiki.org |
External link, different title |
[http://mediawiki.org MediaWiki] |
MediaWiki |
External link, numbered |
[http://mediawiki.org] |
[1] |
Anchor link |
[[#See also]] |
#See also |
Anchor link at another page |
[[Help:Images#See also]] |
Help:Images#See also |
Category link |
[[:Category:Help]] |
Category:Help |
Internal link to image file |
[[media:example.jpg]] |
media:example.jpg |
Internal link to pdf file |
[[media:example.pdf]] |
media:example.pdf |
Interwiki link |
[[Wikipedia:MediaWiki]] |
Wikipedia:MediaWiki |
mailto link |
[mailto:[email protected] email me] |
email me |
redirect |
#REDIRECT [[Main Page]] |
→ Main Page |
How to add categories
Use the Help:Toolbar and click on the "Insert Category" button at the end of the page you are editing. This will add something like:
[[Category:CATEGORY NAME|WHERE TO SORT]]
where CATEGORY NAME is the name of the category you want to add it to and (optionally) WHERE TO SORT is where the page will appear, alphabetically, within the category. Any number of category tags may be added to the page - the page will be listed in all of them.
So for example, to add this page to the 'Help' category, you would use:
[[Category:Help|Categories]]
Creating a redirect
To create a redirect, you must start a new page with the name you want to direct from. Do this by typing the desired name into the search box, or straight into the URL (methods described on Help:Starting a new page)
For the text of the new page, enter the following:
#REDIRECT [[ pagename
]]
where pagename is the name of the page you want to redirect users to.
Posting an Mp3
This site uses the Flashmp3 extention to play mp3s. This site has a 5 mb limit on mp3 uploads, so use a low bitrate.
Examples
<flashmp3> mymp3.mp3
</flashmp3>
Plays an uploaded mp3-file called mymp3.mp3.
<flashmp3> http://www.somedomain.com/mp3/mymp3.mp3
</flashmp3>
Plays the remote mp3-file from the URL http://www.somedomain.com/mp3/mymp3.mp3.
<flashmp3> mymp3.mp3,yourmp3.mp3|autostart=yes|loop=yes
</flashmp3>
Plays the two uploaded files mymp3.mp3 and yourmp3.mp3 one after the other, autostarts playing when the site is loaded and loops the files.
Posting a video
This site uses the VideoFlash extention to play videos.
Examples
Youtube
Original url: http://www.youtube.com/watch?v=4lhyH5TsuPg
Wiki code:
<videoflash>4lhyH5TsuPg</videoflash>
GoogleVideo
Original url: http://video.google.it/videoplay?docid=1811233136844420765
Wiki code:
<videoflash type="googlevideo">1811233136844420765</videoflash>
DailyMotion
Original url: http://www.dailymotion.com/video/xi23l_geris-game
Wiki code:
<videoflash type="dailymotion">7fiHlJPCjcqK73xbb</videoflash>
Sevenload
Original url: http://en.sevenload.com/videos/Eh4mjir/Bewegungen-der-Natur
Wiki code:
<videoflash type="sevenload">Eh4mjir</videoflash>
Revver
Original url: http://one.revver.com/watch/138657
Wiki code:
<videoflash type="revver">138657</videoflash>
Blip
Currently blip uses urls like: http://blip.tv/file/1490573
You cannot use the above ID with the codehttp://blip.tv/play/$someIDwhich is used in this VideoFlash extension.
To get the correct ID to use click on 'embed' in Blip and extract the id used in the flash embed code
<embed src="http://blip.tv/play/AdvpMQA" type="application/x-shockwave-flash" width="640" height="510" allowscriptaccess="always" allowfullscreen="true"></embed>
Wiki code:
<videoflash type="blip">AdvpMQA</videoflash>
English |
한국어 |
中文 (简体): n/a |
日本語: n/a |
Español: n/a |
Português: n/a |
Tagalog: n/a |