Template:Module exports/sandbox
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Module exports (diff). See also the companion subpage for test cases. |
![]() | This template uses Lua: |
{{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
- <syntaxhighlight inline="1" lang="wikitext">{{Module exports|Module:List}}</syntaxhighlight> →
bulleted
,horizontal
,horizontal_ordered
,makeList
,makeListData
,ordered
,renderList
,renderTrackingCategories
andunbulleted
- <syntaxhighlight inline="1" lang="wikitext">{{Module exports|Module:List|exclude=^render}}</syntaxhighlight> →
bulleted
,horizontal
,horizontal_ordered
,makeList
,makeListData
,ordered
andunbulleted