Template:Notification/doc: Difference between revisions
imported>TheWallflower00 Created page with "==Usage== Directly for a specific page ''(not recommended)'': <pre> {{Notification |bgcolor= |bordercolor=''(optional)'' |image=''(without 'File:' tag)'' |imagewidth=''(in pix..." |
imported>TheWallflower00 No edit summary |
||
Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{Notification | {{Notification | ||
|bgcolor= | |bgcolor=yellow | ||
|bordercolor= | |bordercolor=green | ||
|image= | |image=Example.jpg | ||
|imagewidth= | |imagewidth=120 | ||
|textcolor= | |textcolor=black | ||
|quote= | |quote=This is a quote | ||
|center= | |center=no | ||
|message= | |message=This is my message | ||
|date=~~~~~ | |date=~~~~~ | ||
}} | }} | ||
</pre> | |||
will display: | |||
{{Notification | |||
|bgcolor=yellow | |||
|bordercolor=green | |||
|image=Example.jpg | |||
|imagewidth=120 | |||
|textcolor=black | |||
|quote=This is a quote | |||
|center=no | |||
|message=This is my message | |||
|date=19:06, January 24, 2017 (UTC) | |||
}} | |||
If '''center=yes''' | |||
{{Notification | {{Notification | ||
|bgcolor= | |bgcolor=yellow | ||
|bordercolor= | |bordercolor=green | ||
|image= | |image=Example.jpg | ||
|imagewidth= | |imagewidth=120 | ||
|textcolor= | |textcolor=black | ||
|quote= | |quote=This is a quote | ||
|center= | |center=yes | ||
|message= | |message=This is my message | ||
|date=19:06, January 24, 2017 (UTC) | |||
}} | }} | ||