Difference between revisions of "Template:Attention"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>Bale
m (Reverted edits by Bale (talk) to last revision by StDoodle)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><h2>{{#if: {{{message|}}} | {{{message}}} | Attention KoLmafia Users!}}</h2>
+
<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 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."