Template:Noexcerpt: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<div class="noexcerpt">{{{1}}}</div>")
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="noexcerpt">{{{1}}}</div>
<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, 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:
 
<pre>
{{noexcerpt | ''See also: [[Blah]]'' }}
</pre>
 
<pre>
{{noexcerpt |
''This page is about Blah from Chapter One.  If you were looking for the other Blah, see [[Blah (Bleb)]].''
}}
</pre>
</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)]].''
}}