Difference between revisions of "Template:Attention"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
(Created page with '<includeonly><div style="align: center; text-align: center; border: dotted 1px red; color: black; padding: 5px;"><p><span style="background-color: black; padding: 4px; font-size:…')
 
imported>StDoodle
m
Line 1: Line 1:
<includeonly><div style="align: center; text-align: center; border: dotted 1px red; color: black; padding: 5px;"><p><span style="background-color: black; padding: 4px; font-size: 14px; align: center; text-align: center; color: red; font-weight: bold;">{{#if: {{{message|}}} | {{{message}}} | Attention KoLmafia Users!}}</span>
+
<includeonly><h3>{{#if: {{{message|}}} | {{{message}}} | Attention KoLmafia Users!}}</h3>
</p>{{#if: {{{1|}} | <p>{{{1}}}</p> | }}</div></includeonly>
+
{{#if: {{{1|}} | <p>{{{1}}}</p> | }}</includeonly>
 
<noinclude>
 
<noinclude>
 
This function should always be called outside of ''all'' function calls, at the very end of the page (or before category links).
 
This function should always be called outside of ''all'' function calls, at the very end of the page (or before category links).

Revision as of 19:40, 29 November 2010


This function should always be called outside of all function calls, at the very end of the page (or before category links).

It should always be called with a parameter, and will display:

Attention KoLmafia Users!

Parameter supplied goes here.

The "Attention..." message can be overridden with the named parameter "message."