Module:ProfessionList/doc
Jump to navigation
Jump to search
This is the documentation page for Module:ProfessionList
Module:ProfessionList requires Module:Currency.
Module:ProfessionList requires Module:RecipeTreeSearch.
Module:ProfessionList is required by
.This module is a helper module to be used by other modules; it may not designed to be invoked directly. See Brighter Shores:Lua/Helper modules for a full list and more information.
Function | Type | Use |
---|---|---|
currency_cell(amount) | amount: number, or nil | Returns the HTML to create a table currency cell using module:currency._cell. If instead it is supplied with nil then a 10x1 cell is created with the text "unknown". |
unknown_value_cell(size) | size: integer | Returns the HTML to create a 'size'x1 cell with the text "unknown". Use within :node() |
unknown_value_edit_cell(page,size) | page: string name of page size: integer | Returns the HTML to create a 'size'x1 cell with a link to edit the specified page. Use within :node() |
generate_recipe_table(queryString) | queryString: string | Generates a table of recipes and activities from a Semantic MediaWiki query string. queryString is just a selection of pages, from any combination of SMW properties and categories |