Difference between revisions of "ITunesLink"

From Sega Retro

(UK for consistency)
Line 1: Line 1:
<includeonly>''{{{1|{{PAGENAME}}}}}'' on the App Store: {{#vardefine:i|0}}{{#if:{{{regions|}}}|{{#while:|{{#vardefine:region|{{#explode:{{{regions|}}}|,|{{#var:i}}}}}}{{#var:region}}|{{incvar|i}}{{#ifexpr:{{#var:i}}>1|, }} [https://apps.apple.com/{{#var:region}}/app/{{{id_{{#var:region}}|{{{id}}}}}} {{uc:{{#var:region}}}}]}}}}</includeonly><noinclude>
+
<includeonly>''{{{1|{{PAGENAME}}}}}'' on the App Store: {{#vardefine:i|0}}{{#if:{{{regions|}}}|{{#while:|{{#vardefine:region|{{#explode:{{{regions|}}}|,|{{#var:i}}}}}}{{#var:region}}|{{incvar|i}}{{#ifexpr:{{#var:i}}>1|, }} [https://apps.apple.com/{{#var:region}}/app/{{{id_{{#var:region}}|{{{id}}}}}} {{uc:{{#switch:{{#var:region}}|gb=uk|{{#var:region}}}}}}]}}}}</includeonly><noinclude>
 
{{LowercaseTitle}}
 
{{LowercaseTitle}}
  

Revision as of 22:47, 6 October 2020


Usage

{{iTunesLink|Company of Heroes|id=company-of-heroes/id1464645812|regions=us,gb}}

Company of Heroes on the App Store: US, UK


{{iTunesLink|Golden Axe|regions=us,gb|id_us=golden-axe/id319600514|id_gb=golden-axe/id319996497}}

Golden Axe on the App Store: US, UK