Template:Wpbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
| colspan="2" | <big>{{{header|}}}</big> | | 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}}}|link=]] | ||
| style="width: {{{text_size|320px}}}; display: inline-block;" | | | style="width: {{{text_size|320px}}}; display: inline-block;" | | ||
{{{text|}}} | {{{text|}}} | ||
|}<noinclude>{{-}}{{doc}}</noinclude> | |}<noinclude>{{-}}{{doc}}</noinclude> |
Revision as of 06:10, 1 June 2013
[[File:|60px|link=]] |
[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. |