This document standardizes the HTML output format of common elements like table listings, so designers can create one set of styles, and developers can create markup which will be automatically styled.
This document is under review - in Deki WIki 8.05, we will first align all CSS styles to read these style guidelines. After 8.05, we will update all extensions/PHP output to match this table output.
All table generation in Deki Wiki utilizes this markup:
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="table"> <colgroup> <col width="16"/> <col width="16"/> <col width=""/> <col width="80"/> <col width="145"/> <col width="115"/> <col width="75"/> </colgroup> <tr class="bg1"> <th colspan="3" class="col1">File</th> <th class="col4">Size</th> <th class="col5">Date</th> <th class="col6">Attached by</th> <th class="col7"> </th> </tr> <tr class="bg2"> <td class="col1">filename.jpg</td> <td class="col2"> </td> <td class="col3"> </td> <td class="col4">106KB</td> <td class="col5">January 1st, 2008</td> <td class="col6">Admin</td> <td class="col7"> </td> </tr> </table>
Important notes:
<div class="pagination"> <span class="prev">Prev</span> <span class="info">Page 1 of 1</span> <span class="next"><a href="#">Next</a></span> </div>
Important notes: