Difference between revisions of "ITunesLink"

From Sega Retro

 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
''{{{2|{{PAGENAME}}}}}'' on iTunes: {{#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/{{{1}}} {{uc:{{#var:region}}}}]}}}}
+
<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>
<noinclude>[[Category:Sega Retro templates]]</noinclude>
+
{{LowercaseTitle}}
 +
 
 +
==Usage==
 +
<pre>{{iTunesLink|Company of Heroes|id=company-of-heroes/id1464645812|regions=us,gb}}</pre>
 +
{{iTunesLink|Company of Heroes|id=company-of-heroes/id1464645812|regions=us,gb}}
 +
 
 +
 
 +
<pre>{{iTunesLink|Golden Axe|regions=us,gb|id_us=golden-axe/id319600514|id_gb=golden-axe/id319996497}}</pre>
 +
{{iTunesLink|Golden Axe|regions=us,gb|id_us=golden-axe/id319600514|id_gb=golden-axe/id319996497}}
 +
 
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 13:19, 1 January 2022


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