Template:Attention: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>Bale
m Reverted edits by Bale (talk) to last revision by StDoodle
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{#if: {{{1|}} | <p>{{{1}}}</p> | }}</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 top of the page (or after table-of-contents & display title templates).


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


<div style="align: center; text-align: center; border: dotted 1px red; color: black; padding: 5px;">
== Attention KoLmafia Users! ==
<p><span style="background-color: black; padding: 4px; font-size: 14px; align: center; text-align: center; color: red; font-weight: bold;">
<p>Parameter supplied goes here.</p>
Attention KoLmafia Users!</span>
</p><p>Parameter supplied goes here.</p></div>


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

Latest revision as of 08:58, 7 November 2014


This function should always be called outside of all function calls, at the very top of the page (or after table-of-contents & display title templates).

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