Template:RestaurantInfo: Difference between revisions
From Seattle
Jump to navigationJump to search
No edit summary |
|||
| (10 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|}}} | {{#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> | |||
| | |||
}} | |||
{{#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> | </tr> | ||
| | | | ||
| Line 21: | Line 39: | ||
}} | }} | ||
</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 |