Difference between revisions of "Template:Event"

From Wurmpedia
Jump to navigation Jump to search
m (Shadow and corners)
m
Line 30: Line 30:
 
box-shadow:  2px 2px 5px 1px rgb(101, 101, 101);
 
box-shadow:  2px 2px 5px 1px rgb(101, 101, 101);
 
padding: 2px 10px 2px 10px;
 
padding: 2px 10px 2px 10px;
display: inline-block;">{{{2}}}</span>
+
display: inline-block;"> {{{2}}} </span>
 
| Select block or inline.
 
| Select block or inline.
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>

Revision as of 17:18, 6 October 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..