Template:Noexcerpt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="noexcerpt">{{{1}}}</div></includeonly><noinclude> | <includeonly><div class="noexcerpt navigation-not-searchable">{{{1}}}</div></includeonly><noinclude> | ||
Use this to exclude a piece of text from the auto-generated excerpt when someone hovers over a link to that page. For example, if the page begins with a notice such as "this page is up to date with version X of the game" or "this page is about X; see Y for blah instead" and such. | Use this to exclude a piece of text from the auto-generated excerpt when someone hovers over a link to that page, and also exclude it from being considered for full-text search. For example, if the page begins with a notice such as "this page is up to date with version X of the game" or "this page is about X; see Y for blah instead" and such. | ||
Examples: | Examples: | ||
<pre> | <pre> | ||
{{ | {{noexcerpt | ''See also: [[Blah]]'' }} | ||
</pre> | </pre> | ||
<pre> | <pre> | ||
{{ | {{noexcerpt | | ||
''This page is about Blah from Chapter One. If you were looking for the other Blah, see [[Blah (Bleb)]].'' | ''This page is about Blah from Chapter One. If you were looking for the other Blah, see [[Blah (Bleb)]].'' | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 02:11, 7 June 2024
Use this to exclude a piece of text from the auto-generated excerpt when someone hovers over a link to that page, and also exclude it from being considered for full-text search. For example, if the page begins with a notice such as "this page is up to date with version X of the game" or "this page is about X; see Y for blah instead" and such.
Examples:
{{noexcerpt | ''See also: [[Blah]]'' }}
{{noexcerpt | ''This page is about Blah from Chapter One. If you were looking for the other Blah, see [[Blah (Bleb)]].'' }}