Editing
ROWiki:Manual of Style
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Tables === 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 create an "alt" class to alternate row colours to enhance readability. The below examples use "toccolours" as a class, but this is only for the purposes of demonstration, and isn't generally recommended. ==== With row headings, table caption, sortable ==== {| |- | {| class="toccolours sortable" |+ I am a caption |- ! Heading one || Heading two || Heading three |- | class="title" | Row heading 1 | Row data 2b | Row data 3c |- | class="title" | Row heading 2 | Row data 2b | Row data 3a |- | class="title" | Row heading 3 | Row data 2c | Row data 3b |} | <code style="font-size:90%"> <nowiki>{|</nowiki> class="toccolours sortable"<br/> <nowiki>|+</nowiki> I am a caption<br/> <nowiki>|-</nowiki><br/> <nowiki>!</nowiki> Heading one || Heading two || Heading three<br/> <nowiki>|-</nowiki><br/> <nowiki>|</nowiki> class="title" | Row heading<br/> <nowiki>|</nowiki> Row data 2<br/> <nowiki>|</nowiki> Row data 3<br/> <nowiki>|-</nowiki> <br/> <nowiki>|</nowiki> class="title" | Row heading<br/> <nowiki>|</nowiki> Row data 2<br/> <nowiki>|</nowiki> Row data 3<br/> <nowiki>|-</nowiki> <br/> <nowiki>|</nowiki> class="title" | Row heading<br/> <nowiki>|</nowiki> Row data 2<br/> <nowiki>|</nowiki> Row data 3<br/> <nowiki>|}</nowiki> </code> |} ==== Without row headings, with alt rows ==== {| |- | {| class="toccolours" |- ! Heading one || Heading two || Heading three |- | Row data 1 | Row data 2 | Row data 3 |- <!-- class="alt" --> style="background-color:#77a;" | Row data 1 | Row data 2 | Row data 3 |- | Row data 1 | Row data 2 | Row data 3 |- <!-- class="alt" --> style="background-color:#77a;" | Row data 1 | Row data 2 | Row data 3 |} | <code style="font-size:90%"> <nowiki>{|</nowiki> class="toccolours"<br/> <nowiki>|-</nowiki><br/> <nowiki>!</nowiki> Heading one || Heading two || Heading three<br/> <nowiki>|-</nowiki><br/> <nowiki>|</nowiki> Row data 1<br/> <nowiki>|</nowiki> Row data 2<br/> <nowiki>|</nowiki> Row data 3<br/> <nowiki>|-</nowiki> <br/> <nowiki>|</nowiki> Row data 1<br/> <nowiki>|</nowiki> Row data 2<br/> <nowiki>|</nowiki> Row data 3<br/> <nowiki>|-</nowiki> class="alt"<br/> <nowiki>|</nowiki> Row data 1<br/> <nowiki>|</nowiki> Row data 2<br/> <nowiki>|</nowiki> Row data 3<br/> <nowiki>|-</nowiki> <br/> <nowiki>|</nowiki> Row data 1<br/> <nowiki>|</nowiki> Row data 2<br/> <nowiki>|</nowiki> Row data 3<br/> <nowiki>|-</nowiki> class="alt"<br/> <nowiki>|</nowiki> Row data 1<br/> <nowiki>|</nowiki> Row data 2<br/> <nowiki>|</nowiki> Row data 3<br/> <nowiki>|}</nowiki> </code> |}
Summary:
Please note that all contributions to Regnum Online Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
ROWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Log in
Namespaces
Project page
Discussion
English
Views
Read
Edit source
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information