Template:Wpbox/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 15: Line 15:
Changing text_size will change the over-all size of the box.
Changing text_size will change the over-all size of the box.


Objects after the box will float to the right in order to allow multiple boxes to be side-by-side. You can force a line break by using {{tl|-}}.
Objects after the box will float to the right in order to allow multiple boxes to be side-by-side. You can force a line break by using {{tl|-}}


==Example==
==Example==

Revision as of 04:46, 1 June 2013

Creates a box in the new XBMC website style.

Usage

{{wpbox|
 | header = 
 | image = 
 | image_size = (optional. defaults to 60px.)
 | text = 
 | text_size = (optional. defaults to 320px.)
}}

Changing text_size will change the over-all size of the box.

Objects after the box will float to the right in order to allow multiple boxes to be side-by-side. You can force a line break by using {{-}}

Example

{{wpbox
 | header=XBMC Remote Control for Android
 | image=android vector.jpg
 | text=An open source, full-featured remote for XBMC. It features library browsing, direct remote control and a slick interface.


{{u|1=[https://play.google.com/store/apps/details?id=org.xbmc.android.remote Download here]}}
}}

creates

XBMC Remote Control for Android
Android vector.jpg

An open source, full-featured remote for XBMC. It features library browsing, direct remote control and a slick interface.


Download here