Template:Google Play/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 14: Line 14:


When no APP ID is given the link will default to linking to Kodi.
When no APP ID is given the link will default to linking to Kodi.
=== Options ===
The size of the badge can be changed by defining the width like this:
<tt><nowiki>{{Google Play|org.xbmc.kodi|size=300px}}</nowiki></tt>
which creates:
{{Google Play|org.xbmc.kodi|size=300px}}


<includeonly>
<includeonly>

Latest revision as of 07:36, 26 June 2015

This template creates a Google Play download badge.

Usage

{{Google Play|APP ID}}

Where APP ID is the application ID.


For example, Kodi has an application ID of org.xbmc.kodi.


You can find the APP ID from the URL of a Google Play link as well, such as https://play.google.com/store/apps/details?id=org.xbmc.kodi.


When no APP ID is given the link will default to linking to Kodi.

Options

The size of the badge can be changed by defining the width like this:

{{Google Play|org.xbmc.kodi|size=300px}}

which creates:

Google Play download big.png