Template:Notice: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
geometrydash.wiki.gg>TropicalwaveS
m Undo revision 48915 by Wyatt1234 (talk)
m 23 revisions imported: Copied from Official Wiki https://geometrydash.wiki.gg/index.php?title=Template%3ANotice&oldid=239751 ; contributors: https://geometrydash.wiki.gg/index.php?title=Template%3ANotice&action=history
 
(103 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{| style="width:80%;margin:10px auto 0;border:1px solid #CCC;font-family:Lucida Sans,Helvetica,Sans-serif;font-size:95%;color:#666;background-color:#D8DDEA;box-shadow:0 0 5px #000; {{{style|}}}; {{#switch:{{{border|}}}
<div class="notice noexcerpt" style="overflow:hidden;width:75%;margin:1rem auto 2rem;padding:1rem;"><div style="display:grid;grid-template-columns:auto 1fr;align-items:center;gap:0.5rem 1rem;padding:0.5rem;">
  | red      = border-left: 5px solid #D00
<div style="grid-row:span 2;">{{{image|}}}</div>
  | orange  = border-left: 5px solid #F80
<div>'''{{{header|header}}}'''</div>
  | yellow  = border-left: 5px solid #EC0
<div style="font-size:90%;">{{{body|body}}}</div>
  | green    = border-left: 5px solid #0A0
</div></div><noinclude>
  | blue    = border-left: 5px solid #0AF
  | navy    = border-left: 5px solid #048
  | purple  = border-left: 5px solid #80B
  | grey    = border-left: 5px solid #888
  | #default = border-left: 5px solid #000
}}"
|-
| style="width:60px;padding:5px 10px;" | {{{image|[[Image:Wiki.png|60px]]}}}
| style="padding:10px 10px 10px 0;font-weight:bold;" | {{{type|Header text}}}
<div style="padding-top:5px;font-weight:normal;font-size:85%;">{{{info|Explanation}}}</div>
|}<br /><noinclude>
;Description
;Description
:This is the basis for a number of different article status templates.  
:This template is the basis for [[:Category:Notices|notice templates]]. It may be transcluded to produce new notices on-page. However, only staff are permitted to create new notice templates.
;Syntax
;Syntax
:To use this style of template, replace the capitilised words with the specified fillers.
<pre>
<pre>
{{Notice
{{Notice
|border = color (hex codes cannot be used, inspect the template for usable colour names)
|image =
|image = IMAGE
|header = (required)
|type = HEADING
|body  = (required)
|info  = SUB TEXT
}}
}}
</pre>
</pre>
[[Category:Article status templates| ]]</noinclude>
;Sample
<pre>
{{Notice
|image  = <div class="suppress-rounding">[[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]]</div>
|header = Triple spikes.
|body  = Ah spikes, here we go again.
}}
</pre>
;Sample output
{{Notice
|image  = <div class="suppress-rounding">[[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]]</div>
|header = Triple spikes.
|body  = Ah spikes, here we go again.
}}
[[Category:Notices| ]]</noinclude>

Latest revision as of 23:55, 13 October 2026

header
body
Description
This template is the basis for notice templates. It may be transcluded to produce new notices on-page. However, only staff are permitted to create new notice templates.
Syntax
{{Notice
 |image  =
 |header = (required)
 |body   = (required)
}}
Sample
{{Notice
 |image  = <div class="suppress-rounding">[[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]]</div>
 |header = Triple spikes.
 |body   = Ah spikes, here we go again.
}}
Sample output
Triple spikes.
Ah spikes, here we go again.