Template:Restaurant: Difference between revisions
Jump to navigation
Jump to search
(fix?) |
(temporary fix) |
||
Line 1: | Line 1: | ||
{| style="border:1px solid #acf; background:#fff; margin:2px 0 2em 2em; float:right; clear:right; width:250px; font-size:.9em; color:#235;" cellpadding="0" cellspacing=" | {| style="border:1px solid #acf; background:#fff; margin:2px 0 2em 2em; padding:4px; float:right; clear:right; width:250px; font-size:.9em; color:#235; text-align:left;" cellpadding="0" cellspacing="2" | ||
! colspan="2" style="padding: | ! colspan="2" style="padding:5px; background:#acf; font-size:large; font-weight:bold; text-align:center;" | {{PAGENAME}} | ||
|- | |- | ||
! colspan="2" | [[{{{image}}}|240px]] | ! colspan="2" | {{#if:{{{image|}}}|[[File:{{{image}}}|{{{size|240px}}}]]}} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| address | ! style="background:#eee; padding:2px 5px;" | address | ||
| {{{address}}} | ! style="padding:2px 5px;"| {{{address}}} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| type | ! style="background:#eee; padding:2px 5px;" | type | ||
| {{{type of food}}} | ! style="padding:2px 5px;" | {{{type of food}}} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| wifi? | ! style="background:#eee; padding:2px 5px;" | wifi? | ||
| {{{wifi}}} | ! style="padding:2px 5px;"| {{{wifi}}} | ||
|- | |- style="vertical-align:top;" | ||
! style="background:#eee; padding:2px 5px;" | {{#ifeq: {{{wifi}}} | yes | wifi network | }} | |||
| {{#ifeq: {{{wifi}}} | yes | {{{wifi | ! style="padding:2px 5px;"| {{#ifeq: {{{wifi}}} | yes | {{{wifi network}}} | }} | ||
|- | |- style="vertical-align:top;" | ||
! style="background:#eee; padding:2px 5px;" | {{#ifeq: {{{wifi}}} | yes | wifi password | }} | |||
| {{#ifeq: {{{wifi}}} | yes | {{{wifi | ! style="padding:2px 5px;"| {{#ifeq: {{{wifi}}} | yes | {{{wifi password}}} | }} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| website | ! style="background:#eee; padding:2px 5px;" | website | ||
| {{{website}}} | ! style="padding:2px 5px;"| {{{website}}} | ||
|} | |} | ||
<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;"> |
Revision as of 01:24, 12 October 2010
Restaurant | |
---|---|
address | {{{address}}} |
type | {{{type of food}}} |
wifi? | {{{wifi}}} |
website | {{{website}}} |
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 =
| type of food =
| wifi =
| wifi network =
| wifi password =
| website =
}}
Information you don't know should be left blank.
Notes
wifi
- Is there wifi at this location? Possible values are yes or no.
website
- include http://