Template:Notice: Difference between revisions
Jump to navigation
Jump to search
geometrydash.wiki.gg>EightLand 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 |
||
| (41 intermediate revisions by 11 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 style=" | <div style="grid-row:span 2;">{{{image|}}}</div> | ||
<div | <div>'''{{{header|header}}}'''</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]] | :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 | ||
|image = | |image = | ||
|header = | |header = (required) | ||
|body = | |body = (required) | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 18: | Line 17: | ||
<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. | |||
|header = | |body = Ah spikes, here we go again. | ||
|body = | |||
}} | }} | ||
</pre> | </pre> | ||
;Sample output | ;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. | |||
|header = | |body = Ah spikes, here we go again. | ||
|body = | |||
}} | }} | ||
[[Category:Notices| ]]</noinclude> | [[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