User:116500496

From Starfleet Commander
Jump to navigationJump to search

I am in you're wiki, cleaning up your syntax.

I am really going through all of the tables and making them wiki tables instead of HTML tables.

Use of DTable Templates

Every DTable follows the pattern below:

{{DTableBegin}}
{{DTableHeader}} | header
  ...n times
{{DTableRow}}
  | value list
{{DTableRowAlt}}
  | value list
  ...n times
|}

DTableBegin

All tables begin with a {{DTableBegin}} call. This has two optional parameters: style and caption. They do exactly what you think they do. The style will allow you to override only the table styles, not row- or cell-specific styles. This would be useful for changing the cell spacing or font size. Here's an example of a use:

Default w/ caption /w manual style

a
b
c d
e f
This is a caption
a b c
c d e
f g h
This is a caption
a b c
c d e
f g h

The rest of the parts are very straight-forward.