Template:CW: Difference between revisions
From The Transformers UK Appendix
Jump to navigationJump to search
Content added Content deleted
(Work in progress) |
No edit summary |
||
Line 1:
<noinclude>
__NOTOC__
==Code==
<pre>
{{CW
|width=comic (for use with [[:Template:Comicstory]]) or article (for full width)
|reason=}}
</pre>
==Example==
<pre>
{{CW
|width=comic
|reason=Attempted child abduction.}}
</pre>
===Result===
{{CW
|width=comic
|reason=Attempted child abduction.}}
[[Category:Templates]]
</noinclude><includeonly>{|style="margin:auto;clear:left;width:{{#switch: {{{width}}} | comic=calc(95% - 260px) | article=100%}}"▼
▲</noinclude>{|style="margin:auto;clear:left;width:{{#switch: {{{width}}} | comic=calc(95% - 260px) | article=100%}}"
|-
| style="text-align:right;" |<div style="padding:.5em; background-color:#e7d492; border:solid 1px #AAAAAA;text-align:center;margin:auto;">
[[File:Template image Spider-sense.png|left|69px|]]
<span style="font-size:125%;font-weight:900;">So why does my spider-sense keep tingling?</span><hr/>
This article contains content that may be upsetting or discomforting to certain readers.<br>{{#if: {{{reason|}}}|'''Reason:''' {{{reason|}}} |}}
</div>
|}<
|
Latest revision as of 16:25, 8 February 2024
Code
{{CW |width=comic (for use with [[:Template:Comicstory]]) or article (for full width) |reason=}}
Example
{{CW |width=comic |reason=Attempted child abduction.}}
Result