Template:Wpbox/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:
}}
}}
</pre>
</pre>
Changing text_size will change the over-all size of the box.
==Example==
<pre>
{{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]}}
}}
</pre>
creates
{{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]}}
}}


<includeonly>
<includeonly>
[[Category:Formatting templates]]
[[Category:Formatting templates]]
</includeonly>
</includeonly>

Revision as of 04:38, 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.

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