<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-CA">
	<id>https://covtlepedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AExcerpt%2Fen</id>
	<title>Template:Excerpt/en - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://covtlepedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AExcerpt%2Fen"/>
	<link rel="alternate" type="text/html" href="https://covtlepedia.org/w/index.php?title=Template:Excerpt/en&amp;action=history"/>
	<updated>2026-04-04T05:48:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://covtlepedia.org/w/index.php?title=Template:Excerpt/en&amp;diff=565&amp;oldid=prev</id>
		<title>Johanna: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://covtlepedia.org/w/index.php?title=Template:Excerpt/en&amp;diff=565&amp;oldid=prev"/>
		<updated>2025-10-10T14:20:44Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-CA&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:20, 10 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-CA&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Johanna</name></author>
	</entry>
	<entry>
		<id>https://covtlepedia.org/w/index.php?title=Template:Excerpt/en&amp;diff=564&amp;oldid=prev</id>
		<title>MediaWiki&gt;FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="https://covtlepedia.org/w/index.php?title=Template:Excerpt/en&amp;diff=564&amp;oldid=prev"/>
		<updated>2025-03-11T12:10:09Z</updated>

		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;languages /&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{#invoke:Excerpt|main}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation|content=&lt;br /&gt;
&lt;br /&gt;
{{Lua|Module:Excerpt}}&lt;br /&gt;
This template is used for reusing parts of pages in other pages.&lt;br /&gt;
This practice has several advantages:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Reduces maintenance&amp;#039;&amp;#039;&amp;#039; by avoiding duplicate content that must be updated multiple times&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Improves content quality&amp;#039;&amp;#039;&amp;#039; by encouraging editors to merge related content, rather than having multiple versions in various stages of development&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fosters collaboration&amp;#039;&amp;#039;&amp;#039; by channeling contributors into one place, rather than working in parallel&lt;br /&gt;
&lt;br /&gt;
This template extends the capabilities of the built-in [[Special:MyLanguage/Transclusion|normal transclusion]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
=== Basic usage ===&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Excerpt|Page title}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; — Transclude the lead section ([[#Lead section|example]])&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Excerpt|Page title|Section title}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; — Transclude a specific section, excluding any subsections ([[#Specific section|example]])&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
* &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; — Title of the page to transclude. &amp;#039;&amp;#039;&amp;#039;Only required parameter.&amp;#039;&amp;#039;&amp;#039; By default the lead section will be transcluded ([[#Lead section|example]]).&lt;br /&gt;
* &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt; — Title of the section to transclude ([[#Specific section|example]]) or name of the [[Special:MyLanguage/Extension:Labeled Section Transclusion#How it works|{{tag|section|open}} tag]] to transclude. Notice that this template provides other ways of targeting specific elements of a page without having to resort to section tags.&lt;br /&gt;
* &amp;lt;code&amp;gt;only&amp;lt;/code&amp;gt; — Elements to transclude ([[#Files only|example]]). By default all elements are transcluded.&lt;br /&gt;
** &amp;lt;code&amp;gt;only=file&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;only=files&amp;lt;/code&amp;gt; — Transclude only files&lt;br /&gt;
** &amp;lt;code&amp;gt;only=list&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;only=lists&amp;lt;/code&amp;gt; — Transclude only lists&lt;br /&gt;
** &amp;lt;code&amp;gt;only=table&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;only=tables&amp;lt;/code&amp;gt; — Transclude only tables&lt;br /&gt;
** &amp;lt;code&amp;gt;only=template&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;only=templates&amp;lt;/code&amp;gt; — Transclude only templates&lt;br /&gt;
** &amp;lt;code&amp;gt;only=paragraph&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;only=paragraphs&amp;lt;/code&amp;gt; — Transclude only paragraphs&lt;br /&gt;
* &amp;lt;code&amp;gt;paragraphs&amp;lt;/code&amp;gt; — Paragraphs to transclude. By default all paragraphs are transcluded.&lt;br /&gt;
** &amp;lt;code&amp;gt;paragraphs=0&amp;lt;/code&amp;gt; — Transclude no paragraphs&lt;br /&gt;
** &amp;lt;code&amp;gt;paragraphs=1&amp;lt;/code&amp;gt; — Transclude the first paragraph&lt;br /&gt;
** &amp;lt;code&amp;gt;paragraphs=2&amp;lt;/code&amp;gt; — Transclude the second paragraph&lt;br /&gt;
** &amp;lt;code&amp;gt;paragraphs=1,3&amp;lt;/code&amp;gt; — Transclude the first and third paragraphs&lt;br /&gt;
** &amp;lt;code&amp;gt;paragraphs=1-3&amp;lt;/code&amp;gt; — Transclude the first, second and third paragraphs&lt;br /&gt;
** &amp;lt;code&amp;gt;paragraphs=1-3,5&amp;lt;/code&amp;gt; — Transclude the first, second, third and fifth paragraphs&lt;br /&gt;
** &amp;lt;code&amp;gt;paragraphs=-1&amp;lt;/code&amp;gt; — Transclude all paragraphs except the first&lt;br /&gt;
** &amp;lt;code&amp;gt;paragraphs=-2&amp;lt;/code&amp;gt; — Transclude all paragraphs except the second&lt;br /&gt;
** &amp;lt;code&amp;gt;paragraphs=-1,3&amp;lt;/code&amp;gt; — Transclude all paragraphs except the first and third&lt;br /&gt;
** &amp;lt;code&amp;gt;paragraphs=-1-3&amp;lt;/code&amp;gt; — Transclude all paragraphs except the first, second and third&lt;br /&gt;
** &amp;lt;code&amp;gt;paragraphs=-1-3,5&amp;lt;/code&amp;gt; — Transclude all paragraphs except the first, second, third and fifth&lt;br /&gt;
* &amp;lt;code&amp;gt;lists&amp;lt;/code&amp;gt; — Lists to transclude. By default all lists are transcluded. Same syntax as when transcluding paragraphs.&lt;br /&gt;
* &amp;lt;code&amp;gt;files&amp;lt;/code&amp;gt; — Files to transclude. By default all files are transcluded. Same syntax as when transcluding paragraphs, but also:&lt;br /&gt;
** &amp;lt;code&amp;gt;files=A.jpg&amp;lt;/code&amp;gt; — Transclude the file named &amp;#039;A.jpg&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt;files=A.jpg, B.png, C.gif&amp;lt;/code&amp;gt; — Transclude the files named &amp;#039;A.jpg&amp;#039;, &amp;#039;B.png&amp;#039; and &amp;#039;C.gif&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt;files=.+%.png&amp;lt;/code&amp;gt; — Transclude all PNG files&lt;br /&gt;
** &amp;lt;code&amp;gt;files=-A.jpg&amp;lt;/code&amp;gt; — Transclude all files except the one named &amp;#039;A.jpg&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt;files=-A.jpg, B.png, C.gif&amp;lt;/code&amp;gt; — Transclude all files except the ones named &amp;#039;A.jpg&amp;#039;, &amp;#039;B.png&amp;#039; and &amp;#039;C.gif&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt;files=-.+%.png&amp;lt;/code&amp;gt; — Transclude all non-PNG files&lt;br /&gt;
* &amp;lt;code&amp;gt;tables&amp;lt;/code&amp;gt; — Tables to transclude. By default all tables are transcluded. Same syntax as when transcluding paragraphs, but also:&lt;br /&gt;
** &amp;lt;code&amp;gt;tables=Stats2020&amp;lt;/code&amp;gt; — Transclude the table with id &amp;#039;Stats2020&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt;tables=Stats2020, Stats2019, Stats2018&amp;lt;/code&amp;gt; — Transclude the tables with ids &amp;#039;Stats2020&amp;#039;, &amp;#039;Stats2019&amp;#039; and &amp;#039;Stats2018&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt;tables=-Stats2020&amp;lt;/code&amp;gt; — Transclude all tables except the one with id &amp;#039;Stats2020&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt;tables=-Stats2020, Stats2019, Stats2018&amp;lt;/code&amp;gt; — Transclude all tables except the ones with ids &amp;#039;Stats2020&amp;#039;, &amp;#039;Stats2019&amp;#039; and &amp;#039;Stats2018&amp;#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;templates&amp;lt;/code&amp;gt; — Templates to transclude. By default all templates are transcluded. Same syntax as when transcluding paragraphs, but also:&lt;br /&gt;
** &amp;lt;code&amp;gt;templates=Infobox&amp;lt;/code&amp;gt; — Transclude the template &amp;#039;Infobox&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt;templates=Infobox, Navbox, Chart&amp;lt;/code&amp;gt; — Transclude the template &amp;#039;Infobox&amp;#039;, &amp;#039;Navbox&amp;#039; and &amp;#039;Chart&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt;templates=-Infobox&amp;lt;/code&amp;gt; — Transclude all templates except &amp;#039;Infobox&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt;templates=-Infobox, Navbox, Chart&amp;lt;/code&amp;gt; — Transclude all templates except &amp;#039;Infobox&amp;#039;, &amp;#039;Navbox&amp;#039; and &amp;#039;Chart&amp;#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;this&amp;lt;/code&amp;gt; — Change the initial text of the hatnote. For example, if the transcluded content is a gallery, you can set &amp;lt;code&amp;gt;this=This gallery is&amp;lt;/code&amp;gt; so that the hatnote reads &amp;quot;This gallery is an excerpt from...&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;displaytitle&amp;lt;/code&amp;gt; — Change the text of the link in the hatnote. For example to add italics, subscripts, etc.&lt;br /&gt;
* &amp;lt;code&amp;gt;hat=no&amp;lt;/code&amp;gt; — Hide the hatnote &amp;quot;This section is an excerpt from...&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;more=yes&amp;lt;/code&amp;gt; — Show a &amp;quot;Read more...&amp;quot; link at the end&lt;br /&gt;
* &amp;lt;code&amp;gt;bold=yes&amp;lt;/code&amp;gt; — Keep bold text.&lt;br /&gt;
* &amp;lt;code&amp;gt;quote=yes&amp;lt;/code&amp;gt; — Wrap the excerpt with {{tag|blockquote|open}} tags.&lt;br /&gt;
* &amp;lt;code&amp;gt;inline=yes&amp;lt;/code&amp;gt; — Remove the hatnote and {{tag|div|open}} tags around the excerpt, to use it inside other text.&lt;br /&gt;
* &amp;lt;code&amp;gt;references=no&amp;lt;/code&amp;gt; — Remove all references.&lt;br /&gt;
* &amp;lt;code&amp;gt;subsections=yes&amp;lt;/code&amp;gt; — Include subsections of the transcluded section. Notice that if the transclusion is done from a section level 3, and the transcluded subsections are level 3 too, then the transcluded subsections will show with the same hierarchy as the transcluding section, which is probably not desirable, so use with caution.&lt;br /&gt;
&lt;br /&gt;
=== Replacing a section with an excerpt ===&lt;br /&gt;
[[File:How to excerpt.webm|thumb|How to replace a section with an excerpt.]]&lt;br /&gt;
&lt;br /&gt;
A section is often a summary of a more precise page dealing with a subtopic.&lt;br /&gt;
Sometimes it&amp;#039;s convenient to replace the content of such a section with an excerpt of the page about the subtopic, after merging the original content of the section (if any) into the page about the subtopic.&lt;br /&gt;
This improves both the page about the subtopic and the section, reduces maintenance, drives contributors to collaborate, etc.&lt;br /&gt;
&lt;br /&gt;
An efficient way to proceed is:&lt;br /&gt;
&lt;br /&gt;
# Open the section for editing in one tab, and the page about the subtopic in another.&lt;br /&gt;
# Copy the text of the section and append it to the lead of the page about the subtopic.&lt;br /&gt;
# Consolidate and adjust the combined lead using common sense.&lt;br /&gt;
# Save the changes in the child article with an edit summary like: Copied content from &amp;lt;nowiki&amp;gt;[[Page]]&amp;lt;/nowiki&amp;gt;; see that article&amp;#039;s history for attribution.&lt;br /&gt;
# Back in the section, delete all content and replace it with an excerpt of the page about the subtopic.&lt;br /&gt;
# Save the changes in the section with an edit summary like: Move content to &amp;lt;nowiki&amp;gt;[[page about the subtopic]]&amp;lt;/nowiki&amp;gt; and leave an excerpt.&lt;br /&gt;
&lt;br /&gt;
== Excerpt trees ==&lt;br /&gt;
[[File:Excerpt tree.png|thumb|Visual representation of an imaginary excerpt tree.]]&lt;br /&gt;
&lt;br /&gt;
When a very general article uses excerpts from more specific articles, which in turn use excerpts from even more specific articles, then a [[w:Tree structure|tree structure]] emerges, called an &amp;quot;Excerpt tree&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Below you can navigate the main excerpt trees on this wiki.&lt;br /&gt;
It&amp;#039;s useful for editors interested in expanding or improving them.&lt;br /&gt;
&lt;br /&gt;
{{Excerpt tree|&lt;br /&gt;
* [[Architecture Repository]]&lt;br /&gt;
* [[Platform Engineering Team]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Lead section ===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Excerpt|Lorem ipsum}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Excerpt|Lorem ipsum}}&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&lt;br /&gt;
=== Specific section ===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Excerpt|Lorem ipsum|Section}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Excerpt|Lorem ipsum|Section}}&lt;br /&gt;
&lt;br /&gt;
=== Files only ===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Excerpt|Lorem ipsum|only=files|hat=no}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Excerpt|Lorem ipsum|only=files|hat=no}}&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&lt;br /&gt;
=== Infobox only ===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Excerpt|Extension:CategoryLockdown|only=templates|templates=Extension|this=This infobox is}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Excerpt|Extension:CategoryLockdown|only=templates|templates=Extension|this=This infobox is}}&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&lt;br /&gt;
=== No infobox ===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Excerpt|Extension:CategoryLockdown|templates=-Extension}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Excerpt|Extension:CategoryLockdown|templates=-Extension}}&lt;br /&gt;
&lt;br /&gt;
=== Portal ===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Excerpt|Lorem ipsum|files=1|references=no|hat=no|more=yes}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Excerpt|Lorem ipsum|files=1|references=no|hat=no|more=yes}}&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Module:Transcluder]] &amp;lt;sup&amp;gt;{{ll|Module:Transcluder/doc|[doc]}}&amp;lt;/sup&amp;gt;&lt;br /&gt;
* [[Module:Excerpt]]&lt;br /&gt;
* [[Module:Excerpt/config]]&lt;br /&gt;
* [[c:Data:I18n/Module:Excerpt.tab]]&lt;br /&gt;
&lt;br /&gt;
== Template data ==&lt;br /&gt;
{{#invoke:TNT|doc|Excerpt}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>MediaWiki&gt;FuzzyBot</name></author>
	</entry>
</feed>