Template:Module exports/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

{{Module exports}} is used to list the exports of a Lua module.

{{Module exports[|MODULE NAME][|exclude=LUA PATTERN]}}

Parameters

[edit source]
  • |1= - The first unnamed parameter is the module to show exports for. Defaults to the current page.
  • |exclude= - A Lua pattern that when matched excludes the export from the final output.

Examples

[edit source]
  • {{Module exports|Module:List}}bulleted, horizontal, horizontal_ordered, makeList, makeListData, ordered, renderList, renderTrackingCategories and unbulleted
  • {{Module exports|Module:List|exclude=^render}}bulleted, horizontal, horizontal_ordered, makeList, makeListData, ordered and unbulleted