Template:Event Infobox: Difference between revisions

From Tiny Rogues Wiki
(No more Normal/Alternate - It's World 1 and 2)
No edit summary
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:_table=Event_Infobox
{{#cargo_declare:_table=Event_Infobox
  |Floor = Integer
  |Floor = String
  |IsAlternateFloor = Boolean
  |IsAlternateFloor = Boolean
  |Image = Wikitext
  |Image = Wikitext
Line 16: Line 16:
  <image source="Image"><default>[[File:{{Image}}.png]]</default></image>
  <image source="Image"><default>[[File:{{Image}}.png]]</default></image>
   <group>
   <group>
    <header><center>Event Information</center></header>
     <data source="Floor"><label><span style="color:#82838e; font-weight:bold">Floor:</span></label><format>{{#switch: {{{IsAlternateFloor}}} | 0 = {{{Floor}}} - World 1 | 1 = {{{Floor}}} - World 2 | #default = {{{Floor}}} }}</format></data>
     <data source="Floor"><label><span style="color:#82838e; font-weight:bold">Floor</span></label><format>{{#switch: {{{IsAlternateFloor}}} | 0 = {{{Floor}}} - World 1 | 1 = {{{Floor}}} - World 2 | #default = {{{Floor}}} }} </format></data>
     <data source="Description"><label><span style="color:#82838e; font-weight:bold">Description:</span></label><format><p style="padding-top:10px; padding-bottom:10px">{{{Description}}}</p></format></data>
     <data source="Description"><label><span style="color:#82838e; font-weight:bold">Description</span></label></data>
   </group></infobox>[[Category:Events]]</includeonly>
   </group></infobox>[[Category:Events]]</includeonly>

Latest revision as of 21:24, 2 February 2024

This template defines the table "Event_Infobox". View table.