Langbahn Team – Weltmeisterschaft

Template:ITunes Preview App/doc: Difference between revisions

Content deleted Content added
See also: add link
update usage, instructions, and examples - prior example no longer in App Store
Line 6: Line 6:
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}


This is a template to generate links to [[iTunes]] Preview. This template should be used exclusively for '''Apps''' on the Apple [[App Store (iOS)|App Store]].
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 | <var>ID</var> }}</code>
: <code><nowiki>{{</nowiki>iTunes | <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.


== Example ==
== Examples ==
#On the page [[Infinity Blade]], preview <nowiki>{{iTunes Preview App}}</nowiki> and search using the link [https://itunes.apple.com/genre/mobile-software-applications/id36 "Infinity Blade"] produced. You'll get to this page: https://itunes.apple.com/app/infinity-blade/id387428400
# 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:
#: [https://itunes.apple.com/us/app/fortnite/id1261357853 https://itunes.apple.com/us/app/fortnite/id{{highlight|1261357853}}]
#Copy "87428400" and then add this number as parameter:
# Copy "1261357853" and then add this number as parameter:
::<nowiki>{{iTunes Preview App|387428400}}</nowiki>
#: <nowiki>{{iTunes Preview App|1261357853}}</nowiki>
The result on the page Alpha Dog is:
# The result on the page [[Fortnite]] is:
::{{iTunes Preview App|387428400|Infinity Blade}}.
#: {{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 ==

Revision as of 04:18, 22 March 2019

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 | ID }}
{{iTunes | ID | TITLE }}

Parameters

The template accepts two parameters, but only the first is required.

  1. ID should be all of the content after the "itunes.apple.com/" in a URL to an iTunes page.
  2. 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

  1. 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:
    https://itunes.apple.com/us/app/fortnite/id1261357853
  2. Copy "1261357853" and then add this number as parameter:
    {{iTunes Preview App|1261357853}}
  3. The result on the page Fortnite is:
    Fortnite on the App Store.

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 }}
Two parameters
* {{iTunes Preview App | 398366739 | Boston Herald }}
No parameters
* {{iTunes Preview App}}

Tracking categories

"id" parameter exists
"id" parameter does not exist

See also