Template:Excerpt

From Plague Inc. Wiki
Jump to navigation Jump to search
Template documentation [View] [Edit] [History] [Refresh]
  • This template requires several LUA modules:
  • Credits: Sophivorus, Certes, Aidan9382 & others (List of Contributors), taken from the English Wikipedia
  • License: CC-BY-SA-3.0 (Wikipedia)

This template is used for transcluding part of an article into another article.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Article1 article page

Name of the article or page to transclude

Example
Neurax Worm
Page namerequired
Section2 section fragment

Name of the section or <section> tag to transclude

Example
Traits
Stringoptional
Onlyonly

Transclude only this kind of element

Example
table
Stringoptional
Paragraphsparagraphs paragraph

Paragraphs to transclude

Example
1-3,5
Stringoptional
Filesfiles file

Files to transclude

Default
1
Example
1-3,5
Stringoptional
Tablestables table

Tables to transclude

Example
Stats2020
Stringoptional
Listslists list

Lists to transclude

Example
1
Stringoptional
Templatestemplates template

Templates to transclude

Example
Infobox person
Stringoptional
Referencesreferences

Whether to transclude the references

Example
no
Booleanoptional
Subsectionssubsections

Whether to transclude the subsections of the requested section

Example
yes
Booleanoptional
Hatnotehat

Whether to include the hatnote

Default
no
Example
yes
Booleanoptional
Boldbold

Whether to preserve bold text

Default
yes
Example
no
Booleanoptional
Wikilinkslinks

Whether to preserve wikilinks

Default
yes
Example
no
Booleanoptional
Quotequote

Wraps the excerpt in <blockquote> tags

Default
no
Example
yes
Booleanoptional
Thisthis

Change the initial text of the hatnote

Example
This gallery is
Stringoptional
Display titledisplaytitle

Change the text of the link in the hatnote

Stringoptional
Inlineinline

Remove the hatnote and <div> tags around the excerpt, to use it inside other text

Default
no
Example
yes
Booleanoptional
Only free filesonlyfreefiles

Enable transclusion of non-free files

Default
no
Example
yes
Booleanoptional
Brief datesbriefdates

Abbreviate birth and death information to (YYYY-YYYY) format

Default
no
Example
yes
Booleanoptional
Classclass

Additional CSS class

Example
noprint
Stringoptional