Template:Notice: Difference between revisions
Jump to navigation
Jump to search
geometrydash.wiki.gg>Qwertyman1 m Created page with "{| style="font-size: 95%; width: 80%; margin: 0 auto; border: 1px #AAA solid; border-collapse: collapse; background-color: #EEE; {{{style|}}}; {{#switch:{{{border|}}} | red..." |
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 |
||
| (128 intermediate revisions by 21 users not shown) | |||
| Line 1: | Line 1: | ||
<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="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 | |||
<div | |||
</div> | |||
<noinclude> | |||
<pre> | <pre> | ||
{{Notice | {{Notice | ||
| | |image = | ||
| | |header = (required) | ||
| | |body = (required) | ||
}} | }} | ||
</pre> | </pre> | ||
;Sample | |||
<pre> | <pre> | ||
{{Notice | {{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> | </pre> | ||
;Sample output | |||
{{Notice | {{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: | [[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