Module:Excerpt/portals/doc
< Module:Excerpt | portals
Jump to navigation
Jump to search
This is the documentation page for Module:Excerpt/portals
This Lua module is used on approximately 4,500 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own Module:Excerpt/portals. Consider discussing changes on the talk page before implementing them. |
This module depends on the following other modules: |
This module uses TemplateStyles: |
Usage
{{#invoke:Excerpt/portals|lead}}
- Transcludes the lead of an article as an excerpt. Main documentation: {{Transclude lead excerpt/doc}}
{{#invoke:Excerpt/portals|linked}}
- Transcludes as an excerpt the lead of an article selected randomly from wikilinks on a page. Main documentation: {{Transclude linked excerpt/doc}}
{{#invoke:Excerpt/portals|listitem}}
- Transcludes as an excerpt the lead of an article selected randomly from list items on a page. Main documentation: {{Transclude list item excerpt/doc}}
{{#invoke:Excerpt/portals|random}}
- Transcludes as an excerpt the lead of an article selected randomly from the parameters. Main documentation: {{Transclude random excerpt/doc}}
{{#invoke:Excerpt/portals|selected}}
- Transcludes the lead of a selected article as an excerpt. Main documentation: {{Transclude selected excerpt/doc}}
Note
Before saving a change to this module, please preview with:
- Template:Transclude lead excerpt/testcases
- Template:Transclude linked excerpt/testcases
- Template:Transclude list item excerpt/testcases
- Template:Transclude random excerpt/testcases
- Template:Transclude selected excerpt/testcases
See also