Template:Security Warning: Difference between revisions

imported>Samueldr
No edit summary
DoggoBit (talk | contribs)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}{{DISPLAYTITLE:Template:security warning}}
<includeonly>{{Notice
 
  |color={{#switch:{{{type|hiPrio}}}
== Usage ==
    |hiPrio
 
    |critical = var(--color-error)
<nowiki>{{Security Warning|reason|heading=Teplacement Title}}</nowiki>
    |lowPrio
 
    |warning = var(--border-color-warning)
== Example ==
    |secure = var(--color-success)
 
    |#default = var(--color-progressive)
<nowiki>{{Security Warning|This is just a demonstration template.}}</nowiki>
  }}
 
  |background={{#switch:{{{type|hiPrio}}}
{{Security Warning|This is just a demonstration template.}}
    |hiPrio
 
    |critical = var(--background-color-error-subtle)
</noinclude><includeonly>{{META Message
    |lowPrio
|border = #ED1515
    |warning = var(--background-color-warning-subtle)
|signal          = [[File:Breeze-security-low.png|link=]]
    |secure = var(--background-color-success-subtle)
|heading        = {{{heading|Warning}}}
    |#default = var(--background-color-progressive-subtle)
|message        = {{{1|{{{message}}}}}}
  }}
}}[[Category:Pages or sections flagged with Template:Expansion]]</includeonly>
  |icon=🛡&#xFE0E;
  |'''{{{heading|Security information:}}}''' {{{1|{{{message}}}}}}
}}{{#ifeq:{{{category|yes}}}|yes|[[Category:Pages or sections flagged with Template:Security Warning]][[Category:Articles that contain security information]]|}}</includeonly><noinclude>{{merge|Template:Warning|reason=This template is a semantically-specific reimplementation of [[Template:Warning]] and [[Template:Notice]].}}{{Documentation}}</noinclude>