Template:Image frame: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Reverting. The actual problem is additional px.)
(Added Note on px)
Line 19: Line 19:
{{Imageframe | width=175 | content= [[Image:TSR1New.jpg|80px]] [[Image:TSR2New.jpg|80px]] | caption=Channel logos }}
{{Imageframe | width=175 | content= [[Image:TSR1New.jpg|80px]] [[Image:TSR2New.jpg|80px]] | caption=Channel logos }}


Note, do not add "px" to the width: ie, use width=175 and not width=175px.
== Parameters ==
== Parameters ==
; content : Content of the main section (generally images)
; content : Content of the main section (generally images)

Revision as of 17:41, 18 October 2006

Description

This template creates a frame like those surrounding images. This template was created mainly to put two or more images into a frame together.

Usage

 {{imageframe | width=175 | content= [[Image:TSR1New.jpg|80px]] [[Image:TSR2New.jpg|80px]] | caption=Channel logos }} 

will cause:

Template:Imageframe

Note, do not add "px" to the width: ie, use width=175 and not width=175px.

Parameters

content
Content of the main section (generally images)
caption
Content of the caption section
width
(Optional) Width of the DIV, in pixels
link
(Optional) Link for the "Enlarge" image in the caption.