Editing Help: Difference between revisions
m (→Demo Table 2) |
m (→Demo Table 2) |
||
Line 194: | Line 194: | ||
=Demo Table 2= | =Demo Table 2= | ||
{| border="1px" cellspacing="0" class="wikitable" width=500px | {| border="1px" cellspacing="0" class="wikitable" width=500px style="text-align:center" | ||
! Heading 1 | ! Heading 1 | ||
! Heading 2 | ! Heading 2 |
Revision as of 19:11, 3 September 2013
MarkupFor more advanced details click here. |
||||||
Description | You type | You get | ||||
Italics | ''Italic text'' | Italic text | ||||
Bold | '''Bold text''' | Bold text | ||||
Bold italics | '''''Bold italics''''' | Bold italics | ||||
Wiki link | [[Main Page|Displayed Text]] | Displayed Text | ||||
External link | [http://en.grepolis.com/ Text to display] [http://en.grepolis.com/] |
Text to display | ||||
Redirect | #REDIRECT [[Main Page]] | Main Page | ||||
Categorise Page | [[Category:NAME]] | Preview not available. | ||||
Section Headings | ==Level 2== ===Level 3=== |
Level 2Level 3Level 4Level 5Level 6 | ||||
Bullet List | *One *Two |
| ||||
Numbered List | #1 #2 |
| ||||
Indents | zero indent :first indent |
zero indent
| ||||
Tables |
{| border="1" |
| ||||
Images | [[File:Logo.png|thumb|alt=alt_text|Caption]] | |||||
Signature | ~~~~ | Username (talk) 17:30, 22 November 2024 (UTC) | ||||
Collapsible Tables | {| class="collapsible collapsed wikitable" |- ! This is the header cell, which is always shown |- | This cell is not shown by default. |} | Preview not available |
<br /> gives you a blank line.
Better example of a table
So, open with this line, always- {| border="1px" cellspacing="0" class="wikitable"
If you want a table that can be opened and closed, chante it to {| border="1px" cellspacing="0" class="wikitable collapsible"
If you want it to default to being closed, simply change that last part to "wikitable collapsible collapsed"
The bits after the ! are the headers. If you wanted 10 headers, put 10 !s and write the title next to them.
In this table we have 3 headers, the top one of which (Gesture) has a bit more coding before it.
align="center" width=100 simply means that that single box will be centred (as it would anyway because it is a title) and the width=100 means that that column will be 100px wide.
You're notice the around the titles. This makes them bold.
The |- signals the end of the coding for the headers. Now for the main body.
In this table, the is an image with text over it in the first column: | align="center" | Tap
Again, the | align="center" | before what is actually in the box just means that that box is centered. Then, one row below it we have the 2nd box in the ROW and then the 3rd. Then another |- to show that we are done with the 2nd row in the column and onto the 3rd. etc etc You'll notice that because there is no | align="center" | before the 'test' and 'blue' boxes, those ones are not centered.
Gesture | Action | Outcome |
---|---|---|
Tap | Test | Blue |
Double Tap | Double tap a city when on the map view. | Find the city that you have tapped on on the map. |
Press and Move | Press and move from the city name to the left or right. | Change to the previous town or the next town on the list. |
Demo Table 2
Heading 1 | Heading 2 | heading 3 |
---|---|---|
1 | 2 | 3 |
4 | 5 | 6 |
7 | 8 | 9 |