Template:Notice

From Mamiya Wiki
Revision as of 01:28, 31 May 2023 by Mamiyawiki (talk | contribs) (Created page with "<noinclude> Category:Template {{Template:Notice/Docs}} </noinclude><includeonly> {{#css: .notice { padding: .75rem 1.25rem; margin: 1em auto; border: 1px solid transparent; border-radius: .25rem; display: inline-block; text-align: center; } .noticeInfo { color: #0c5460; background-color: #d1ecf1; border-color: #bee5eb; } .noticeSpoiler { color: #856404; background-color: #fff3cd; border-color: #ffeeba; } .noticeWarni...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Creates 1 of 3 types of Notice boxes: general (green), spoiler (yellow), and warning (red).

How to Use

Click the respective header links to see live examples of each Notice box.

General

{{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:

Whatever is here will be the notice text. There is no need to state a 'type', unlike for the other 2 Notice boxes.

Spoiler

{{Notice|spoiler}}

would automatically generate this standard spoiler tag:

Warning! The following text may contain spoilers for aspects of the story. Proceed with caution.

Warning

{{Notice|warning|<b>Trigger warning</b>: A section of the story summary below depicts [insert topics here]. Reader discretion is advised.}}

would generate this:

Trigger warning: A section of the story summary below 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 wiki visitors.