Editing Help: Difference between revisions

From Wiki Grepolis EN
Jump to navigation
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

Markup

For 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/]
http://en.grepolis.com/

Text to display

[1]
http://en.grepolis.com/

Redirect #REDIRECT [[Main Page]] Redirect.pngMain Page
Categorise Page [[Category:NAME]] Preview not available.
Section Headings ==Level 2==

===Level 3===
====Level 4====
=====Level 5=====
======Level 6======

Level 2

Level 3

Level 4

Level 5
Level 6
Bullet List *One

*Two
**Two point one
*Three

  • One
  • Two
    • Two point one
  • Three
Numbered List #1

#2
##2.1
#3

  1. One
  2. Two
    1. Two point one
  3. Three
Indents zero indent

:first indent
::second indent
:::third indent

zero indent
first indent
second indent
third indent
Tables

{| border="1"
|<center>'''Head Col 1'''</center>
|<center>'''Head Col 2'''</center>
|-
|Item 1 Col 1
|Item 1 Col 2
|}

Head Col 1
Head Col 2
Item 1 Col 1 Item 1 Col 2
Images [[File:Logo.png|thumb|alt=alt_text|Caption]]
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 App tap.png

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

App tap.png

Test Blue
Double Tap

App double tap.png

Double tap a city when on the map view. Find the city that you have tapped on on the map.
Press and Move

App flick.png

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