Difference between revisions of "ITunesLink"

From Sega Retro

Line 1: Line 1:
<includeonly>''{{{2|{{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/{{{1}}} {{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:{{#var:region}}}}]}}}}</includeonly><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:Sega Retro templates]]
 
[[Category:Sega Retro templates]]
 
</noinclude>
 
</noinclude>

Revision as of 18:23, 6 October 2020


Usage

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

Company of Heroes on the App Store: US, GB


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

Golden Axe on the App Store: US, GB