Difference between revisions of "Template:Event"

From Wurmpedia
Jump to navigation Jump to search
m (+space)
m (Attempting a lighter colour background.)
Line 8: Line 8:
 
-webkit-box-shadow: 1px 2px 2px #000;
 
-webkit-box-shadow: 1px 2px 2px #000;
 
box-shadow: 1px 2px 2px #ddd;
 
box-shadow: 1px 2px 2px #ddd;
background-color: #1c1712;
+
background-color: #4b3e30;
 
font-family: Sans-Serif;
 
font-family: Sans-Serif;
 
font-size: 0.85em;
 
font-size: 0.85em;
Line 23: Line 23:
 
-webkit-box-shadow: 1px 2px 2px #000;
 
-webkit-box-shadow: 1px 2px 2px #000;
 
box-shadow: 1px 2px 2px #ddd;
 
box-shadow: 1px 2px 2px #ddd;
background-color: #1c1712;
+
background-color: #4b3e30;
 
font-family: Sans-Serif;
 
font-family: Sans-Serif;
 
font-size: 0.85em;
 
font-size: 0.85em;

Revision as of 07:10, 9 June 2015

Main Page / Templates / Event

Displays a box similar to the in-game event window.

Usage:

{{event|inline|event text}} produces an inline event message or

{{event|block|event text}} produces a

70% width block event message on a new line. Useful for multiple lines of text or aligning many instances on a page.
Use <br> to break to a new line within the template, but keep the text flowing in one line.