Template:Notice: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
geometrydash.wiki.gg>TropicalwaveS
m Undo revision 48915 by Wyatt1234 (talk)
geometrydash.wiki.gg>Hackey5
mNo edit summary
Line 1: Line 1:
{| style="width:80%;margin:10px auto 0;border:1px solid #CCC;font-family:Lucida Sans,Helvetica,Sans-serif;font-size:95%;color:#666;background-color:#D8DDEA;box-shadow:0 0 5px #000; {{{style|}}}; {{#switch:{{{border|}}}
{| style="width:80%;margin:10px auto;border:1px solid #CCC;border-left:5px solid {{{border|#000}}};color:#666;background-color:#D8DDEA;box-shadow:0 0 5px #000;"
  | red      = border-left: 5px solid #D00
  | orange  = border-left: 5px solid #F80
  | yellow  = border-left: 5px solid #EC0
  | green    = border-left: 5px solid #0A0
  | blue    = border-left: 5px solid #0AF
  | navy    = border-left: 5px solid #048
  | purple  = border-left: 5px solid #80B
  | grey    = border-left: 5px solid #888
  | #default = border-left: 5px solid #000
}}"
|-
|-
| style="width:60px;padding:5px 10px;" | {{{image|[[Image:Wiki.png|60px]]}}}
| style="width:60px;padding:5px 10px;" | {{{image|[[File:Unrated.png|50px]]}}}
| style="padding:10px 10px 10px 0;font-weight:bold;" | {{{type|Header text}}}
| style="padding:10px 10px 10px 0;font-weight:bold;" | {{{header|header}}}
<div style="padding-top:5px;font-weight:normal;font-size:85%;">{{{info|Explanation}}}</div>
<div style="padding-top:5px;font-weight:normal;font-size:12px;">{{{body|body}}}</div>
|}<br /><noinclude>
|}<noinclude>
;Description
;Description
:This is the basis for a number of different article status templates.  
:This is the basis for article status templates and may be used to create new ones.
;Syntax
;Syntax
:To use this style of template, replace the capitilised words with the specified fillers.
<pre>
<pre>
{{Notice
{{Notice
|border = color (hex codes cannot be used, inspect the template for usable colour names)
|border = (#000)
|image = IMAGE
|image =
|type = HEADING
|header =
|info = SUB TEXT
|body =
}}
}}
</pre>
</pre>
;Sample
<pre>
{{Notice
|border = #D00
|image = [[File:Demon.png|60px]]
|header = This article is under attack!
|body  = Please help defend this article by reverting malicious edits.
}}
</pre>
;Sample output
{{Notice
|border = #D00
|image = [[File:Demon.png|60px]]
|header = This article is under attack!
|body = Please help defend this article by reverting malicious edits.
}}
[[Category:Article status templates| ]]</noinclude>
[[Category:Article status templates| ]]</noinclude>

Revision as of 04:46, 18 September 2015

header
body
Description
This is the basis for article status templates and may be used to create new ones.
Syntax
{{Notice
 |border = (#000)
 |image =
 |header =
 |body  =
}}
Sample
{{Notice
 |border = #D00
 |image = [[File:Demon.png|60px]]
 |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.