Difference between revisions of "Template:Notice/Docs"

From A3! Wiki
(added Warning notice box; overhauled w/ clearer instructions)
m (forgot to add the 2nd part of General to its <pre> eg... ^^;; + dark mode disclaimer)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>[[Category:Template Documentation]]</noinclude>
 
<noinclude>[[Category:Template Documentation]]</noinclude>
<includeonly>Creates 1 of 3 types of Notice boxes: general (blue), spoiler (yellow), and warning (red).
+
<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==
 
Click the respective header links to see live examples of each Notice box.
 
Click the respective header links to see live examples of each Notice box.
 
===[[The Key to Daydreaming/Episode 1|General]]===
 
===[[The Key to Daydreaming/Episode 1|General]]===
<pre>{{Notice|Whatever is here will be the notice text.}}</pre>
+
<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.}}
 
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.}}
  
Line 16: Line 16:
 
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.}}
 
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.
 
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