Difference between pages "Template:HideLink" and "Template:Attention"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>StDoodle
m
 
imported>StDoodle
m
 
Line 1: Line 1:
<includeonly>
+
<includeonly><h2>{{#if: {{{message|}}} | {{{message}}} | Attention KoLmafia Users!}}</h2>
<h3 style="display: none!important;"><span class="mw-headline">{{{1}}}</span></h3>
+
{{#if: {{{1|}} | <p>{{{1}}}</p> | }}</includeonly>
</includeonly>
 
<noinclude>
 
Supply a single parameter of the hidden anchor (link reference).
 
<div id="tmp-{{{1}}}" style="display: none!important;">
 
kinda works: <nowiki><span id="{{{1}}}" class="mw-headline" style="display: none!important;">{{{1}}}</span></nowiki>
 
 
<noinclude>
 
<noinclude>
 +
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:
 +
 +
<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;">
 +
Attention KoLmafia Users!</span>
 +
</p><p>Parameter supplied goes here.</p></div>
 +
 +
The "Attention..." message can be overridden with the named parameter "message."
 +
 +
[[Category:Notification Templates]]
 +
</noinclude>

Revision as of 19:41, 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."