Difference between revisions of "Template:Google Play/doc"
Jump to navigation
Jump to search
(removed mainspace category) |
imported>Zyxw (update usage and examples) |
||
| Line 2: | Line 2: | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
| − | This | + | This template displays a link to a page at the [[Google Play]] store (formerly the Android Marketplace). |
| − | === | + | == Usage == |
| + | Unnamed parameters: | ||
| + | * <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' <nowiki>}}</nowiki></code> | ||
| + | * <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''TITLE'' <nowiki>}}</nowiki></code> | ||
| + | * <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''TITLE'' | ''DESCRIPTION'' <nowiki>}}</nowiki></code> | ||
| + | |||
| + | Named parameters: | ||
| + | * <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' <nowiki>}}</nowiki></code> | ||
| + | * <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | title= ''TITLE'' <nowiki>}}</nowiki></code> | ||
| + | * <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | title= ''TITLE'' | description= ''DESCRIPTION'' <nowiki>}}</nowiki></code> | ||
| + | |||
| + | == Instructions == | ||
:1. Go to the app's Google Play Page. | :1. Go to the app's Google Play Page. | ||
:2. Copy only the words after the id parameter in the URL query string. Ignore the parameters after the id parameter as well as the fragment or named anchor. | :2. Copy only the words after the id parameter in the URL query string. Ignore the parameters after the id parameter as well as the fragment or named anchor. | ||
| Line 10: | Line 21: | ||
:4. Add to the external links section the text:<br/><nowiki>{{Google Play|XXX.XXXXXX.XXXXX|Name}}</nowiki><br/>where "XXX.XXXXXX.XXXXX" is the id you've copied, and "Name" is the name of the Android application. | :4. Add to the external links section the text:<br/><nowiki>{{Google Play|XXX.XXXXXX.XXXXX|Name}}</nowiki><br/>where "XXX.XXXXXX.XXXXX" is the id you've copied, and "Name" is the name of the Android application. | ||
| − | == | + | == Examples == |
| − | #Search the Google Play marketplace at play.google.com for "Facebook" and click on the Facebook app. You'll get to this page: https://play.google.com/store/apps/details?id=com.facebook.katana&feature=nav_result#?t=1234567 | + | # Search the Google Play marketplace at play.google.com for "Facebook" and click on the Facebook app. You'll get to this page: https://play.google.com/store/apps/details?id=com.facebook.katana&feature=nav_result#?t=1234567 |
| − | #Copy "com.facebook.katana" and then add this number as parameter to the Google Play template: | + | # Copy "com.facebook.katana" and then add this number as parameter to the Google Play template: |
| − | + | #: <nowiki>{{Google Play|com.facebook.katana}}</nowiki> | |
| − | The result on the page Facebook is: | + | # The result on the page Facebook is: |
| − | + | #: {{Google Play|com.facebook.katana|Facebook}}. | |
Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front. | Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front. | ||
| − | == See | + | ; One parameter |
| − | *{{tl|F-Droid}} | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | com.doapps.android.mln.MLN_42b39fdb198522d2bfc6b1f64cd98365 }}</code> |
| − | *{{tl|BlackBerry World}} | + | :* {{{{BASEPAGENAME}} | com.doapps.android.mln.MLN_42b39fdb198522d2bfc6b1f64cd98365 }} |
| − | *{{tl|ITunes Preview App}} | + | https://play.google.com/store/apps/details?id= |
| − | *{{tl|Windows Phone Store}} | + | |
| + | ; Two parameters | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | com.doapps.android.mln.MLN_42b39fdb198522d2bfc6b1f64cd98365 | Boston Herald }}</code> | ||
| + | :* {{{{BASEPAGENAME}} | com.doapps.android.mln.MLN_42b39fdb198522d2bfc6b1f64cd98365 | Boston Herald }} | ||
| + | |||
| + | ; Three parameters | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | com.doapps.android.mln.MLN_42b39fdb198522d2bfc6b1f64cd98365 | Boston Herald | by DoApp }}</code> | ||
| + | :* {{{{BASEPAGENAME}} | com.doapps.android.mln.MLN_42b39fdb198522d2bfc6b1f64cd98365 | Boston Herald | by DoApp }} | ||
| + | |||
| + | == See also == | ||
| + | * {{tl|F-Droid}} | ||
| + | * {{tl|BlackBerry World}} | ||
| + | * {{tl|ITunes Preview App}} | ||
| + | * {{tl|Windows Phone Store}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- Categories go here, and interwikis go in Wikidata --> | <!-- Categories go here, and interwikis go in Wikidata --> | ||
[[Category:Google templates]] | [[Category:Google templates]] | ||
[[Category:Software external link templates]] | [[Category:Software external link templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 04:50, 22 March 2019
| This is a documentation subpage for Template:Google Play. It contains usage information, categories and other content that is not part of the original template page. |
This template displays a link to a page at the Google Play store (formerly the Android Marketplace).
Contents
Usage
Unnamed parameters:
{{Google Play | ID }}{{Google Play | ID | TITLE }}{{Google Play | ID | TITLE | DESCRIPTION }}
Named parameters:
{{Google Play | id= ID }}{{Google Play | id= ID | title= TITLE }}{{Google Play | id= ID | title= TITLE | description= DESCRIPTION }}
Instructions
- 1. Go to the app's Google Play Page.
- 2. Copy only the words after the id parameter in the URL query string. Ignore the parameters after the id parameter as well as the fragment or named anchor.
- 3. The page URL should look like https://play.google.com/store/apps/details?id=XXX.XXXXXX.XXXXX&feature=nav_result#?t=1234567, where "XXX.XXXXXX.XXXXX" indicates the id parameter.
- 4. Add to the external links section the text:
{{Google Play|XXX.XXXXXX.XXXXX|Name}}
where "XXX.XXXXXX.XXXXX" is the id you've copied, and "Name" is the name of the Android application.
Examples
- Search the Google Play marketplace at play.google.com for "Facebook" and click on the Facebook app. You'll get to this page: https://play.google.com/store/apps/details?id=com.facebook.katana&feature=nav_result#?t=1234567
- Copy "com.facebook.katana" and then add this number as parameter to the Google Play template:
- {{Google Play|com.facebook.katana}}
- The result on the page Facebook is:
- Facebook on Google PlayScript error: No such module "EditAtWikidata".Template:WikidataCheck.
Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front.
- One parameter
* {{Google Play | com.doapps.android.mln.MLN_42b39fdb198522d2bfc6b1f64cd98365 }}- Template:PAGENAMEBASE on Google PlayScript error: No such module "EditAtWikidata".Template:WikidataCheck
https://play.google.com/store/apps/details?id=
- Two parameters
* {{Google Play | com.doapps.android.mln.MLN_42b39fdb198522d2bfc6b1f64cd98365 | Boston Herald }}- Boston Herald on Google PlayScript error: No such module "EditAtWikidata".Template:WikidataCheck
- Three parameters
* {{Google Play | com.doapps.android.mln.MLN_42b39fdb198522d2bfc6b1f64cd98365 | Boston Herald | by DoApp }}- Boston Herald by DoApp on Google PlayScript error: No such module "EditAtWikidata".Template:WikidataCheck
See also
- {{F-Droid}}
- {{BlackBerry World}}
- {{ITunes Preview App}}
- {{Windows Phone Store}}