Difference between revisions of "Template:Attention"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>Bale
(fix typo)
Line 1: Line 1:
 
<includeonly>=={{#if: {{{message|}}} | {{{message}}} | Attention KoLmafia Users!}}==
 
<includeonly>=={{#if: {{{message|}}} | {{{message}}} | Attention KoLmafia Users!}}==
{{#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 top of the page (or after table-of-contents & display title templates).
 
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).

Revision as of 10:20, 6 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."