Template:Event Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
 
(3 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>
     <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;  
     <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>
    padding-bottom:10px">{{{Description}}}</p></format></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.