table: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Applied Template:MacroFunction) |
Verisimilar (talk | contribs) m (Macros:Functions:table moved to table (function)) |
(No difference)
|
Revision as of 05:31, 9 March 2009
table() Function
Gets the text value from the specified Table. If the row is not specified then the default roll for the Table is used. The row can be either a constant or a roll.
Usage
[h: table(tableName)]
[h: table(tableName, row)]
Examples
Display a random value from table "tbl1" using default roll. >
[r: table("tbl1")]
Display the first value from table "tbl1".
[r: table("tbl1", 1)]
Display one of the first 4 values from "tbl1" chosen randomly.
[r: table("tbl1", "1d4")]