Jump to content

Template:Infobox Event: Difference between revisions

From Blockgame Wiki
Created page with "<includeonly><infobox> <title source="title"><default>{{PAGENAME}}</default></title> <image source="image"><default>Site-community-image.png</default> <caption source="caption" /> </image> <group><header>Event Information</header> <data source="date"> <label>Date</label> </data> <data source="vendor"> <label>Vendor</label> </data> <data source="currency"> <label>Currency</..."
 
m Category:Events -> Category:Event
 
Line 18: Line 18:
         </data>
         </data>
     </group>
     </group>
</infobox>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Events]]}}</includeonly><noinclude>{{doc}}</noinclude>
</infobox>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Event]]}}</includeonly><noinclude>{{doc}}</noinclude><!--
This Template will not stay this way, it is a generic test, please don't replicate-->

Latest revision as of 13:57, 2 March 2025

Documentation

{{Infobox Event}} is used to create a uniform Infobox for Events.

This infobox adds Category:Event to the page.


Template parameters

Attribute Description Required? Default
title Set the Title of the Infobox. Optional {{PAGENAME}}
image Set the Image of the Infobox. Optional [[File:Site-community-image.png]]
date Set Date Required -
vendor Set Vendor Required -
currency Set used Currency Required -
location Set Location Required -


Example

{{Infobox Event|
|title=
|image=Halloween_Bash_Splashart.png
|date=October 1st-31st
|vendor=[[David S. Pumpkins]]
|currency=[[Magic Pumpkin]]
|location=[[Event Realm#The_cursed_Woods|The Cursed Woods]]
}}