Template:Security Warning/Doc: Difference between revisions

DoggoBit (talk | contribs)
Created page with "This notice can be used to display security information to the reader, in a way that disrupts the normal reading flow. This can be especially useful to convey critical information the user should read before proceeding. {{Security Warning|category=no|This template is not secure}} == Usage == Simply including this template, alongside a message to be displayed, would suffice in producing a notice like the one above: {{bc|<nowiki>{{Security Warning|This template is not..."
 
DoggoBit (talk | contribs)
No edit summary
 
Line 11: Line 11:
There are three distinct levels you can specify for a security warning's {{ic|type}}. Each level, along with an example and the resulting output can be seen in the table below:
There are three distinct levels you can specify for a security warning's {{ic|type}}. Each level, along with an example and the resulting output can be seen in the table below:


{| class="wikitable"
{| class="wikitable" style="width: 100%;"
  ! Type
  ! Type
  ! Example
  ! Example
Line 47: Line 47:
You can also specify some text to replace the ''"Security information"'' in the notice:
You can also specify some text to replace the ''"Security information"'' in the notice:


{{bc|<nowiki>{{Security Warning|category=no|type=info|heading=Important info:|This security notice is important.}}</nowiki>}}
{{bc|<nowiki>{{Security Warning|type=info|heading=Important info:|This security notice is important.}}</nowiki>}}


{{Security Warning|type=info|heading=Important info:|This security notice is important.}}
{{Security Warning|category=no|type=info|heading=Important info:|This security notice is important.}}