Changes

Jump to navigation Jump to search

Wurmpedia editing handbook

850 bytes removed, 08:44, 18 September 2020
m
</pre>
This code can be used in the table start, row start, or cell start levels.
<hr>
If placed at the table start level, it will align all text within the table the way specified.
{| border=1 style="text-align:center; width: 60%; height: 60%;"
|-
|Row 1||Row 1||Row 1
<pre>
{| border=1 style="text-align:center; width: 60%; height: 60%;"
|-
|Row 1||Row 1||Row 1
|}
</pre>
 
If placed at the row start level, it will only align the text within that row's cells the way specified.
 
{| border="1";
|-
|Row 1||Row 1||Row 1
|-
|Row 2||Row 2||Row 2
|-
|Row 3||Row 3||Row 3
|-
|Row 4||Row 4||Row 4
|}
 
<pre>
{| border="1"
|-
|Row 1||Row 1||Row 1
|-
|Row 2||Row 2||Row 2
|-
|Row 3||Row 3||Row 3
|-
|Row 4||Row 4||Row 4
|}
</pre>
 
 
If placed at the cell level, it will only align that individual cell the way specified.
 
[[File:Handbook34.png|border|]]
 
<pre>|-style="text-align:center;"</pre>
 
Note: When adding styling code such as this to the cell level, you need to add a vertical bar after your code, dividing it from the text your cell contains. For example, the second row in this code looks like this:
 
<pre>
|Row 2||style="text-align:center;"|Row 2||Row 2
</pre>
 
====Vertical Alignment====
editor
7,290

edits

Navigation menu