Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 23:13, 20 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} {{Lua|Module:Exports}} {{tl|Module exports}} is used to list the exports of a Lua module. == Usage == <code><nowiki>{{Module exports[|MODULE NAME][|exclude=LUA PATTERN]}}</nowiki></code> === Parameters === * {{para|1}} - The first unnamed parameter is the module to show exports for. Defaults to the current page. * {{para|exclude}} - A Lua pattern that when matched excludes the export from the final output. == Examples == * {{demo-i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

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

Parameters

  • |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

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