Template:Event Infobox: Difference between revisions

From Tiny Rogues Wiki
(No more Normal/Alternate - It's World 1 and 2)
No edit summary
 
(14 intermediate revisions by 2 users 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
  |Description= Wikitext
  |Description= Wikitext
}}
}}
</noinclude>
</noinclude><includeonly>{{#cargo_store:_table=Event_Infobox}}<infobox>
<includeonly>
{{#cargo_store:_table=Event_Infobox}}<infobox>
   <title source="name">
   <title source="name">
     <default><center><p style="height:5pxfont-size: 0.8em;">
     <default><center><p style="height:5pxfont-size: 0.8em;">
Line 16: Line 14:
  <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 04:13, 1 December 2024

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