Template:Infobox location/Draft: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
(WIP. some parts copied from CI wiki)
 
(remove list)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><infobox><!--
<includeonly><infobox><!--
  --><title source="name">
  --><title source="name">
<format>[[File:Infobox marker left.png|22px|link=]] {{{name}}} [[File:Infobox marker right.png|22px|link=]]</format>
<format>{{#if:{{{icon|}}}|[[File:{{{icon}}}|22px|link=]]}} {{{name}}}</format>
<default>[[File:Infobox marker left.png|22px|link=]] {{PAGENAME}} [[File:Infobox marker right.png|22px|link=]]</default>
<default>{{#if:{{{icon|}}}|[[File:{{{icon}}}|22px|link=]]}} {{PAGENAME}}</default>
</title>
</title>
<image source="image">
<image source="image">
Line 20: Line 20:
         </data>
         </data>
         <data source="resident">
         <data source="resident">
             <label>Resident{{#if:{{{resident2|}}}|s}}</label>
             <label>Residents</label>
             <format><!--
             <format><!--
             -->{{NPC|{{{resident}}}}}<!--
             -->{{Array|{{{resident}}}|;|3={{NPC|{item}<!--
            -->{{#if:{{{resident2|}}}|<br/>{{NPC|{{{resident2}}}}}}}<!--
                -->}}{newline}|sort=1<!--
            -->{{#if:{{{resident3|}}}|<br/>{{NPC|{{{resident3}}}}}}}<!--
             -->}}<!--
            -->{{#if:{{{resident4|}}}|<br/>{{NPC|{{{resident4}}}}}}}<!--
             -->{{#if:{{{resident5|}}}|<br/>{{NPC|{{{resident5}}}}}}}<!--
         --></format>
         --></format>
         </data>
         </data>
         </group>
         <data source="res_hours"><label>Residence<br />hours</label></data>
    </group>
     <group>
     <group>
        <data source="hours"><label>Hours</label></data>
    <header>Store information</header>
         <data source="open"><label>Open</label></data>
         <data source="open"><label>Open</label></data>
         <data source="closed"><label>Closed</label></data>
         <data source="closed"><label>Closed</label></data>
         <data source="owner"><label>Owner</label></data>
         <data source="owner"><label>Owner</label></data>
         <data source="employee"><label>Employees</label></data>
         <data source="employee">
          <label>Employees</label>
          <format>{{Array|{{{employee}}}|;|[[{item}]]{newline}<!--
          -->}}</format>
        </data>
     </group>
     </group>
</infobox><!--
</infobox><!--
Line 48: Line 51:
General store location.png|Map location
General store location.png|Map location
</gallery>
</gallery>
|name      = Sam's General Store
|icon      = Sam's General Store icon.png
|type      = Store;Residence
|type      = Store;Residence
|location  = Starlet Town
|location  = Starlet Town
|resident  = Sam
|resident  = Sam;Emily
|resident2 = Emily
|open      = 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
|owner    = Sam
|owner    = Sam
|employee  = Eva
|employee  = Eva
}}</noinclude>
}}</noinclude>

Latest revision as of 07:51, 5 January 2024