Template:Event Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
(Floor Format Test)
Line 2: Line 2:
{{#cargo_declare:_table=Event_Infobox
{{#cargo_declare:_table=Event_Infobox
  |Floor = Integer
  |Floor = Integer
|IsAlternateFloor = Boolean
  |Image = File
  |Image = File
  |Description= Wikitext
  |Description= Wikitext
Line 17: Line 18:
   <group>
   <group>
     <header><center>Event Information</center></header>
     <header><center>Event Information</center></header>
    <data source="IsAlternateFloor"> <label>FloorTest</label> <format>
      {{#ifeq: {{{IsAlternateFloor}}} | 0 | {{{Floor}}} - Normal|}}
      {{#ifeq: {{{IsAlternateFloor}}} | 1 | {{{Floor}}} - Alternate|}}
    </format></data>
     <data source="Floor"><label>Floor</label></data>
     <data source="Floor"><label>Floor</label></data>
     <data source="Description"><label>Description</label></data>
     <data source="Description"><label>Description</label></data>
   </group>
   </group>
</infobox>
</infobox>

Revision as of 14:08, 29 December 2023

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