Template:Excerpt/doc
- This template requires several LUA modules:
- Module:Excerpt (Main Module) + Module:Excerpt/config (Module to exclude templates and elements in the excerpts) (Note: Adapted for the Plague Inc. Wiki Templates) + Module:Transcluder (Module required for the template to replicate content from one page to another)
- 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Article | 1 article page | Name of the article or page to transclude
| Page name | required |
Section | 2 section fragment | Name of the section or <section> tag to transclude
| String | optional |
Only | only | Transclude only this kind of element
| String | optional |
Paragraphs | paragraphs paragraph | Paragraphs to transclude
| String | optional |
Files | files file | Files to transclude
| String | optional |
Tables | tables table | Tables to transclude
| String | optional |
Lists | lists list | Lists to transclude
| String | optional |
Templates | templates template | Templates to transclude
| String | optional |
References | references | Whether to transclude the references
| Boolean | optional |
Subsections | subsections | Whether to transclude the subsections of the requested section
| Boolean | optional |
Hatnote | hat | Whether to include the hatnote
| Boolean | optional |
Bold | bold | Whether to preserve bold text
| Boolean | optional |
Wikilinks | links | Whether to preserve wikilinks
| Boolean | optional |
Quote | quote | Wraps the excerpt in <blockquote> tags
| Boolean | optional |
This | this | Change the initial text of the hatnote
| String | optional |
Display title | displaytitle | Change the text of the link in the hatnote | String | optional |
Inline | inline | Remove the hatnote and <div> tags around the excerpt, to use it inside other text
| Boolean | optional |
Only free files | onlyfreefiles | Enable transclusion of non-free files
| Boolean | optional |
Brief dates | briefdates | Abbreviate birth and death information to (YYYY-YYYY) format
| Boolean | optional |
Class | class | Additional CSS class
| String | optional |