Template:Restaurant: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(widened to fit text)
(added categorization into <noinclude>)
 
(7 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;" | type
! style="background:#eee; padding:2px 5px;" | neighborhood
! style="padding:2px 5px;" | {{{type of food}}}
! style="padding:2px 5px;"| {{#if:{{{neighborhood|}}}|{{{neighborhood}}}}}
|- style="vertical-align:top;"
|- style="vertical-align:top;"
! style="background:#eee; padding:2px 5px;" | wifi?
! style="background:#eee; padding:2px 5px;" | {{#ifeq: {{{cross streets}}} | yes | cross streets | }}
! style="padding:2px 5px;"| {{{wifi}}}
! style="padding:2px 5px;"| {{#ifeq: {{{cross streets}}} | yes | {{{cross streets}}} | }}
|- style="vertical-align:top;"
! style="background:#eee; padding:2px 5px;" | food type
! style="padding:2px 5px;" | {{#if:{{{type of food|}}}|{{{type of food}}}}}
|- style="vertical-align:top;"
! style="background:#eee; padding:2px 5px;" | hours
! style="padding:2px 5px;"| {{#if:{{{hours|}}}|{{{hours}}}}}
|- style="vertical-align:top;"
! style="background:#eee; padding:2px 5px;" | wireless internet?
! 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 20: 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="background:#eee; 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 31: Line 43:
<code>
<code>
{{Restaurant<br />
{{Restaurant<br />
| address = <br />
| address =&nbsp;<br />
| type of food = <br />
| neighborhood =&nbsp;<br />
| wifi = <br />
| cross streets =&nbsp;<br />
| wifi network = <br />
| type of food =&nbsp;<br />
| wifi password = <br />
| hours =&nbsp;<br />
| website = <br />
| wifi =&nbsp;<br />
| wifi network =&nbsp;<br />
| wifi password =&nbsp;<br />
| website =&nbsp;<br />
| phone =&nbsp;<br />
}}
}}
</code>
</code>
Line 44: Line 60:
=== Notes ===
=== Notes ===
'''wifi'''
'''wifi'''
* Is there wifi at this location? Possible values are '''yes''' or '''no'''.
* Is there wireless internet at this location? Possible values are '''yes''', '''no''', or blank (if unknown).


'''website'''
'''website'''
Line 50: 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://