Difference between revisions of "Module:Excerpt/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sophivorus
(Add link to Template:Excerpt)
blackwiki>Dreamy Jazz
(update)
Line 1: Line 1:
 
{{Module rating|beta}}
 
{{Module rating|beta}}
{{high-use|5,836}}
+
{{high-use|6644}}
 
{{Uses Lua|Module:Redirect}}
 
{{Uses Lua|Module:Redirect}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->

Revision as of 12:31, 8 February 2019

Template:Uses Lua

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.

Note

Before saving a change to this module, please preview with:

See also