Template:Wpbox/doc: Difference between revisions
Jump to navigation
Jump to search
(→Usage) |
RogueScholar (talk | contribs) (Fix broken image syntax and update examples) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Creates a box in the new XBMC website style. | Creates a box in the new XBMC website style. | ||
==Usage== | == Usage == | ||
<pre> | <pre> | ||
{{ | {{Wpbox | ||
| header = | | header = | ||
| image = | | image = | ||
| image_size = | | image_size = <!-- optional, defaults to 60px --> | ||
| text = | | text = | ||
| text_size = | | text_size = <!-- optional, defaults to 320px --> | ||
}} | }} | ||
</pre> | </pre> | ||
Changing text_size will change the | Changing text_size will change the overall size of the box. | ||
==Example== | 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 {{Tlx|-}}. | ||
== Example == | |||
<pre> | <pre> | ||
{{ | {{Wpbox | ||
| header= | | header = Kore, Official Remote for Kodi | ||
| image= | | image = Android vector.jpg | ||
| text=An open source, full-featured remote for | | 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]}} | |||
{{ | |||
}} | }} | ||
</pre> | </pre> | ||
Line 29: | Line 29: | ||
creates | creates | ||
{{ | {{Wpbox | ||
| header= | | header = Kore, Official Remote for Kodi | ||
| image= | | image = Android vector.jpg | ||
| text=An open source, full-featured remote for | | 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]}} | |||
{{ | }}<includeonly> | ||
}} | |||
[[Category:Formatting templates]]</includeonly> | |||
[[Category:Formatting templates]] | |||
</includeonly> |
Latest revision as of 00:06, 14 September 2022
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. |