Difference between revisions of "Template:Notice/Docs"

From A3! Wiki
(Created page with "<noinclude>Category:Template Documentation</noinclude> <includeonly>Creates a notice containing information or a spoiler warning. ==How to Use== <pre>{{Notice|Whatever is...")
 
m (forgot to add the 2nd part of General to its <pre> eg... ^^;; + dark mode disclaimer)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>[[Category:Template Documentation]]</noinclude>
 
<noinclude>[[Category:Template Documentation]]</noinclude>
<includeonly>Creates a notice containing information or a spoiler warning.
+
<includeonly>Creates 1 of 3 types of Notice boxes: general (blue), spoiler (yellow), and warning (red). Note that at the moment, all 3 Notice types will appear as the same yellow to users with the [https://6857.github.io/a3wikidarkmode A3! Wiki Dark Mode Theme™️] enabled.
  
 
==How to Use==
 
==How to Use==
<pre>{{Notice|Whatever is here will be the text of the page unless the contents is the word spoiler, in which case it will create a yellow spoiler warning.}}</pre>
+
Click the respective header links to see live examples of each Notice box.
 
+
===[[The Key to Daydreaming/Episode 1|General]]===
{{Notice|Whatever is here will be the text of the page unless the contents is the word spoiler, in which case it will create a yellow spoiler warning.}}
+
<pre>{{Notice|Whatever is here will be the notice text. There is no need to state a 'type', unlike for the other 2 Notice boxes.}}</pre>
 +
would generate this: {{Notice|Whatever is here will be the notice text. There is no need to state a 'type', unlike for the other 2 Notice boxes.}}
  
 +
===[[Other Characters#Recurring Story Characters|Spoiler]]===
 
<pre>{{Notice|spoiler}}</pre>
 
<pre>{{Notice|spoiler}}</pre>
 +
would automatically generate this '''standard''' spoiler tag: {{Notice|spoiler}}
  
{{Notice|spoiler}}
+
===[[The Liar Night is Forever/Episode 9|Warning]]===
 +
<pre>{{Notice|warning|<b>Trigger warning</b>: A section of the performance in this episode depicts [insert topics here]. Reader discretion is advised.}}</pre>
 +
would generate this: {{Notice|warning|<b>Trigger warning</b>: A section of the performance in this episode depicts [insert topics here]. Reader discretion is advised.}}
 +
Note that the use of this box is not restricted to trigger warnings only, and may be used for any other important warnings for story readers or wiki visitors.
 +
__NOTOC__
 
</includeonly>
 
</includeonly>

Latest revision as of 07:54, 11 May 2021