Content Warnings
Notices are useful to display a banner, giving warnings or info about the content. You can also turn notices into prompts for readers to click confirm before continuing.
Options
data-notice-type
Required to create a notice. Can be info
or cw
(Content Warning).
data-notice-prompt
Turn notice into prompt where readers have to click "I understand" to continue. Useful for strong content warnings.
Example
1<blockquote data-notice-type="cw" data-notice-prompt="true"> 2 <h2>Content Warning!</h2> 3 <p> 4 Contains mentions of Tsumugi Aoba. 5 </p> 6</blockquote> 7<figure> 8 <img src="https://media.tumblr.com/path/to/img.png" /> 9</figure> 10<p> 11 <b>Tsumugi: </b>Thanks for celebrating my 12 birthday. No, I don't need anything material 13 —Just your feelings make me really happy... ♪ 14</p>
Content Warning!
Contains mentions of Tsumugi Aoba.
Tsumugi: Thanks for celebrating my birthday. No, I don't need anything material —Just your feelings make me really happy... ♪
Tsumugi’s Birthday Event translation by fortunebanquet