Difference between revisions of "Template:ITunes Preview App/doc"
Jump to navigation
Jump to search
imported>Zyxw (→See also: add link) |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 6: | Line 6: | ||
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}} | {{Lua|Module:EditAtWikidata|Module:WikidataCheck}} | ||
| − | This | + | This template displays a link to the [[iTunes]] Preview website. This template should be used exclusively for '''Apps''' on the Apple [[App Store (iOS)|App Store]]. |
== Usage == | == Usage == | ||
| + | : <code><nowiki>{{</nowiki>iTunes Preview App | <var>ID</var> }}</code> | ||
| + | : <code><nowiki>{{</nowiki>iTunes Preview App | <var>ID</var> | <var>TITLE</var> }}</code> | ||
| + | |||
| + | == Parameters == | ||
| + | The template accepts two parameters, but only the first is required. | ||
| + | # <var>ID</var> should be all of the content after the "itunes.apple.com/" in a URL to an iTunes page. | ||
| + | # <var>TITLE</var> is optional and is the title of the work. If not provided, it defaults to {{tl|PAGENAMEBASE}}. | ||
| + | |||
| + | == Instructions == | ||
:1. Go to the app's iTunes Preview Page. | :1. Go to the app's iTunes Preview Page. | ||
:2. Copy ''only the numbers'' at the end of the url. Ignore the letters "id" in front of the numbers. | :2. Copy ''only the numbers'' at the end of the url. Ignore the letters "id" in front of the numbers. | ||
| Line 14: | Line 23: | ||
:4. Add to the external links section the text:<br/><nowiki>{{ITunes Preview App|#######|Name}}</nowiki><br/>where "#########" is the number you've copied, and "Name" is the name of the iOS application. | :4. Add to the external links section the text:<br/><nowiki>{{ITunes Preview App|#######|Name}}</nowiki><br/>where "#########" is the number you've copied, and "Name" is the name of the iOS application. | ||
| − | == | + | == Examples == |
| − | # | + | # Go to [https://itunes.apple.com/genre/mobile-software-applications/id36 App Store Downloads on iTunes] and find the page for the app. For example, on the [https://itunes.apple.com/us/genre/ios-games/id6014 Games] page, clicking on Fortnite goes to this URL: |
| − | #Copy " | + | #: [https://apps.apple.com/us/app/fortnite/id1261357853 https://apps.apple.com/us/app/fortnite/id{{highlight|1261357853}}] |
| − | + | # Copy "1261357853" and then add this number as parameter: | |
| − | The result on the page | + | #: <nowiki>{{iTunes Preview App|1261357853}}</nowiki> |
| − | + | # The result on the page [[Fortnite]] is: | |
| + | #: {{iTunes Preview App|1261357853|Fortnite}}. | ||
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. | ||
| + | |||
| + | ; One parameter | ||
| + | : <code><nowiki>* {{</nowiki>iTunes Preview App | 398366739 }}</code> | ||
| + | :* {{iTunes Preview App | 398366739 }} | ||
| + | |||
| + | ; Two parameters | ||
| + | : <code><nowiki>* {{</nowiki>iTunes Preview App | 398366739 | Boston Herald }}</code> | ||
| + | :* {{iTunes Preview App | 398366739 | Boston Herald }} | ||
| + | |||
| + | ; No parameters | ||
| + | : <code><nowiki>* {{</nowiki>iTunes Preview App}}</code> | ||
| + | :* {{iTunes Preview App}} | ||
== Tracking categories == | == Tracking categories == | ||
Latest revision as of 12:30, 23 August 2019
| This is a documentation subpage for Template:ITunes Preview App. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata Template:Tracks Wikidata
| This template uses Lua: |
This template displays a link to the iTunes Preview website. This template should be used exclusively for Apps on the Apple App Store.
Usage
{{iTunes Preview App | ID }}{{iTunes Preview App | ID | TITLE }}
Parameters
The template accepts two parameters, but only the first is required.
- ID should be all of the content after the "itunes.apple.com/" in a URL to an iTunes page.
- TITLE is optional and is the title of the work. If not provided, it defaults to {{PAGENAMEBASE}}.
Instructions
- 1. Go to the app's iTunes Preview Page.
- 2. Copy only the numbers at the end of the url. Ignore the letters "id" in front of the numbers.
- 3. The page URL should look like https://itunes.apple.com/app/id#########, where "#########" indicates a number.
- 4. Add to the external links section the text:
{{ITunes Preview App|#######|Name}}
where "#########" is the number you've copied, and "Name" is the name of the iOS application.
Examples
- Go to App Store Downloads on iTunes and find the page for the app. For example, on the Games page, clicking on Fortnite goes to this URL:
- Copy "1261357853" and then add this number as parameter:
- {{iTunes Preview App|1261357853}}
- The result on the page Fortnite is:
- Fortnite on the App StoreScript 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
* {{iTunes Preview App | 398366739 }}- Template:PAGENAMEBASE on the App StoreScript error: No such module "EditAtWikidata".Template:WikidataCheck
- Two parameters
* {{iTunes Preview App | 398366739 | Boston Herald }}- Boston Herald on the App StoreScript error: No such module "EditAtWikidata".Template:WikidataCheck
- No parameters
* {{iTunes Preview App}}- Template:PAGENAMEBASE on the App StoreScript error: No such module "EditAtWikidata".Template:WikidataCheck
Tracking categories
- "id" parameter exists
- Category:iTunes app ID same as Wikidata (0)
- Category:iTunes app ID different from Wikidata (0)
- Category:iTunes app ID not in Wikidata (0)
- "id" parameter does not exist
See also
- {{iTunes}}
- {{BlackBerry World}}
- {{Google Play}}
- {{Windows Phone Store}}