Template:RestaurantInfo: Difference between revisions
From Seattle
Jump to navigationJump to search
(Initial Restaurant Info Template) |
No edit summary |
||
| (13 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<table class=" | <table class="infobox" style="width:280px"> | ||
<tr> | <tr> | ||
<th colspan="2">{{ | <th colspan="2">{{FULLPAGENAME}}</th> | ||
</tr> | </tr> | ||
{{#if:{{{Address|}}} | |||
| | |||
<tr> | <tr> | ||
<td style="width:120px; text-align:right">Address:</td> | <td style="width:120px; text-align:right;">Address:</td> | ||
<td>{{{Address}}}</td> | <td>{{{Address}}}</td> | ||
</tr> | </tr> | ||
| | |||
}} | |||
{{#if:{{{Phone|}}} | |||
| | |||
<tr> | |||
<td style="width:120px; text-align:right">Phone:</td> | |||
<td>{{{Phone}}}</td> | |||
</tr> | |||
| | |||
}} | |||
{{#if:{{{Reservations|}}} | |||
| | |||
<tr> | |||
<td style="width:120px; text-align:right">Reservations:</td> | |||
<td>{{{Reservations}}}</td> | |||
</tr> | |||
| | |||
}} | |||
{{#if:{{{Website|}}} | |||
| | |||
<tr> | <tr> | ||
<td style="width:120px; text-align:right">Website:</td> | <td style="width:120px; text-align:right">Website:</td> | ||
<td>{{{Website}}}</td> | <td>{{{Website}}}</td> | ||
</tr> | </tr> | ||
| | |||
}} | |||
</table> | </table> | ||
<noinclude> | |||
A sample is shown below since the box to the right is the actual template that contains fields that are auto-hidden. | |||
{{RestaurantInfo | |||
|Address=Address Here | |||
|Phone=Phone | |||
|Reservations=Reservations | |||
|Website=Website | |||
}} | |||
</noinclude> | |||
Latest revision as of 22:08, 12 February 2008
| Template:RestaurantInfo |
|---|
A sample is shown below since the box to the right is the actual template that contains fields that are auto-hidden.
| Template:RestaurantInfo | |
|---|---|
| Address: | Address Here |
| Phone: | Phone |
| Reservations: | Reservations |
| Website: | Website |