Difference between revisions of "Template:Event"

From Wurmpedia
Jump to navigation Jump to search
m (Shadow and corners)
m (fixed broken links)
 
(One intermediate revision by one other user not shown)
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>
[[Main page]] / [[:Category:templates|Templates]] / {{PAGENAME}}
+
[[Main Page]] / [[:Category:Template|Templates]] / {{PAGENAME}}
  
 
Displays a box similar to the in-game event window.
 
Displays a box similar to the in-game event window.

Latest revision as of 12:12, 3 November 2016

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..