Template:Notification: Difference between revisions
From Katawa Shoujo Wiki
imported>TheWallflower00 No edit summary |
imported>TheWallflower00 No edit summary |
||
Line 1: | Line 1: | ||
{| class="Userbox" style="background:{{{bgcolor|yellow}}}; border: 2px solid {{{bordercolor|{{{bgcolor|darkorange}}}}}}; padding: .2em; margin-bottom: 2px; font-size: 95%; width:85%; margin:auto;" | {| class="Userbox" style="background:{{{bgcolor|yellow}}}; border: 2px solid {{{bordercolor|{{{bgcolor|darkorange}}}}}}; padding: .2em; margin-bottom: 2px; font-size: 95%; width:85%; margin:auto;" | ||
{{#if:{{{image|}}}|{{!}} style="padding-right: 4px; padding-left: 4px;" {{!}}[[File:{{{image}}}{{!}}{{{imagewidth|130}}}px]]}} | {{#if:{{{image|}}}|{{!}} style="padding-right: 4px; padding-left: 4px;" {{!}}[[File:{{{image}}}{{!}}{{{imagewidth|130}}}px]]}} | ||
Line 5: | Line 4: | ||
</font><br>}}{{#switch:{{{center|}}}|yes=<center><font color="{{{textcolor|{{{font|black}}}}}}">{{{message}}}</font></center>|#default=<font color="{{{textcolor|{{{font|black}}}}}}">{{{message}}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}</font>}} | </font><br>}}{{#switch:{{{center|}}}|yes=<center><font color="{{{textcolor|{{{font|black}}}}}}">{{{message}}}</font></center>|#default=<font color="{{{textcolor|{{{font|black}}}}}}">{{{message}}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}</font>}} | ||
|} | |} | ||
<noinclude><br clear="all">{{documentation}}</noinclude> | <noinclude><br clear="all">{{documentation}}</noinclude> |
Latest revision as of 19:00, 24 January 2017
{{{message}}} |
Template documentation (for the above template, sometimes hidden or invisible)
Usage[edit source]
{{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=~~~~~ }}
will display:
![]() |
This is a quote
|
If center=yes
![]() |
This is a quote
|
Visit Template:Notification/doc to edit this text! (How does this work?)