Difference between revisions of "Template:event"

From Lord of the Craft
Jump to: navigation, search
(Created page with "<includeonly>{{#switch: {{{1}}} | block = <span style=" color: #fff; font-family: Sans-Serif; font-size: 0.85em; border: 1px rgb(0, 0, 0) solid; background: rgb(75, 62, 48); l...")
 
 
Line 33: Line 33:
 
| Select block or inline.
 
| Select block or inline.
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
A fun box to work with.
 
 
'''Usage''':
 
 
<span style="background:#E6FFE6;"><nowiki>{{event|inline|event text}}</nowiki></span> produces an {{event|inline|inline event message}} or
 
 
<span style="background:#E6FFE6;"><nowiki>{{event|block|event text}}</nowiki></span> produces a
 
 
{{event|block|70% width block event message on a new line. Useful for multiple lines of text or aligning many instances on a page.<br>Use <nowiki><br></nowiki>to break to a new line within the template, but keep the text flowing in one line..}}
 
[[Category:Template]]
 
</noinclude>
 

Latest revision as of 20:07, 19 April 2016