How do I use the [ table ] bbcode? My Wiki Codes do not tell much about it and I can not seem to figure it out.
How do I use the [ table ] bbcode? My Wiki Codes do not tell much about it and I can not seem to figure it out.
|- new TR
| new cell
| cell attributes | cell data
|- new TR
etc etc
- lead developer for VaultWiki
Any chance you can be a little more specific? I mean I tried what you sent, but not really sure how to write this. I was going to add some directions for NON-Technical users in my Wiki Code example as it does not exist right now.
new cell cell data Cell 2 | Cell 3
So what about:
- Table Border?
- Cell Color
- Colspan
- Cell Headers
Code:[noparse][table] class="tborder" cellpadding="4" cellspacing="1" border="0" |- | new cell | style="background-color: red" colspan="2" | This cell spans 2 columns. |- align="center" | class="thead" | new cell in new row | row 2 cell 2 | row 2 cell 3 |- [/table][/noparse]
new cell This cell spans 2 columns. new cell in new row row 2 cell 2 row 2 cell 3
As you can see, you can apply classes, styles, the colspan property and more. For security reasons, only classes, styles, and attributes you define will work in the TABLE code. If you need to add more or remove any, you can do so using the vault_bbcode_table hook in vault/special_class_table.php.
Since the TABLE code is one of the more advanced BB-Codes, other wiki admins have created templates using the table code, and instruct their less advanced users to use the template instead.
- lead developer for VaultWiki
How can I edit the Wiki Code page for Vault Wiki?
http://www.blincmagazine.com/forum/w...l:Wikicodelist
What specifically do you want to edit? The page is constructed from BB-Codes that match certain criteria, so if you wanted to add or remove BB-Codes, you would just need to modify those BB-Codes. To change the description for a BB-Code, you need to translate the phrases in the "VaultWiki FAQ" phrase group.
- lead developer for VaultWiki
Bookmarks