Template:Google Play/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Created page with "This template creates a Google Play download badge. == Usage == {{tlx|Google Play|APP ID}} Where ''APP ID'' is the application ID. For example, Kodi has an application ID of...")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
{{tlx|Google Play|APP ID}}
{{tlx|Google Play|APP ID}}


Where ''APP ID'' is the application ID. For example, Kodi has an application ID of <code>org.xbmc.kodi</code>. You can get the APP ID from the URL of a Google Play link as well, such as <code><nowikI>https://play.google.com/store/apps/details?id=</nowiki>'''org.xbmc.kodi'''</code>.
Where ''APP ID'' is the application ID.
 
 
For example, Kodi has an application ID of <code>org.xbmc.kodi</code>.
 
 
You can find the APP ID from the URL of a Google Play link as well, such as <code><nowikI>https://play.google.com/store/apps/details?id=</nowiki>'''org.xbmc.kodi'''</code>.
 


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.


<inlcudeonly>
=== 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>
[[Category:Formatting templates]]
[[Category:Formatting templates]]
[[Category:External site feature templates]]
</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