Template:Notice: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
geometrydash.wiki.gg>Hackey5
m Corrected spelling/grammar
geometrydash.wiki.gg>Hackey5
m Updated information
Line 1: Line 1:
<div style="margin:10px 50px 32px;padding:15px;border-left:5px solid {{{accent|transparent}}};overflow:hidden;color:#666;background-color:#D9D9ED;box-shadow:0 0 5px #000;">
<div class="content-body-h" style="margin:10px 50px 32px;padding:15px;border-left:5px solid {{{accent|transparent}}};overflow:hidden;color:#666;box-shadow:0 0 5px #000;">
<div style="display:inline-block;vertical-align:middle;max-width:60px;margin-right:15px;overflow:hidden;">{{{image|}}}</div><div style="display:inline-block;vertical-align:middle;width:calc(100% - 75px);">
<div style="display:inline-block;vertical-align:middle;max-width:60px;margin-right:15px;overflow:hidden;">{{{image|}}}</div><div style="display:inline-block;vertical-align:middle;width:calc(100% - 75px);">
<div style="margin-bottom:5px;font-size:inherit;">'''{{{header|header}}}'''</div>
<div style="margin-bottom:5px;font-size:inherit;">'''{{{header|header}}}'''</div>

Revision as of 10:02, 3 May 2017

header
body
Description
This is the basis for notice templates and may be used to create new ones.
Syntax
{{Notice
 |accent = (transparent)
 |image = (designated width 60px)
 |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.