Template:Notice: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
geometrydash.wiki.gg>Jamasto
mNo edit summary
geometrydash.wiki.gg>Jamasto
mNo edit summary
Line 1: Line 1:
<div style="display:grid;grid-template-columns:auto 1fr;align-items:center;overflow:hidden;width:75%;gap:0.5em 1em;margin:1em auto 34px;padding:1.5em;border-left:0.5em solid {{{accent|transparent}}};color:var(--wiki-content-text-color);background-color:var(--wiki-navigation-dropdown-background-color);box-shadow:0 0 6px #0009;">
<div style="display:grid;grid-template-columns:auto 1fr;align-items:center;overflow:hidden;width:75%;gap:0.5em 1em;margin:1em auto 34px;padding:1.5em;border-left:0.5em solid {{{accent|transparent}}};color:var(--wiki-content-text-color);background-color:var(--wiki-navigation-dropdown-background-color);box-shadow:0 0 6px #0009;">
<div style="grid-row:span 2;">{{{image|}}}</div>
<div style="grid-row:span 2;">{{{image|}}}</div>
<div style="opacity:0.8;">'''{{{header|header}}}'''</div>
<div>'''{{{header|header}}}'''</div>
<div style="font-size:0.75rem;">{{{body|body}}}</div>
<div style="font-size:0.75rem;">{{{body|body}}}</div>
</div><noinclude>
</div><noinclude>

Revision as of 04:05, 24 January 2026

header
body
Description
This is the basis for notice templates and may be used to create new ones.
Syntax
{{Notice
 |accent = (transparent)
 |image  =
 |header =
 |body   =
}}
Sample
{{Notice
 |accent = #000
 |image  = [[File:Demon.png|60px|link=]]
 |header = This article is under attack!
 |body   = Please help defend this article by reverting malicious edits.
}}
Sample output
This article is under attack!
Please help defend this article by reverting malicious edits.