Difference between revisions of "Template:Infobox web browser"

From blackwiki
Jump to navigation Jump to search
imported>Smike
(Added optional functionality to accommodate plural "Engines" parameter, such as in Google Chrome article.)
imported>Codename Lisa
(Implemented {{#invoke:InfoboxImage}} as in Infobox software)
Line 5: Line 5:
 
| titleclass = summary
 
| titleclass = summary
 
| labelstyle = white-space: nowrap
 
| labelstyle = white-space: nowrap
| image      = {{{logo|}}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|sizedefault=64px|alt={{{logo_alt|}}}}}
 
| caption    = {{{logo caption|}}}
 
| caption    = {{{logo caption|}}}
| image2    = {{#if:{{{collapsible|}}}|{{hidden begin|title=Screenshot|titlestyle=text-align:center}}}}{{{screenshot|}}}
+
| image2    = {{#if:{{{collapsible|}}}|{{hidden begin|title=Screenshot|titlestyle=text-align:center}}}}{{#invoke:InfoboxImage|InfoboxImage|image={{{screenshot|}}}|size={{{screenshot_size|}}}|sizedefault=300px|alt={{{screenshot_alt|}}}}}
 
| caption2  = {{{caption|}}}{{#if:{{{collapsible|}}}|{{hidden end}}}}
 
| caption2  = {{{caption|}}}{{#if:{{{collapsible|}}}|{{hidden end}}}}
 
| label1    = [[Software design|Original author(s)]]
 
| label1    = [[Software design|Original author(s)]]

Revision as of 18:51, 30 June 2013

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[create]