Template:Notice: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
geometrydash.wiki.gg>Hackey5
m Reorganised content
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
 
(30 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<div class="content-body-heavy" style="display:flex;align-items:center;width:75%;margin:12px auto 34px;padding:18px;border-left:6px solid {{{accent|transparent}}};overflow:hidden;box-shadow:0 0 6px #0009;">
<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;">
<div style="margin-right:12px;">{{{image|}}}</div>
<div style="grid-row:span 2;">{{{image|}}}</div>
<div style="opacity:0.8;><div style="margin-bottom:6px;">'''{{{header|header}}}'''</div>
<div>'''{{{header|header}}}'''</div>
<div style="font-size:92%;">{{{body|body}}}</div></div>
<div style="font-size:90%;">{{{body|body}}}</div>
</div><noinclude>
</div></div><noinclude>
;Description
;Description
:This is the basis for [[:Category:Notices|notice templates]] and may be used to create new ones.
: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
<pre>
<pre>
{{Notice
{{Notice
|accent = (transparent)
  |image  =
  |image  =
  |header =
  |header = (required)
  |body  =
  |body  = (required)
}}
}}
</pre>
</pre>
Line 18: Line 17:
<pre>
<pre>
{{Notice
{{Notice
  |accent = #000
  |image  = <div class="suppress-rounding">[[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]]</div>
|image  = [[File:Demon.png|60px|link=]]
  |header = Triple spikes.
  |header = This article is under attack!
  |body  = Ah spikes, here we go again.
  |body  = Please help defend this article by reverting malicious edits.
}}
}}
</pre>
</pre>
;Sample output
;Sample output
{{Notice
{{Notice
  |accent = #000
  |image  = <div class="suppress-rounding">[[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]]</div>
|image  = [[File:Demon.png|60px|link=]]
  |header = Triple spikes.
  |header = This article is under attack!
  |body  = Ah spikes, here we go again.
  |body  = Please help defend this article by reverting malicious edits.
}}
}}
[[Category:Notices| ]]</noinclude>
[[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.