Template:Wpbox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{| style="display: inline-block; float: left; padding: 10px; margin-right: 10px; -moz-border-radius: 5px; border-radius: 5px; background-color: #f2f9fc; border: 1px solid #e1e9ed; {{box-shadow|2px|2px|2px|#888}}" | {| style="display: inline-block; float: left; padding: 10px; margin-right: 10px; -moz-border-radius: 5px; border-radius: 5px; background-color: #f2f9fc; border: 1px solid #e1e9ed; {{box-shadow|2px|2px|2px|#888}}" | ||
! colspan="2" | <big>{{{header|}}}</big> | |||
|- | |- | ||
| style="margin: 5px; padding-top: 5px; width: {{{image_size|60px}}}; float: left;" | [[File:{{{image|}}}|{{{image_size|60px}}}]] | | style="margin: 5px; padding-top: 5px; width: {{{image_size|60px}}}; float: left;" | [[File:{{{image|}}}|{{{image_size|60px}}}]] | ||
Revision as of 04:40, 1 June 2013
| [[File:|60px]] | |
[edit] Template documentation
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 overall 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 = Kore, Official Remote for Kodi
| image = Android vector.jpg
| text = An open source, full-featured remote for {{Kodi}}. It features library browsing, direct remote control and a slick interface.
{{U|1=[https://play.google.com/store/apps/details?id=org.xbmc.kore Download here]}}
}}
creates
| Kore, Official Remote for Kodi | |
|---|---|
|
An open source, full-featured remote for Kodi. It features library browsing, direct remote control and a slick interface. | |