Template:Windows Phone Store/doc

This is a template to generate links to the Windows Phone Store. This template should only be used for Apps+Games on theWindows Phone Store and not the Windows Store.

Usage

 * 1) Go to the app's page on the Windows Phone Store website.
 * 2) Copy the app's id (and optionally the slug) in the URL. The format for the URL would be something like http://www.windowsphone.com/en-us/store/app/########/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, where the XX section after the last/ indicates the id and the ## section just before the id indicates the slug of the app.
 * 3) Add the template to the External Links section of the page in the following format:  or by explicitly naming the parameters.

Parameters
The template has support for a number of different parameters and only the first one is required to identify the app. Parameters can be named explicitly, or given in the following order:


 * id: The GUID of the application given in the store listing URL. The last section of the URL (http://www.windowsphone.com/en-us/store/app/########/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX) represented by Xs defines the GUID of the app. For example, in http://www.windowsphone.com/en-us/store/app/wikipedia/fd40c569-2681-48df-9ff3-53ffd80aa9b5, the id is fd40c569-2681-48df-9ff3-53ffd80aa9b5.
 * slug: The string based slug of the application given in the store listing URL. The second last section of the URL (http://www.windowsphone.com/en-us/store/app/########/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX) represented by #s defines the slug of the app. Its value is actually ignored when the URL is parsed on the Windows Phone Store. For example, in http://www.windowsphone.com/en-us/store/app/wikipedia/fd40c569-2681-48df-9ff3-53ffd80aa9b5, the slug is wikipedia.
 * title: The title of the app. This parameter will default to the title of the current page if omitted.
 * description: A brief and optional description of the application.

Example
To add the template to the WhatsApp page, open the Windows Phone Store listing for WhatsApp and copy the id and slug as outlined above. Then add the following template code to the External Links section of the page.



This will generate a link which looks something like the following:



Similarly, to add an external link to Halo: Spartan Assault listing on the Halo (franchise) page, add the following template code:



This will generate the following link: