Difference between revisions of "Help:Editing"

From Pokemon World Online Wiki
Jump to: navigation, search
m
Line 4: Line 4:
 
===3 x 3 table===
 
===3 x 3 table===
 
There are 2 different ways you can do tables, either by using HTML or mediawiki's very own script.<br />
 
There are 2 different ways you can do tables, either by using HTML or mediawiki's very own script.<br />
<table width="100%"><tr>
+
<table border="1" style="width: 100%; border: 1px solid #88a; border-collapse: collapse;" cellspacing="5">
<td width="50%">
+
<h2>HTML</H2>
+
<pre>
+
<table cellpadding="10px" border="2px">
+
 
<tr>
 
<tr>
<td> </td>
+
<th>HTML</th>
<td> </td>
+
<th>Mediawiki</th>
<td> </td>
+
<th>What Appears</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td> </td>
+
<td>
<td> </td>
+
<pre>
<td> </td>
+
</tr>
+
<tr>
+
<td> </td>
+
<td> </td>
+
<td> </td>
+
</tr>
+
</pre>
+
</td><td><h2>...would give:</h2>
+
 
<table cellpadding="10px" border="2px">
 
<table cellpadding="10px" border="2px">
 
<tr>
 
<tr>
<td> </td>
+
<td>&nbsp;</td>
<td> </td>
+
<td>&nbsp;</td>
<td> </td>
+
<td>&nbsp;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td> </td>
+
<td>&nbsp;</td>
<td> </td>
+
<td>&nbsp;</td>
<td> </td>
+
<td>&nbsp;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td> </td>
+
<td>&nbsp;</td>
<td> </td>
+
<td>&nbsp;</td>
<td> </td>
+
<td>&nbsp;</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
</td></tr>
+
</pre>
<tr>
+
</td>
<td><h2>Mediawiki</h2>
+
<td>
 
<pre>
 
<pre>
 
{| cellpadding="10px" border="2px"
 
{| cellpadding="10px" border="2px"
 
|-
 
|-
|
+
|&nbsp;
|
+
|&nbsp;
|
+
|&nbsp;
 
|-
 
|-
|
+
|&nbsp;
|
+
|&nbsp;
|
+
|&nbsp;
 
|-
 
|-
|
+
|&nbsp;
|
+
|&nbsp;
|
+
|&nbsp;
 
|}
 
|}
 
</pre>
 
</pre>
 
</td>
 
</td>
<td><h2>...would give:</h2>
+
<td>
{| cellpadding="10px" border="2px"
+
<table cellpadding="10px" border="2px" align="center">
|-
+
<tr>
|
+
<td>&nbsp;</td>
|
+
<td>&nbsp;</td>
|
+
<td>&nbsp;</td>
|-
+
</tr>
|
+
<tr>
|
+
<td>&nbsp;</td>
|
+
<td>&nbsp;</td>
|-
+
<td>&nbsp;</td>
|
+
</tr>
|
+
<tr>
|
+
<td>&nbsp;</td>
|}
+
<td>&nbsp;</td>
 +
<td>&nbsp;</td>
 +
</tr>
 +
</table>
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 96: Line 86:
 
__TOC__  
 
__TOC__  
 
If you want a box of contents to appear use: <nowiki>__TOC__</nowiki>
 
If you want a box of contents to appear use: <nowiki>__TOC__</nowiki>
 +
 +
==External Links==
 +
http://meta.wikimedia.org/wiki/Help:Wikitext_examples

Revision as of 23:56, 10 January 2011

Formatting text:

Tables:

3 x 3 table

There are 2 different ways you can do tables, either by using HTML or mediawiki's very own script.

HTML Mediawiki What Appears
<table cellpadding="10px" border="2px">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
{| cellpadding="10px" border="2px"
|-
| 
| 
| 
|-
| 
| 
| 
|-
| 
| 
| 
|}
     
     
     

Adding classes

Adding images:

To add an image to a page, you can use [[File:<link>]]. <link> is required to be a link provided by an image sharing site or a image hosted by this wiki. If you need to upload an image, you can goto this page.

Make a new page:

To make a new page, you can do the following

  • Use the search box and then click "Edit page"
  • If the page is going to be linked from somewhere, create that link and it should be broken. Click on the broken link then choose "Edit page"
  • Copy and paste the following into your address bar http://www.iblamelee.co.uk/wi/mw/index.php?title= and add the page name onto the end.

Content box

If you want a box of contents to appear use: __TOC__

External Links

http://meta.wikimedia.org/wiki/Help:Wikitext_examples