Difference between revisions of "Template:Infobox Restaurant"

From Pensapedia, the Pensacola encyclopedia
Jump to navigation Jump to search
m (test)
m
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
|-
 
|-
 
{{#if: {{{image|}}}|
 
{{#if: {{{image|}}}|
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #eef2f2;" {{!}} <div style="border: 1px solid #dde4ea;">[[Image:{{{image}}}|288px|{{{caption}}}]]</div>{{#if: {{{caption|}}}|<center>{{{caption}}}</center>}}}}
+
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #eef2f2;" {{!}} <div style="border: 1px solid #dde4ea;">[[Image:{{{image}}}|300px|{{{caption}}}]]</div>{{#if: {{{caption|}}}|<center>{{{caption}}}</center>}}}}
 
|-
 
|-
 
{{#if: {{{cuisine|}}}|
 
{{#if: {{{cuisine|}}}|
Line 43: Line 43:
 
|-
 
|-
 
{{#if: {{{mapcode|}}}|
 
{{#if: {{{mapcode|}}}|
{{!}} colspan="2" {{!}} <div class="NavHead">Map</div><div class="NavContent">{{{mapcode}}}</div>}}
+
{{!}} colspan="2" {{!}} <div class="NavFrame" style="border:none;"><div class="NavHead">Map</div><div class="NavContent">{{{mapcode}}}</div></div>}}
 
|}<noinclude>
 
|}<noinclude>
 
==Usage==
 
==Usage==

Latest revision as of 22:15, 26 December 2008

Usage[edit]

{{Infobox Restaurant
|name=
|image=
|caption=
|cuisine=
|location=
|opened=
|owner=
|chef=
|cheftitle=
|slogan=
|hours=
|phone=
|website=
|mapcode=
}}

For the Map field, just use the built-in Google Editors Map (set width to 288px) and copy-paste.