الگو:فروشگاه ویندوز فون/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد


This is a template to generate links to the فروشگاه ویندوز فون. This template should only be used for Apps+Games on theفروشگاه ویندوز فون and not the فروشگاه مایکروسافت (دیجیتال).

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: {{Windows Phone Store|XXXXX|#####}} or by explicitly naming the parameters {{Windows Phone Store|id=XXXXX|slug=#####|title=App Title}}.

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:

Example[ویرایش]

To add the template to the واتس‌اپ 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 واتس‌اپ section of the page.

{{Windows Phone Store|218a0ebb-1585-4c7e-a9ec-054cf4569a79}}

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

WhatsApp در مارکت ویندوز فون

Similarly, to add an external link to Halo: Spartan Assault listing on the هیلو (مجموعه بازی) page, add the following template code:

{{Windows Phone Store|id=8e162189-0baf-431e-966a-0d050eac9aab|title=Halo: Spartan Assault|slug=halo-spartan-asslt|description=Halo: Spartan Assault brings the excitement of Halo combat to touch-based devices for the very first time. Battle your way through 25 action-packed missions against the Covenant as you explore the origin of the Spartan Ops program.}}

This will generate the following link:

Halo: Spartan Assault در مارکت ویندوز فون Halo: Spartan Assault brings the excitement of Halo combat to touch-based devices for the very first time. Battle your way through 25 action-packed missions against the Covenant as you explore the origin of the Spartan Ops program.

See also[ویرایش]