Template:Restaurant: Difference between revisions
Jump to navigation
Jump to search
(+neighborhood, +phone, +hours, documentation, formatting) |
(added categorization into <noinclude>) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
! style="background:#eee; padding:2px 5px;" | address | ! style="background:#eee; padding:2px 5px;" | address | ||
! style="padding:2px 5px;"| {{{address}}} | ! style="padding:2px 5px;"| {{#if:{{{address|}}}|{{{address}}}}} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
! style="background:#eee; padding:2px 5px;" | neighborhood | ! style="background:#eee; padding:2px 5px;" | neighborhood | ||
! style="padding:2px 5px;"| {{{neighborhood}}} | ! style="padding:2px 5px;"| {{#if:{{{neighborhood|}}}|{{{neighborhood}}}}} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
! style="background:#eee; padding:2px 5px;" | {{#ifeq: {{{cross streets}}} | yes | cross streets | }} | ! style="background:#eee; padding:2px 5px;" | {{#ifeq: {{{cross streets}}} | yes | cross streets | }} | ||
Line 14: | Line 14: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
! style="background:#eee; padding:2px 5px;" | food type | ! style="background:#eee; padding:2px 5px;" | food type | ||
! style="padding:2px 5px;" | {{{type of food}}} | ! style="padding:2px 5px;" | {{#if:{{{type of food|}}}|{{{type of food}}}}} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
! style="background:#eee; padding:2px 5px;" | hours | ! style="background:#eee; padding:2px 5px;" | hours | ||
! style="padding:2px 5px;"| {{{hours}}} | ! style="padding:2px 5px;"| {{#if:{{{hours|}}}|{{{hours}}}}} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
! style="background:#eee; padding:2px 5px;" | | ! style="background:#eee; padding:2px 5px;" | wireless internet? | ||
! style="padding:2px 5px;"| {{{wifi}}} | ! style="padding:2px 5px;"| {{#if:{{{wifi|}}}|{{{wifi}}}}} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
! style="background:#eee; padding:2px 5px;" | {{#ifeq: {{{wifi}}} | yes | wifi network | }} | ! style="background:#eee; padding:2px 5px;" | {{#ifeq: {{{wifi}}} | yes | wifi network | }} | ||
Line 29: | Line 29: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
! style="background:#eee; padding:2px 5px;" | website | ! style="background:#eee; padding:2px 5px;" | website | ||
! style="padding:2px 5px;"| {{{website}}} | ! style="padding:2px 5px;"| {{#if:{{{website|}}}|<span class="plainlinks">{{{website}}}</span>}} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
! style="background:#eee; padding:2px 5px;" | phone | ! style="background:#eee; padding:2px 5px;" | phone | ||
! style="padding:2px 5px;"| {{{phone}}} | ! style="padding:2px 5px;"| {{#if:{{{phone|}}}|{{{phone}}}}} | ||
|} | |} | ||
<noinclude><div style="width:600px;background:#efefe0;border:1px solid #ddc;padding:5px 15px 10px;margin:20px 30px 0px;"> | <noinclude><div style="width:600px;background:#efefe0;border:1px solid #ddc;padding:5px 15px 10px;margin:20px 30px 0px;"> | ||
Line 53: | Line 53: | ||
| website = <br /> | | website = <br /> | ||
| phone = <br /> | | phone = <br /> | ||
}} | }} | ||
</code> | </code> | ||
Line 61: | Line 60: | ||
=== Notes === | === Notes === | ||
'''wifi''' | '''wifi''' | ||
* Is there | * Is there wireless internet at this location? Possible values are '''yes''', '''no''', or blank (if unknown). | ||
'''website''' | '''website''' | ||
Line 67: | Line 66: | ||
</div> | </div> | ||
[[Category:Infobox]] | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:01, 8 November 2011
Restaurant | |
---|---|
address | |
neighborhood | |
food type | |
hours | |
wireless internet? | |
website | |
phone |
Template notes
This template is placed at the top of restaurant articles. It provides basic, at-a-glance facts about the restaurant.
Instructions
The entire code as follows should be used:
{{Restaurant
| address =
| neighborhood =
| cross streets =
| type of food =
| hours =
| wifi =
| wifi network =
| wifi password =
| website =
| phone =
}}
Information you don't know should be left blank.
Notes
wifi
- Is there wireless internet at this location? Possible values are yes, no, or blank (if unknown).
website
- include http://