Template:Infobox location/Draft: Difference between revisions
Jump to navigation
Jump to search
Salty Nori (talk | contribs) (switch resident to array) |
Salty Nori (talk | contribs) (remove list) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><infobox><!-- | <includeonly><infobox><!-- | ||
--><title source="name"> | --><title source="name"> | ||
<format>[[File: | <format>{{#if:{{{icon|}}}|[[File:{{{icon}}}|22px|link=]]}} {{{name}}}</format> | ||
<default>[[File: | <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> | <label>Residents</label> | ||
<format><!-- | <format><!-- | ||
-->{{Array| | -->{{Array|{{{resident}}}|;|3={{NPC|{item}<!-- | ||
-->}}{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> | |||
<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 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 | ||
|resident = Sam;Emily | |resident = Sam;Emily | ||
| | |open = 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> |