Difference between revisions of "Editing help"
DigitalSoju (Talk | contribs) m (→Gramar Page Template) |
DigitalSoju (Talk | contribs) |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{HelpTop}} | |
− | + | __TOC__ | |
− | + | {{Under construction|message=This page is being redone to be more helpful.}} | |
− | + | ||
− | + | If you would like to just play around and edit a page to practice, [[Test page|click here]]. | |
− | + | ||
− | + | ||
− | == | + | ==Advanced Table functions== |
− | + | ===How to make a sortable table=== | |
+ | <pre> | ||
+ | Add line class="wikitable sortable" | ||
+ | </pre> | ||
− | + | Example: | |
− | + | <pre> | |
− | = | + | <nowiki>{| 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 | ||
+ | |}</nowiki> | ||
+ | </pre> | ||
− | = | + | {| 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 | ||
+ | |} | ||
− | == | + | ===How to make a column not sortable=== |
− | + | In this example we'll make column three not sortable | |
− | + | <pre> | |
− | < | + | |
− | + | <nowiki>{| 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 | ||
+ | |}</nowiki> | ||
+ | </pre> | ||
− | == | + | {| 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 | ||
+ | |} | ||
− | + | ===How to center a table=== | |
+ | Add | ||
+ | <pre> | ||
− | + | <nowiki>style="margin-left: auto; margin-right: auto;"</nowiki> | |
+ | </pre> | ||
− | + | So it should look like: | |
− | + | <pre> | |
+ | <nowiki>{|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 | ||
+ | |}</nowiki> | ||
+ | </pre> | ||
− | + | {| 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 | ||
+ | |} | ||
− | |||
− | If you | + | ==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, <span style="color: #ba0000">like this</span>. | ||
+ | |||
+ | 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 <span style="color: #ba0000">red</span> to <span style="color: #002bb8;">blue</span> (<span style="color: #5a3696;">purple</span> 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== | ==How to Link to Another Article or Page== | ||
Line 56: | Line 146: | ||
See the table below for more information: | See the table below for more information: | ||
− | {| | + | {| |
|- | |- | ||
||'''Description''' | ||'''Description''' | ||
− | ||'''You type''' | + | ||'''You type''' |
||'''You get''' | ||'''You get''' | ||
|- | |- | ||
|Internal link | |Internal link | ||
− | |<tt><nowiki>[[Main Page]]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>[[Main Page]]</nowiki> </tt> | ||
|[[Main Page]] | |[[Main Page]] | ||
|- | |- | ||
− | |Piped link | + | |Piped link |
− | |<tt><nowiki>[[Main Page|different text]]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>[[Main Page|different text]]</nowiki> </tt> | ||
|[[Main Page|different text]] | |[[Main Page|different text]] | ||
|- | |- | ||
|External link | |External link | ||
− | |<tt><nowiki>http://mediawiki.org</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>http://mediawiki.org</nowiki> </tt> | ||
|http://mediawiki.org | |http://mediawiki.org | ||
|- | |- | ||
|External link,<br /> | |External link,<br /> | ||
different title | different title | ||
− | |<tt><nowiki>[http://mediawiki.org MediaWiki]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>[http://mediawiki.org MediaWiki]</nowiki> </tt> | ||
|[http://mediawiki.org MediaWiki] | |[http://mediawiki.org MediaWiki] | ||
|- | |- | ||
|External link,<br /> | |External link,<br /> | ||
numbered | numbered | ||
− | |<tt><nowiki>[http://mediawiki.org]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>[http://mediawiki.org]</nowiki> </tt> | ||
|[http://mediawiki.org] | |[http://mediawiki.org] | ||
|- | |- | ||
− | |Anchor link | + | |Anchor link |
− | |<tt><nowiki>[[#See also]]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>[[#See also]]</nowiki> </tt> | ||
|[[#See also]] | |[[#See also]] | ||
|- | |- | ||
|Anchor link at another page | |Anchor link at another page | ||
− | |<tt><nowiki>[[Help:Images#See also]]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>[[Help:Images#See also]]</nowiki> </tt> | ||
|[[Help:Images#See also]] | |[[Help:Images#See also]] | ||
|- | |- | ||
|Category link | |Category link | ||
− | |<tt><nowiki>[[:Category:Help]]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>[[:Category:Help]]</nowiki> </tt> | ||
|[[:Category:Help]] | |[[:Category:Help]] | ||
|- | |- | ||
|Internal link to image file | |Internal link to image file | ||
− | |<tt><nowiki>[[media:example.jpg]]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>[[media:example.jpg]]</nowiki> </tt> | ||
|[[media:example.jpg]] | |[[media:example.jpg]] | ||
|- | |- | ||
|Internal link to pdf file | |Internal link to pdf file | ||
− | |<tt><nowiki>[[media:example.pdf]]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>[[media:example.pdf]]</nowiki> </tt> | ||
|[[media:example.pdf]] | |[[media:example.pdf]] | ||
|- | |- | ||
|Interwiki link | |Interwiki link | ||
− | |<tt><nowiki>[[Wikipedia:MediaWiki]]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>[[Wikipedia:MediaWiki]]</nowiki> </tt> | ||
|[[Wikipedia:MediaWiki]] | |[[Wikipedia:MediaWiki]] | ||
|- | |- | ||
|mailto link | |mailto link | ||
− | |<tt><nowiki>[mailto:[email protected] email me]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>[mailto:[email protected] email me]</nowiki> </tt> | ||
|[mailto:[email protected] email me] | |[mailto:[email protected] email me] | ||
|- | |- | ||
|redirect | |redirect | ||
− | |<tt><nowiki>#REDIRECT [[Main Page]]</nowiki></tt> | + | |<tt> |
+ | |||
+ | <nowiki>#REDIRECT [[Main Page]]</nowiki> </tt> | ||
| → [[Main Page]] | | → [[Main Page]] | ||
|} | |} | ||
+ | |||
== How to add categories == | == 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: | |
− | |||
− | |||
− | |||
− | + | ||
+ | |||
+ | |||
+ | |||
+ | <nowiki>[[Category:CATEGORY NAME|WHERE TO SORT]]</nowiki> | ||
+ | |||
+ | 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: | So for example, to add this page to the 'Help' category, you would use: | ||
− | + | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <nowiki>[[Category:Help|Categories]]</nowiki> | ||
Line 139: | Line 266: | ||
For the text of the new page, enter the following: | For the text of the new page, enter the following: | ||
− | + | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <nowiki>#REDIRECT [[</nowiki> ''pagename'' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <nowiki>]]</nowiki> | ||
where ''pagename'' is the name of the page you want to redirect users to. | where ''pagename'' is the name of the page you want to redirect users to. | ||
− | |||
− | |||
+ | ==Posting an Mp3== | ||
+ | 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=== | ||
− | + | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <nowiki><flashmp3></nowiki> mymp3.mp3 | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <nowiki></flashmp3></nowiki> | ||
Plays an uploaded mp3-file called ''mymp3.mp3''. | Plays an uploaded mp3-file called ''mymp3.mp3''. | ||
− | + | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <nowiki><flashmp3></nowiki> http://www.somedomain.com/mp3/mymp3.mp3 | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <nowiki></flashmp3></nowiki> | ||
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''. | ||
− | + | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <nowiki><flashmp3></nowiki> mymp3.mp3,yourmp3.mp3|autostart=yes|loop=yes | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <nowiki></flashmp3></nowiki> | ||
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. | 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. | ||
+ | <flashmp3>http://www.koreanwikiproject.com/wiki/extensions/test.mp3|leftbg=003478|rightbg=c60c30|lefticon=ffffff|righticon=ffffff</flashmp3> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | + | ==Posting a video== |
+ | This site uses the [http://www.mediawiki.org/wiki/Extension:VideoFlash VideoFlash] extention to play videos. | ||
+ | |||
+ | ===Examples=== | ||
+ | ====Youtube==== | ||
+ | Original url: http://www.youtube.com/watch?v=4lhyH5TsuPg | ||
+ | |||
+ | Wiki code: | ||
+ | |||
+ | <pre> | ||
+ | <videoflash>4lhyH5TsuPg</videoflash> | ||
+ | </pre> | ||
+ | ====GoogleVideo==== | ||
+ | Original url: http://video.google.it/videoplay?docid=1811233136844420765 | ||
+ | |||
+ | Wiki code: | ||
+ | |||
+ | <pre> | ||
+ | <videoflash type="googlevideo">1811233136844420765</videoflash> | ||
+ | </pre> | ||
+ | ====DailyMotion==== | ||
+ | Original url: http://www.dailymotion.com/video/xi23l_geris-game | ||
+ | |||
+ | Wiki code: | ||
+ | <pre> | ||
+ | <videoflash type="dailymotion">7fiHlJPCjcqK73xbb</videoflash> | ||
+ | </pre> | ||
+ | ====Sevenload==== | ||
+ | Original url: http://en.sevenload.com/videos/Eh4mjir/Bewegungen-der-Natur | ||
+ | |||
+ | Wiki code: | ||
+ | <pre> | ||
+ | <videoflash type="sevenload">Eh4mjir</videoflash> | ||
+ | </pre> | ||
+ | ====Revver==== | ||
+ | Original url: http://one.revver.com/watch/138657 | ||
+ | |||
+ | Wiki code: | ||
+ | <pre> | ||
+ | <videoflash type="revver">138657</videoflash> | ||
+ | </pre> | ||
+ | ====Blip==== | ||
+ | Currently blip uses urls like: http://blip.tv/file/1490573 | ||
+ | You cannot use the above ID with the code <pre>http://blip.tv/play/$someID</pre> which 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: | ||
+ | <pre> | ||
+ | <videoflash type="blip">AdvpMQA</videoflash> | ||
+ | </pre> | ||
+ | |||
+ | {{Languages_kor|Cheat sheet}} |
Latest revision as of 05:18, 11 December 2012
|
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 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 |
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 |
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 |