Difference between revisions of "Template:Google Play"

From blackwiki
Jump to navigation Jump to search
imported>Jon Kolbert
m (no need for italics)
imported>Jon Kolbert
m (add error message for missing ID)
Line 1: Line 1:
[https://play.google.com/store/apps/details?id={{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P3418}}|sep=,}} }} {{#if: {{{2|{{{title<includeonly>|</includeonly>}}}}}} | {{{2|{{{title}}}}}} | {{PAGENAMEBASE}} }}{{#if: {{{3|{{{description|}}}}}} | &#32;{{#if:1| {{{3|{{{description}}}}}} }} }}] on [[Google Play]]<includeonly>{{EditAtWikidata|pid=P3418|{{{1|{{{id|}}}}}}}}{{WikidataCheck|property=P3418|value={{{1|{{{id|}}}}}}|category=Google Play ID}}</includeonly><noinclude>
+
[https://play.google.com/store/apps/details?id={{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P3418}}|sep=,}} }} {{#if: {{{2|{{{title<includeonly>|</includeonly>}}}}}} | {{{2|{{{title}}}}}} | {{PAGENAMEBASE}} }}{{#if: {{{3|{{{description|}}}}}} | &#32;{{#if:1| {{{3|{{{description}}}}}} }} }}] on [[Google Play]]<includeonly>{{EditAtWikidata|pid=P3418|{{{1|{{{id|}}}}}}}}{{WikidataCheck|property=P3418|value={{{1|{{{id|}}}}}}|category=Google Play ID}}</includeonly>
 +
 
 +
| <span class="error">&#123;&#123;[[Template:Google Play|Google Play]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Google Play template missing ID]]}}
 +
 
 +
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 12:24, 9 October 2020

{{{title}}} on Google Play

| {{Google Play}} template missing ID and not present in Wikidata.


Template documentation[view] [edit] [history] [purge]

This template displays a link to a page at the Google Play store (formerly the Android Marketplace).

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

  1. 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
  2. Copy "com.facebook.katana" and then add this number as parameter to the Google Play template:
    {{Google Play|com.facebook.katana}}
  3. The result on the page Facebook is:
    Facebook on Google PlayScript error: No such module "EditAtWikidata".Template:WikidataCheck

| {{Google Play}} template missing ID and not present in Wikidata.

.

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 }}

| {{Google Play}} template missing ID and not present in Wikidata.


Two parameters
* {{Google Play | com.doapps.android.mln.MLN_42b39fdb198522d2bfc6b1f64cd98365 | Boston Herald }}

| {{Google Play}} template missing ID and not present in Wikidata.


Three parameters
* {{Google Play | com.doapps.android.mln.MLN_42b39fdb198522d2bfc6b1f64cd98365 | Boston Herald | by DoApp }}

| {{Google Play}} template missing ID and not present in Wikidata.


See also