Difference between revisions of "Template:Infobox vendor"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
 
Line 35: Line 35:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{map|<noinclude>x</noinclude>}}}|
+
{{#if:{{{address|<noinclude>x</noinclude>}}}|
 
! Map
 
! Map
 
{{!}} [http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q={{urlencode:{{{address}}}}},+{{{city}}},+{{{state}}}+{{{zip}}}&z=17 Google Maps]
 
{{!}} [http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q={{urlencode:{{{address}}}}},+{{{city}}},+{{{state}}}+{{{zip}}}&z=17 Google Maps]

Latest revision as of 18:12, 21 May 2010

{{{vendor_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]

{{{caption}}}

Information
Address {{{address}}}
City {{{city}}}
State {{{state}}}
Zip Code {{{zip}}}
Country {{{country}}}
Map Google Maps
Website {{{website}}}
Phone {{{phone}}}
Fax {{{fax}}}
Media

DiggFacebookFlickrMySpaceTwitterYouTube

[edit] [purge] Template documentation

Usage

{{Infobox vendor
|vendor_name =
|image = 
|image_size = 
|alt = 
|caption = 
|address = 
|city = 
|state = 
|zip = 
|country = 
|website = 
|phone = 
|fax = 
|media = 
|digg = 
|facebook = 
|flickr = 
|myspace = 
|youtube =
}}
  • vendor_name — the name of the vendor
  • image — the image file name to use in the infobox (Note: only the file name is needed the template automatically links the file)
  • image_size — the desired size of the image in pixels (Default: 250px)
  • alt — alternate text to show up when the image is moused over
  • caption — the caption to show up underneath the picture
  • address — the vendor's address
  • city — the vendor's city
  • state — the vendor's state
  • zip — the vendor's zip code
  • country — the vendor's country
  • website — the current website to the vendor
  • phone — the vendor's phone number(s)
  • fax — the vendor's fax number(s)
  • mediayes or no, whether to display the media section or not
  • digg — the vendor's digg link
  • facebook — the vendor's facebook link
  • flickr — the vendor's flickr link
  • myspace — the vendor's myspace link
  • youtube — the vendor's youtube link