Template:Notice: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
geometrydash.wiki.gg>Jamasto
m Protected "Template:Notice": Heavily transcluded template ([Edit=Allow only administrators] (indefinite) [Rename=Allow only administrators] (indefinite)) [cascading]
geometrydash.wiki.gg>Jamasto
mNo edit summary
Line 5: Line 5:
</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>
Line 17: Line 17:
<pre>
<pre>
{{Notice
{{Notice
  |image  = [[File:Demon.png|60px|link=]]
  |image  = <div class="suppress-rounding">[[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]]</div>
  |header = This article is under attack!
  |header = Triple spikes.
  |body  = Please help defend this article by reverting malicious edits.
  |body  = Ah spikes, here we go again.
}}
}}
</pre>
</pre>
;Sample output
;Sample output
{{Notice
{{Notice
  |image  = [[File:Demon.png|60px|link=]]
  |image  = <div class="suppress-rounding">[[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]][[File:RegularSpike01.png|35px|link=]]</div>
  |header = This article is under attack!
  |header = Triple spikes.
  |body  = Please help defend this article by reverting malicious edits.
  |body  = Ah spikes, here we go again.
}}
}}
[[Category:Notices| ]]</noinclude>
[[Category:Notices| ]]</noinclude>

Revision as of 18:10, 13 February 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 =
 |body   =
}}
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.