Template:Historical warning: Difference between revisions

Current answers. Practical procedures. Reliable reference.
Jump to navigation Jump to search
EDFM initial deployment: seed template
 
Documentation only: note in <noinclude> usage docs explaining the noexcerpt class (no functional/rendering change)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:EDFM style/styles.css" /><div class="edfm-box edfm-warning">'''Historical notice:''' This article describes something from a past state of the game and may no longer be accurate for current play. {{{1|}}}</div><noinclude>
<templatestyles src="Template:EDFM style/styles.css" /><div class="edfm-panel edfm-panel-warning noexcerpt">'''Historical notice:''' This article describes something from a past state of the game and may no longer be accurate for current play. {{{1|}}}</div><noinclude>
== Usage ==
== Usage ==
<pre>{{Historical warning|optional extra context}}</pre>
<pre>{{Historical warning|optional extra context}}</pre>
The outer notice uses the <code>noexcerpt</code> class so maintenance/editorial
text is excluded from article excerpts and Page Previews.
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 03:29, 20 August 2026

Historical notice: This article describes something from a past state of the game and may no longer be accurate for current play.

Usage

{{Historical warning|optional extra context}}

The outer notice uses the noexcerpt class so maintenance/editorial text is excluded from article excerpts and Page Previews.