Template:Notice: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
geometrydash.wiki.gg>Pvzrepeaterrealsunglasses
m Made it look better
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
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div class="boilerplate" id=; style="width:70%; margin:0 auto; padding:5px; border:2px solid #FFFFFF; background:{{{Outer Background|#b6703d}}}; color:#FFFFFF; border-radius:20px; text-align:left; font-family:'Pusab';font-size:200%; ">
<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 class="boilerplate" id=; style="width:95%; margin:0 auto; padding:10px; border:2px solid #000000; background:{{{Inner Background|rgba(0, 0, 0, 0.3)}}}; color:#FFFFFF; border-radius:20px"> {{#if:{{{Image|}}}|[[File:{{{Image|Wiki.png}}}|thumb|left|70px]]}}'''<span style="font-family: Pusab, Pusab Regular, Cooper, Arial; font-size:100%; position:absolute; text-align:left;text-shadow: 2px 2px #000, 2px -2px #000, -2px -2px #000, -2px 2px #000, 3px 0 #000, -3px 0 #000, 0 3px #000, 0 -3px #000, 4px 4px rgba(0, 0, 0, .4);">{{{header|A noticeable notice!}}}'''</span>
<div style="grid-row:span 2;">{{{image|}}}</div>
<br><div style="font-size:50%; font-family:arial">{{{body|I notice you have noticed this notice, haven't you noticed?}}}{{#switch:{{{UseLineBreaks|1}}}|0=|1=<br><br>}}</div></div></div>
<div>'''{{{header|header}}}'''</div>
<div style="font-size:90%;">{{{body|body}}}</div>
</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 16: 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.