Difference between revisions of "Module:Excerpt/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Ahecht
(Document {{excerpt}})
blackwiki>Pppery
(Update dependencies)
Line 1: Line 1:
 
{{Module rating|beta}}
 
{{Module rating|beta}}
 
{{high-use|6644}}
 
{{high-use|6644}}
{{Uses Lua|Module:Redirect}}
+
{{Uses Lua|Module:Excerpt/i18n|Module:Hatnote}}
 
<!-- 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]]) -->
 
== Usage ==
 
== Usage ==

Revision as of 19:46, 11 May 2020

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.

{{#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:

See also