plugin:dbtables
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
plugin:dbtables [2010-09-29 11:57] – created 99.235.196.241 | plugin:dbtables [2023-10-31 00:59] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : pontiac76@gmail.com | email : pontiac76@gmail.com | ||
type : helper, render | type : helper, render | ||
lastupdate : 2010-09-29 | lastupdate : 2010-09-29 | ||
- | compatible : >= 2009-12-25 | + | compatible : Lemming |
- | depends | + | tags : |
- | conflicts | + | |
- | similar | + | |
- | tags : | + | |
downloadurl: | downloadurl: | ||
Line 18: | Line 15: | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
+ | Download the plugin from [[http:// | ||
+ | |||
+ | Demo [[http:// | ||
===== Syntax and Usage ===== | ===== Syntax and Usage ===== | ||
Line 31: | Line 31: | ||
< | < | ||
- | < | + | < |
</ | </ | ||
==== Options ==== | ==== Options ==== | ||
- | ^Option^Description^Default^ | ||
- | |groups|How many horizontal DW-tables are displayed|4| | ||
- | |cols|How many columns per DW-table are rendered|4| | ||
- | |c{#}|Name of DW-table field, where # the field number|c1=Field; | ||
- | |fdelim|Field Delimeter - Character representing how each DW-DB field is seperated|: | ||
- | |thead|Table Heading - Character representing the line in which a table name is defined|_ {Underscore}| | ||
- | |twidth|Width of the HTML table|Undefined - Dokuwiki decides| | ||
- | |nosort|When assigned any value, does not sort the table names. | ||
- | |norender|Outputs the DW-tables in Dokuwiki text format|Undefined| | ||
- | ===== Example | + | ^ Option |
+ | | groups | ||
+ | | cols | How many columns per DW-table are rendered | ||
+ | | c{#} | Name of DW-table field, where # the field number | ||
+ | | fdelim | ||
+ | | thead | Table Heading - Character representing the line in which a table name is defined | ||
+ | | twidth | ||
+ | | nosort | ||
+ | | norender | ||
+ | |||
+ | Note that with twidth, nosort, and norender, you must assign some sort of value, for example, '' | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | ==== Example #1 ==== | ||
< | < | ||
< | < | ||
- | _Table1 | + | Table1 |
TableID: | TableID: | ||
TableName: | TableName: | ||
- | _Table2 | + | Table2 |
TableID: | TableID: | ||
TableParent: | TableParent: | ||
TableDesc: | TableDesc: | ||
- | _Table3 | + | Table3 |
TableID: | TableID: | ||
- | _Table4 | + | Table4 |
TableID: | TableID: | ||
- | _Table5 | + | Table5 |
TableID: | TableID: | ||
- | _Table6 | + | Table6 |
TableID: | TableID: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ==== Example #2 ==== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | _Customers | ||
+ | CustomerID: | ||
+ | FirstName: | ||
+ | LastName: | ||
+ | Address: | ||
+ | |||
+ | _Orders | ||
+ | OrderID: | ||
+ | CustomerID: | ||
+ | DateSumbitted: | ||
+ | DateFilled: | ||
+ | DateShipped: | ||
+ | Shipper: | ||
+ | |||
+ | _OrderDetails | ||
+ | OrderID: | ||
+ | ProductID: | ||
+ | Units:int | ||
+ | Price:money | ||
+ | |||
+ | _Products | ||
+ | ProductID: | ||
+ | Name: | ||
+ | VolumeInStock: | ||
+ | CurrentPrice: | ||
+ | Photo:blob | ||
+ | Description: | ||
+ | |||
+ | </ | ||
+ |
plugin/dbtables.1285754249.txt.gz · Last modified: 2010-09-29 11:57 by 99.235.196.241