Template:Notice: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
geometrydash.wiki.gg>Hackey5
m Updating Category:Article management templates → Category:Article status templates (automatic)
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
 
(122 intermediate revisions by 21 users not shown)
Line 1: Line 1:
{| style="font-size: 95%; width: 80%; margin: 0 auto; border: 1px #AAA solid; border-collapse: collapse; background-color: #EEE; box-shadow: 0 0 5px; {{{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 #B00
<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
;Description
  | navy    = border-left: 5px solid #048
: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.
  | purple  = border-left: 5px solid #80B
;Syntax
  | gray    = border-left: 5px solid #AAA
  | #default = border-left: 5px solid #000
}}"
|-
| style="width: 60px; padding: 2px 0px 2px 0.5em; text-align: center;" | {{{image|[[Image:Wiki.png|70px]]}}}
| style="padding: 0.25em 0.5em; color:#000;" |<span style="font: 100% 'Lucida Sans'; color:#707070;"> {{{type|Header text}}}</span>
<div class="font-size: 110%; margin-top:0.5em; margin-left:0.8em;" style="font-size:11px;">
<span style="font-size: 105%; color:#707070;">{{{info|Explanation}}}</span>
</div>
|}
 
<noinclude>
==Usage==
This is the basis for a number of different article management templates. To use it, replace the capitilised words with the specified fillers.
<pre>
<pre>
{{Notice
{{Notice
|border = color (you cannot use hex codes, inspect the template for usable colour names)
|image =
|image = IMAGE
|header = (required)
|type = HEADING
|body  = (required)
|info  = SUB TEXT
}}
}}
</pre>
</pre>
</noinclude>
;Sample
 
<pre>
<noinclude>[[Category:Article status templates]]</noinclude>
{{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.