Please refer to Copyright Policy as well as the Media Upload Policy for Chrono Wiki. If there are any questions, please direct them into the discussion page. As always, please refer to the Manual of Style when editing.

Chrono Wiki:Manual of Style: Difference between revisions

From Chrono Wiki, a database for the Chrono series that anyone can edit
Line 71: Line 71:


=== Tables ===
=== Tables ===
Tables should use the "darktable" class design when possible, and should include as little 'fancy' formatting as possible. Tables can also be made sortable by adding a "sortable" class.
Tables should use a "class" design when possible, and should include as little 'fancy' formatting as possible. Tables can also be made sortable by adding a "sortable" class.


For long tables, it is recommended to use the "alt" class to alternate row colours to enhance readability.
For long tables, it is recommended to create an "alt" class to alternate row colours to enhance readability.


==== With row headings, table caption, sortable ====
==== With row headings, table caption, sortable ====
Line 80: Line 80:
|-
|-
|
|
{| class="darktable sortable"
{| class="toccolours sortable"
|+ I am a caption
|+ I am a caption
|-
|-
Line 99: Line 99:
|
|
<code style="font-size:90%">
<code style="font-size:90%">
<nowiki>{|</nowiki> class="darktable sortable"<br/>
<nowiki>{|</nowiki> class="toccolours sortable"<br/>
<nowiki>|+</nowiki> I am a caption<br/>
<nowiki>|+</nowiki> I am a caption<br/>
<nowiki>|-</nowiki><br/>
<nowiki>|-</nowiki><br/>
Line 124: Line 124:
|-
|-
|
|
{| class="darktable"
{| class="toccolours"
|-
|-
! Heading one || Heading two || Heading three
! Heading one || Heading two || Heading three
Line 131: Line 131:
| Row data 2
| Row data 2
| Row data 3
| Row data 3
|- class="alt"
|- <!-- class="alt" --> style="background-color:#77a;"
| Row data 1
| Row data 1
| Row data 2
| Row data 2
Line 139: Line 139:
| Row data 2
| Row data 2
| Row data 3
| Row data 3
|- class="alt"
|- <!-- class="alt" --> style="background-color:#77a;"
| Row data 1
| Row data 1
| Row data 2
| Row data 2
Line 146: Line 146:
|
|
<code style="font-size:90%">
<code style="font-size:90%">
<nowiki>{|</nowiki> class="darktable"<br/>
<nowiki>{|</nowiki> class="toccolours"<br/>
<nowiki>|-</nowiki><br/>
<nowiki>|-</nowiki><br/>
<nowiki>!</nowiki> Heading one || Heading two || Heading three<br/>
<nowiki>!</nowiki> Heading one || Heading two || Heading three<br/>
Anonymous user