Template:Excerpt: Difference between revisions

Jump to navigation Jump to search
5 bytes removed ,  18:00, 20 December 2021
m
no edit summary
mNo edit summary
mNo edit summary
Line 11: Line 11:
== Warnings ==
== Warnings ==
* If the excerpted section title changes or is removed from the source page, the excerpt will no longer work. Consider adding an HTML comment to the page being excerpted so that editors of that page in the future know not to change the title of the section. For example:<br><code><nowiki><!-- This section is excerpted in other places using Template:Excerpt.</nowiki></code><br><code><nowiki>Please do not change the section title without updating the other pages that excerpt it. --></nowiki></code>
* If the excerpted section title changes or is removed from the source page, the excerpt will no longer work. Consider adding an HTML comment to the page being excerpted so that editors of that page in the future know not to change the title of the section. For example:<br><code><nowiki><!-- This section is excerpted in other places using Template:Excerpt.</nowiki></code><br><code><nowiki>Please do not change the section title without updating the other pages that excerpt it. --></nowiki></code>
* This template will include everything either until another section header is reached or the end of the page is reached. As a result, it can include navboxes, categories, or other content depending on the location of the excerpted section. To avoid this, you can wrap any subsequent content (such as a navbox or category) inside <nowiki><noinclude></noinclude></nowiki> tags on the page from which you are excerpting content.
* This template will include everything either until another section header is reached or the end of the page is reached. As a result, it can include navboxes, categories, or other content depending on the location of the excerpted section. To avoid this, you can wrap any subsequent content (such as a navbox or category) inside &lt;noinclude&gt;&lt;/noinclude&gt; tags on the page from which you are excerpting content.


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Navigation menu