Changes

Jump to navigation Jump to search

Wurmpedia editing handbook

394 bytes added, 15:48, 16 September 2020
m
Saving changes
This will create a 10-pixel margin of space in every direction in your cell.
{| border="1" cellpadding="10"
|-
|Row 1||Row 1||Row 1
|-
|Row 2||Row 2||Row 2
|}
===Table Classes (Styles)===
There are some table classes that provide some table formatting for you. They are most commonly used, as it makes it easier to understand and set up. To add a class to your table, simply add:the class="<classname>" To name to the table start level. For example: <pre>
{|class="wikitable"
</pre>
====Wikitable====
|Row 2||Row||Row
|}
 
<pre>
{|class="wikitable"
!Column 1
!Column 2
!Column 3
|-
|Row 1||Row||Row
|-
|Row 2||Row||Row
|}
</pre>
|Row 2||Row||Row
|}
 
<pre>
{|class="wikitable sortable"
!Column 1
!Column 2
!Column 3
|-
|Row 1||Row||Row
|-
|Row 2||Row||Row
|}
</pre>
====Sortable====
The sortable class adds the ability to sort columns alphabeticallywithout the wikitable formatting{|class="sortable"!Column 1 !Column 2 !Column 3 |- |Row 1||Row||Row |- |Row 2||Row||Row |}
<pre>
{|class="sortable"
!Column 1
|Row 2||Row||Row
|}
</pre>
editor
7,290

edits

Navigation menu