Template:Notice: Difference between revisions
Jump to navigation
Jump to search
geometrydash.wiki.gg>Pvzrepeaterrealsunglasses mNo edit summary |
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 |
||
| (19 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<div class=" | <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 | <div style="grid-row:span 2;">{{{image|}}}</div> | ||
< | <div>'''{{{header|header}}}'''</div> | ||
<div style="font-size:90%;">{{{body|body}}}</div> | |||
</div></div><noinclude> | |||
;Description | |||
: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 | |||
<pre> | |||
{{Notice | |||
|image = | |||
|header = (required) | |||
|body = (required) | |||
}} | |||
</pre> | |||
;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
- 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