Difference between revisions of "Template:Infobox vendor"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Information | ! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Information | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{address|<noinclude>x</noinclude>}}}| |
− | ! | + | ! Address |
− | {{!}} {{{ | + | {{!}} {{{address}}} |
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{city|<noinclude>x</noinclude>}}}| | ||
+ | ! City | ||
+ | {{!}} {{{city}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{state|<noinclude>x</noinclude>}}}| | ||
+ | ! State | ||
+ | {{!}} {{{state}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if:{{{country|<noinclude>x</noinclude>}}}| | ||
+ | ! Country | ||
+ | {{!}} {{{country}}} | ||
{{!}}- | {{!}}- | ||
}} | }} |
Revision as of 21:43, 16 February 2010
{{{vendor_name}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]
{{{caption}}} | |
Information | |
Address | {{{address}}} |
City | {{{city}}} |
State | {{{state}}} |
Country | {{{country}}} |
Website | {{{website}}} |
Media | |
[edit] [ ] 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)
- media — yes 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
The above documentation is transcluded from Template:Infobox vendor/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |