Template:Notice: Difference between revisions
Jump to navigation
Jump to search
geometrydash.wiki.gg>Pvzrepeaterrealsunglasses mNo edit summary |
geometrydash.wiki.gg>Hackey5 m Reverted edits by Pvzrepeaterrealsunglasses (talk) to last revision by HexagonCore |
||
| Line 1: | Line 1: | ||
<div | <div style="display:grid;grid-template-columns:auto 1fr;align-items:center;overflow:hidden;width:75%;gap:6px 12px;margin:12px auto 34px;padding:18px;border-left:6px solid {{{accent|transparent}}};background-color:var(--custom-popover-background-color);box-shadow:0 0 6px #0009;"> | ||
<div | <div style="grid-row:span 2;">{{{image|}}}</div> | ||
< | <div style="opacity:0.8;">'''{{{header|header}}}'''</div> | ||
<div style="font-size:var(--custom-font-size-smaller);opacity:0.8;">{{{body|body}}}</div> | |||
</div><noinclude> | |||
;Description | |||
:This is the basis for [[:Category:Notices|notice templates]] and may be used to create new ones. | |||
;Syntax | |||
<pre> | |||
{{Notice | |||
|accent = (transparent) | |||
|image = | |||
|header = | |||
|body = | |||
}} | |||
</pre> | |||
;Sample | |||
<pre> | |||
{{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. | |||
}} | |||
</pre> | |||
;Sample output | |||
{{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. | |||
}} | |||
[[Category:Notices| ]]</noinclude> | |||
Revision as of 05:55, 2 February 2024
- 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