Template:Google Play/doc: Difference between revisions
Jump to navigation
Jump to search
(→Usage) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
Where ''APP ID'' is the application ID. | Where ''APP ID'' is the application ID. | ||
For example, Kodi has an application ID of <code>org.xbmc.kodi</code>. | For example, Kodi has an application ID of <code>org.xbmc.kodi</code>. | ||
You can | |||
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. | ||
< | === 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: