<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dawnofembers.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ASpoiler</id>
	<title>Template:Spoiler - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dawnofembers.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ASpoiler"/>
	<link rel="alternate" type="text/html" href="https://dawnofembers.wiki/w/index.php?title=Template:Spoiler&amp;action=history"/>
	<updated>2026-10-14T08:02:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://dawnofembers.wiki/w/index.php?title=Template:Spoiler&amp;diff=214&amp;oldid=prev</id>
		<title>DTX Studios: Protected &quot;Template:Spoiler&quot;: Kept in step with the game&#039;s data by the maintainers ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://dawnofembers.wiki/w/index.php?title=Template:Spoiler&amp;diff=214&amp;oldid=prev"/>
		<updated>2026-10-13T21:14:14Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/Template:Spoiler&quot; title=&quot;Template:Spoiler&quot;&gt;Template:Spoiler&lt;/a&gt;&amp;quot;: Kept in step with the game&amp;#039;s data by the maintainers ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:14, 13 October 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key dawnofembers_wiki:diff:1.41:old-175:rev-214 --&gt;
&lt;/table&gt;</summary>
		<author><name>DTX Studios</name></author>
	</entry>
	<entry>
		<id>https://dawnofembers.wiki/w/index.php?title=Template:Spoiler&amp;diff=175&amp;oldid=prev</id>
		<title>DTX Studios: Wiki launch content: written from the game&#039;s code, data and story bible (Tools/wiki/content)</title>
		<link rel="alternate" type="text/html" href="https://dawnofembers.wiki/w/index.php?title=Template:Spoiler&amp;diff=175&amp;oldid=prev"/>
		<updated>2026-10-13T21:13:58Z</updated>

		<summary type="html">&lt;p&gt;Wiki launch content: written from the game&amp;#039;s code, data and story bible (Tools/wiki/content)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{Spoiler start|mission={{{mission|}}}|about={{{about|}}}|compact={{{compact|}}}}}&lt;br /&gt;
{{{1|}}}&lt;br /&gt;
{{Spoiler end}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This template hides story content in a &amp;#039;&amp;#039;&amp;#039;spoiler box&amp;#039;&amp;#039;&amp;#039;. The box shows a short warning and a &amp;#039;&amp;#039;&amp;#039;Show&amp;#039;&amp;#039;&amp;#039; link; the content stays hidden until the reader opens it. It is the wiki&amp;#039;s way of marking story spoilers (see [[How to contribute#Spoilers]]).&lt;br /&gt;
&lt;br /&gt;
{{Spoiler|mission=5|1=This is what a spoiler box looks like. The text inside stays hidden until you select &amp;#039;&amp;#039;&amp;#039;Show&amp;#039;&amp;#039;&amp;#039;.}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Short content ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Spoiler|mission=5|1=Hale gives the order to fall back to the hall.}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Always write the content as &amp;lt;code&amp;gt;1=&amp;lt;/code&amp;gt;. Without it, an equals sign anywhere in the text (for example inside a link or a style) breaks the template.&lt;br /&gt;
&lt;br /&gt;
=== Long sections ===&lt;br /&gt;
For a section with paragraphs, lists or tables, use the pair [[Template:Spoiler start|&amp;lt;nowiki&amp;gt;{{Spoiler start}}&amp;lt;/nowiki&amp;gt;]] and [[Template:Spoiler end|&amp;lt;nowiki&amp;gt;{{Spoiler end}}&amp;lt;/nowiki&amp;gt;]] instead. It takes the same parameters, and the content between the two is ordinary wikitext:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
== Story ==&lt;br /&gt;
{{Spoiler start|mission=5}}&lt;br /&gt;
First paragraph.&lt;br /&gt;
&lt;br /&gt;
* A list item.&lt;br /&gt;
{{Spoiler end}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Keep section headings &amp;#039;&amp;#039;&amp;#039;outside&amp;#039;&amp;#039;&amp;#039; the box. A heading inside a closed box still appears in the table of contents, but following it does not open the box.&lt;br /&gt;
&lt;br /&gt;
=== Inside an infobox ===&lt;br /&gt;
Add &amp;lt;code&amp;gt;compact=yes&amp;lt;/code&amp;gt; for a one-line warning, which fits a narrow table cell:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
| objectives = {{Spoiler|mission=5|compact=yes|1=&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;Hold the first assault.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Use HTML lists (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) inside a template parameter. Wikitext lists need a new line, and table syntax (&amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt;) cannot be used there at all.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; || The hidden content. Write it as &amp;lt;code&amp;gt;1=...&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;mission&amp;lt;/code&amp;gt; || Optional. A mission number; the warning then reads &amp;quot;Story spoilers: Mission 5&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;about&amp;lt;/code&amp;gt; || Optional, used when &amp;lt;code&amp;gt;mission&amp;lt;/code&amp;gt; is not given. Free text for the warning, for example &amp;lt;code&amp;gt;about=Missions 1-10&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;compact&amp;lt;/code&amp;gt; || Optional. &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt; leaves out the second line of the warning.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
* It uses only MediaWiki core: the &amp;lt;code&amp;gt;mw-collapsible mw-collapsed&amp;lt;/code&amp;gt; classes, which the software turns into a closed box with a Show / Hide link. No extension is needed.&lt;br /&gt;
* The colours use the skin&amp;#039;s own colour variables, with fixed fallbacks, so the box stays readable in light and dark display modes.&lt;br /&gt;
* Readers who browse without JavaScript see the content open. The warning line is still shown above it.&lt;br /&gt;
* In the visual editor a spoiler box appears as one block. To edit the text inside it, use &amp;#039;&amp;#039;&amp;#039;Edit source&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* This template and its two partners are protected, because every story page depends on them.&lt;br /&gt;
&lt;br /&gt;
== When to use it ==&lt;br /&gt;
* Wrap anything that tells what happens in the Story campaign: mission plots, objectives that give away events, what happens to characters, and endings.&lt;br /&gt;
* A mission&amp;#039;s name, number, chapter and map are not spoilers.&lt;br /&gt;
* Pages about mechanics, units and buildings should not need it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;description&amp;quot;: &amp;quot;Hides story spoilers in a closed box with a warning and a Show link. For long sections use Spoiler start and Spoiler end.&amp;quot;,&lt;br /&gt;
  &amp;quot;params&amp;quot;: {&lt;br /&gt;
    &amp;quot;1&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Content&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;The hidden text. Write it as 1=...&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;content&amp;quot;,&lt;br /&gt;
      &amp;quot;required&amp;quot;: true&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;mission&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Mission number&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;Shown in the warning, e.g. 5 gives &amp;#039;Story spoilers: Mission 5&amp;#039;.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;about&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;About&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;Free text for the warning when no mission number is given.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;compact&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Compact&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;yes = a one-line warning, for table cells.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
      &amp;quot;suggestedvalues&amp;quot;: [&amp;quot;yes&amp;quot;]&lt;br /&gt;
    }&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>DTX Studios</name></author>
	</entry>
</feed>