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 class="notice" style="display:grid;grid-template-columns:auto 1fr;align-items:center;overflow:hidden;width:75%;gap:0.5rem 1rem;margin:1rem auto 2rem;padding:1.5rem;">
<div style="grid-row:span 2;">{{{image|}}}</div>
<div style="grid-row:span 2;">{{{image|}}}</div>
<div>'''{{{header|header}}}'''</div>
<div>'''{{{header|header}}}'''</div>
Line 9: Line 9:
<pre>
<pre>
{{Notice
{{Notice
|accent = (transparent)
  |image  =
  |image  =
  |header =
  |header =
Line 18: Line 17:
<pre>
<pre>
{{Notice
{{Notice
|accent = #000
  |image  = [[File:Demon.png|60px|link=]]
  |image  = [[File:Demon.png|60px|link=]]
  |header = This article is under attack!
  |header = This article is under attack!
Line 26: Line 24:
;Sample output
;Sample output
{{Notice
{{Notice
|accent = #000
  |image  = [[File:Demon.png|60px|link=]]
  |image  = [[File:Demon.png|60px|link=]]
  |header = This article is under attack!
  |header = This article is under attack!

Revision as of 21:33, 25 January 2026

header
body
Description
This is the basis for notice templates and may be used to create new ones.
Syntax
{{Notice
 |image  =
 |header =
 |body   =
}}
Sample
{{Notice
 |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.