Module:Excerpt/doc
From HandWiki
This is the documentation page for Module:Excerpt
![]() | This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
![]() | This Lua module is used on approximately 3,300 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
![]() | This module depends on the following other modules: |
Usage
{{#invoke:Excerpt|lead}}
- Main documentation: {{Transclude lead excerpt/doc}}
Transcludes the lead of an article as an excerpt.
{{#invoke:Excerpt|linked}}
- Main documentation: {{Transclude linked excerpt/doc}}
Transcludes as an excerpt the lead of an article selected randomly from wikilinks on a page.
{{#invoke:Excerpt|listitem}}
- Main documentation: {{Transclude list item excerpt/doc}}
Transcludes as an excerpt the lead of an article selected randomly from list items on a page.
{{#invoke:Excerpt|random}}
- Main documentation: {{Transclude random excerpt/doc}}
Transcludes as an excerpt the lead of an article selected randomly from the parameters.
{{#invoke:Excerpt|selected}}
- Main documentation: {{Transclude selected excerpt/doc}}
Transcludes the lead of a selected article as an excerpt.
{{#invoke:Excerpt|excerpt}}
- Main documentation: {{Excerpt/doc}}
Transcludes part of an article into another article.
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
- Template:Excerpt/testcases
See also