Difference between revisions of "Template:Event"

From Idlescape Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{| class="messagebox cleanup"
 
{| class="messagebox cleanup"
| <div style="font-size:140%; text-align:center; padding-right: 15px;">[[File:Event_token.png|50px]]</div> || '''This page is related to an event, and the information might therefore not be relevant. {{#if:{{{1|}}}|<br><div clear="left"><p style="color:green;">The event is currently {{{1}}}.</p></div>}}<div clear="left">You can see more info on [[Events]]</div>'''
+
| <div style="font-size:140%; text-align:center; padding-right: 15px;">[[File:Event_token.png|50px]]</div> || '''This page is related to an event, and the information might therefore not be relevant. {{#ifeq: {{{1}}}|active|}}}|<br><div clear="left"><p style="color:green;">The event is currently {{{1}}}.</p></div>|}}{{#ifeq: {{{1}}}|inactive|}}}|<br><div clear="left"><p style="color:red;">The event is currently {{{1}}}.</p></div>|}}<div clear="left">You can see more info on [[Events]]</div>'''
 
|}
 
|}
  

Revision as of 14:18, 28 December 2021

Event token.png

The event is currently {{{1}}}.

|}}}|

The event is currently {{{1}}}.

|}}
You can see more info on Events


Usage

Used to mark up articles that is related to events to prevent people to accidentally trying to get event related items when the event is not active

It is currently using the same class as cleanup and this might be good to change during future fixes to highlight different events

{{Event|active}}