Template:Infobox location/Draft: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
(remove list)
 
(7 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 22: Line 22:
             <label>Residents</label>
             <label>Residents</label>
             <format><!--
             <format><!--
             -->{{Array|Sam;Emily|;<!--
             -->{{Array|{{{resident}}}|;|3={{NPC|{item}<!--
              -->|3= * [[File:{item} icon.png|24px|link=1]] [[{item}]]{newline}<!--
                -->}}{newline}|sort=1<!--
             -->}}<!--
             -->}}<!--
         --></format>
         --></format>
         </data>
         </data>
         </group>
         <data source="res_hours"><label>Residence<br />hours</label></data>
    </group>
     <group>
     <group>
     <header>Store information</header>
     <header>Store information</header>
Line 33: Line 34:
         <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 46: 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

Latest revision as of 07:51, 5 January 2024