Template:Google Play: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (Protected "Template:Google Play" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
(size option)
 
Line 1: Line 1:
[[File:Google Play download big.png|link=https://play.google.com/store/apps/details?id={{{1|org.xbmc.kodi}}}]]<noinclude>{{doc}}</noinclude>
[[File:Google Play download big.png|{{{size|180px}}}|link=https://play.google.com/store/apps/details?id={{{1|org.xbmc.kodi}}}]]<noinclude>{{doc}}</noinclude>

Latest revision as of 07:31, 26 June 2015

Google Play download big.png

[edit] Template documentation

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