Difference between revisions of "Editing help"

From Korean Wiki Project
Jump to: navigation, search
(How to make a column not sortable)
 
(2 intermediate revisions by one user not shown)
Line 14: Line 14:
 
Example:
 
Example:
 
<pre>
 
<pre>
 +
 
<nowiki>{| class="wikitable sortable"  
 
<nowiki>{| class="wikitable sortable"  
 
|-
 
|-
Line 45: Line 46:
 
|}
 
|}
  
===How to center a table===
+
===How to make a column not sortable===
Add
+
In this example we'll make column three not sortable
 +
 
 
<pre>
 
<pre>
  
 
+
<nowiki>{| class="wikitable sortable"
<nowiki>style="margin-left: auto; margin-right: auto;"</nowiki>  
+
|-
 +
! 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>
 
</pre>
  
{| class="wikitable" style="margin-left: auto; margin-right: auto;"
+
{| class="wikitable sortable"
 
|-
 
|-
 
! header 1
 
! header 1
 
! header 2
 
! header 2
! header 3
+
! scope="col" class="unsortable" | Unsortable column
 
|-
 
|-
 
| row 1, cell 1
 
| row 1, cell 1
Line 68: Line 82:
 
|}
 
|}
  
 +
===How to center a table===
 +
Add
 +
<pre>
 +
 +
<nowiki>style="margin-left: auto; margin-right: auto;"</nowiki>
 +
</pre>
 +
 +
So it should look like:
  
===How to make a column not sortable===
 
In this example we'll make column three not sortable
 
 
<pre>
 
<pre>
<nowiki>{| class="wikitable sortable"
+
 
 +
<nowiki>{|class="wikitable" style="margin-left: auto; margin-right: auto;"
 
|-
 
|-
 
! header 1
 
! header 1
 
! header 2
 
! header 2
! scope="col" class="unsortable" | Unsortable column
+
! header 3
 
|-
 
|-
 
| row 1, cell 1
 
| row 1, cell 1
Line 88: Line 109:
 
</pre>
 
</pre>
  
{| class="wikitable sortable"
+
{| class="wikitable" style="margin-left: auto; margin-right: auto;"
 
|-
 
|-
 
! header 1
 
! header 1
 
! header 2
 
! header 2
! scope="col" class="unsortable" | Unsortable column
+
! header 3
 
|-
 
|-
 
| row 1, cell 1
 
| row 1, cell 1
Line 102: Line 123:
 
| row 2, cell 3
 
| row 2, cell 3
 
|}
 
|}
 +
  
 
==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 119: Line 140:
  
 
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 135: Line 154:
 
|Internal link
 
|Internal link
 
|<tt>
 
|<tt>
 
 
 
  
 
<nowiki>[[Main Page]]</nowiki> </tt>
 
<nowiki>[[Main Page]]</nowiki> </tt>
Line 144: Line 160:
 
|Piped link
 
|Piped link
 
|<tt>
 
|<tt>
 
 
 
  
 
<nowiki>[[Main Page|different text]]</nowiki> </tt>
 
<nowiki>[[Main Page|different text]]</nowiki> </tt>
Line 153: Line 166:
 
|External link
 
|External link
 
|<tt>
 
|<tt>
 
 
 
  
 
<nowiki>http://mediawiki.org</nowiki> </tt>
 
<nowiki>http://mediawiki.org</nowiki> </tt>
Line 163: Line 173:
 
different title
 
different title
 
|<tt>
 
|<tt>
 
 
 
  
 
<nowiki>[http://mediawiki.org MediaWiki]</nowiki> </tt>
 
<nowiki>[http://mediawiki.org MediaWiki]</nowiki> </tt>
Line 173: Line 180:
 
numbered
 
numbered
 
|<tt>
 
|<tt>
 
 
 
  
 
<nowiki>[http://mediawiki.org]</nowiki> </tt>
 
<nowiki>[http://mediawiki.org]</nowiki> </tt>
Line 182: Line 186:
 
|Anchor link
 
|Anchor link
 
|<tt>
 
|<tt>
 
 
 
  
 
<nowiki>[[#See also]]</nowiki> </tt>
 
<nowiki>[[#See also]]</nowiki> </tt>
Line 191: Line 192:
 
|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 200: Line 198:
 
|Category link
 
|Category link
 
|<tt>
 
|<tt>
 
 
 
  
 
<nowiki>[[:Category:Help]]</nowiki> </tt>
 
<nowiki>[[:Category:Help]]</nowiki> </tt>
Line 209: Line 204:
 
|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 218: Line 210:
 
|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 227: Line 216:
 
|Interwiki link
 
|Interwiki link
 
|<tt>
 
|<tt>
 
 
 
  
 
<nowiki>[[Wikipedia:MediaWiki]]</nowiki> </tt>
 
<nowiki>[[Wikipedia:MediaWiki]]</nowiki> </tt>
Line 236: Line 222:
 
|mailto link
 
|mailto link
 
|<tt>
 
|<tt>
 
 
 
  
 
<nowiki>[mailto:[email protected] email me]</nowiki> </tt>
 
<nowiki>[mailto:[email protected] email me]</nowiki> </tt>
Line 245: Line 228:
 
|redirect
 
|redirect
 
|<tt>
 
|<tt>
 
 
 
  
 
<nowiki>#REDIRECT [[Main Page]]</nowiki> </tt>
 
<nowiki>#REDIRECT [[Main Page]]</nowiki> </tt>
Line 258: Line 238:
  
 
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 269: Line 251:
  
 
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 282: Line 266:
  
 
For the text of the new page, enter the following:
 
For the text of the new page, enter the following:
 +
 +
  
  
Line 288: Line 274:
  
 
<nowiki>#REDIRECT [[</nowiki> ''pagename''
 
<nowiki>#REDIRECT [[</nowiki> ''pagename''
 +
 +
  
  
Line 299: Line 287:
 
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 305: Line 295:
  
 
<nowiki><flashmp3></nowiki> mymp3.mp3
 
<nowiki><flashmp3></nowiki> mymp3.mp3
 +
 +
  
  
Line 312: Line 304:
  
 
Plays an uploaded mp3-file called ''mymp3.mp3''.
 
Plays an uploaded mp3-file called ''mymp3.mp3''.
 +
 +
  
  
Line 319: Line 313:
  
 
<nowiki><flashmp3></nowiki> http://www.somedomain.com/mp3/mymp3.mp3
 
<nowiki><flashmp3></nowiki> http://www.somedomain.com/mp3/mymp3.mp3
 +
 +
  
  
Line 326: Line 322:
  
 
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 333: Line 331:
  
 
<nowiki><flashmp3></nowiki> mymp3.mp3,yourmp3.mp3|autostart=yes|loop=yes
 
<nowiki><flashmp3></nowiki> mymp3.mp3,yourmp3.mp3|autostart=yes|loop=yes
 +
 +
  
  

Latest revision as of 05:18, 11 December 2012

See the cheat sheet for quick help.
See all help pages in the help category.
Help · Cheat Sheet · Community portal

Login / Create account

Construction.png 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 code
http://blip.tv/play/$someID
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:

<videoflash type="blip">AdvpMQA</videoflash>


English lang.png
English
Korean lang.png
한국어
Chinese lang bw.png
中文 (简体): n/a
Japanese lang bw.png
日本語: n/a
Spanish lang bw.png
Español: n/a
Portuguese lang bw.png
Português: n/a
Tagalog lang bw.png
Tagalog: n/a