Changes

Jump to navigation Jump to search

Template:Infobox Restaurant

540 bytes added, 22:15, 26 December 2008
m
no edit summary
{| class="infobox" style="width: 300px; font-size: 90%;"
|-
! colspan="2" style="font-size: larger; background-color: #ABCDEFeef2f2;" | {{#if: {{{name|}}}|{{{name}}}}}
|-
{{#if: {{{image|}}}|
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #ABCDEFeef2f2;" {{!}} <div style="border: 1px solid #ABCDEFdde4ea;">[[Image:{{{image}}}|288px300px|{{{caption}}}]]</div> {{#if: {{{caption|}}}|<center>{{{caption}}}</center>}}}}
|-
{{#if: {{{cuisine|}}}|
|-
{{#if: {{{location|}}}|
{{!}} '''Location(s)'''
{{!}} {{{location}}}}}
|-
{{#if: {{{opened|}}}|
{{!}} '''OpenedEstablished'''
{{!}} {{{opened}}}}}
|-
|-
{{#if: {{{chef|}}}|
{{!}} {{ #if: {{{cheftitle|}}}|'''{{{cheftitle}}}'''|'''Chef'''}}
{{!}} {{{chef}}}}}
|-
{{#if: {{{slogan|}}}|
{{!}} '''Slogan'''
{{!}} ''{{{slogan}}}''}}|-{{#if: {{{hours|}}}|{{!}} '''Hours&nbsp;of&nbsp;Operation'''{{!}} {{{hours}}}}}|-{{#if: {{{phone|}}}|{{!}} '''Phone&nbsp;number'''{{!}} {{{phone}}}}}|-{{#if: {{{website|}}}|{{!}} '''Website'''{{!}} {{{website}}}}}
|-
{{#if: {{{mapcode|}}}|
{{!}} colspan="2" {{!}} <div class="NavFrame" style="border:none;"><div class="NavHead">Map</div><div class="NavContent">{{{mapcode}}}</div></div>}}
|}<noinclude>
This is an infobox template for a restaurant. ==Usage==<pre>{{Infobox Restaurant|name=|image=|caption=|cuisine=|location=|opened=|owner=|chef=|cheftitle=|slogan=|hours=|phone=|website=|mapcode=}}</pre>For the Map field, just use the built-in Google Editors Map (set width to 288px) and copy-paste.
[[Category:Infobox templates|Restaurant]]
</noinclude>

Navigation menu