Template:Infobox location/Draft: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
(WIP. some parts copied from CI wiki)
 
(switch resident to array)
Line 22: Line 22:
             <label>Resident{{#if:{{{resident2|}}}|s}}</label>
             <label>Resident{{#if:{{{resident2|}}}|s}}</label>
             <format><!--
             <format><!--
             -->{{NPC|{{{resident}}}}}<!--
             -->{{Array|Sam;Emily|;<!--
            -->{{#if:{{{resident2|}}}|<br/>{{NPC|{{{resident2}}}}}}}<!--
              -->|3= * [[File:{item} icon.png|24px|link=1]] [[{item}]]{newline}<!--
            -->{{#if:{{{resident3|}}}|<br/>{{NPC|{{{resident3}}}}}}}<!--
             -->}}<!--
            -->{{#if:{{{resident4|}}}|<br/>{{NPC|{{{resident4}}}}}}}<!--
             -->{{#if:{{{resident5|}}}|<br/>{{NPC|{{{resident5}}}}}}}<!--
         --></format>
         --></format>
         </data>
         </data>
Line 50: Line 48:
|type      = Store;Residence
|type      = Store;Residence
|location  = Starlet Town
|location  = Starlet Town
|resident  = Sam
|resident  = Sam;Emily
|resident2 = Emily
|hours    = 8:00 - 17:00 (Mon-Sat)<br />8:00 - 13:00 (Sun)
|hours    = 8:00 - 17:00 (Mon-Sat)<br />8:00 - 13:00 (Sun)
|closed    = Wednesday
|closed    = Wednesday

Revision as of 12:14, 1 January 2024