Difference between revisions of "ReleasesiOS"

From Sega Retro

(Created page with "<includeonly>{{releasesRow|iOS|JP|{{{ios_date_jp|}}}|¥{{{ios_rrp_jp|?}}}|{{{ios_code_jp|?}}}}} {{releasesRow|iOS|JP|{{{ios_date_jp_1|}}}|¥{{{ios_rrp_jp_1|?}}}|{{{ios_code_jp...")
 
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{releasesRow|iOS|JP|{{{ios_date_jp|}}}|¥{{{ios_rrp_jp|?}}}|{{{ios_code_jp|?}}}}}
+
<includeonly>{{#vardefine:syslist|ios,ipod,ipad,appletv}}{{#vardefine:rgnlist|{{Regions/Mobile}}}}{{#vardefine:year|9999}}
{{releasesRow|iOS|JP|{{{ios_date_jp_1|}}}|¥{{{ios_rrp_jp_1|?}}}|{{{ios_code_jp_1|?}}}|type={{{ios_type_jp_1|}}}}}
+
{{#vardefine:i|0}}{{#while:
{{releasesRow|iOS|JP|{{{ios_date_jp_2|}}}|¥{{{ios_rrp_jp_2|?}}}|{{{ios_code_jp_2|?}}}|type={{{ios_type_jp_2|}}}}}
+
| {{#ifexpr: {{#len:{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}} > 0 | true }}
{{releasesRow|iOS|US|{{{ios_date_us|}}}|${{{ios_rrp_us|?}}}|{{{ios_code_us|?}}}}}
+
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}
{{releasesRow|iOS|EU|{{{ios_date_eu|}}}|£{{{ios_rrp_uk|?}}} €{{{ios_rrp_eu|?}}}|{{{ios_code_eu|?}}}}}
+
{{#vardefine:j|0}}{{#while:
{{releasesRow|iOS|AU|{{{ios_date_au|}}}|${{{ios_rrp_au|?}}}|{{{ios_code_au|?}}}}}
+
| {{#ifexpr: {{#len:{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}} > 0 | true }}
{{releasesRow|iOS|KR|{{{ios_date_kr|}}}|₩{{{ios_rrp_kr|?}}}|{{{ios_code_kr|?}}}}}
+
| {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}
{{releasesRow|iOS|JP|{{{ipad_date_jp|}}}|¥{{{ipad_rrp_jp|?}}}|{{{ipad_code_jp|?}}}|type=iPad}}
 
{{releasesRow|iOS|US|{{{ipad_date_us|}}}|${{{ipad_rrp_us|?}}}|{{{ipad_code_us|?}}}|type=iPad}}
 
{{releasesRow|iOS|EU|{{{ipad_date_eu|}}}|£{{{ipad_rrp_uk|?}}} €{{{ipad_rrp_eu|?}}}|{{{ipad_code_eu|?}}}|type=iPad}}
 
|-
 
| style="display:none" |
 
<!-- Games -->
 
{{#ifeq: {{#var:type}} | 0 |
 
  
{{#if: {{{ios_date_jp|}}}{{{ios_date_jp_au|}}}{{{ios_date_us|}}}{{{ios_date_eu|}}}{{{ios_date_au|}}}{{{ios_date_kr|}}} | [[Category:iOS games]] | }}
+
{{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat |
 +
{{releasesRowPlus
 +
| console={{#switch:{{#var:sys}}|appletv=AppleTV|ipod=IPOD|iOS}}
 +
| region={{uc:{{#var:rgn}}}}
 +
| date={{#var:dat}}
 +
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
 +
| currency=
 +
| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}}
 +
| code2=
 +
| type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:sys}}|ipod={{#vardefine:typ2|iPod}}|ipad={{#vardefine:typ2|iPad{{#if:{{#var:typ2}}|<nowiki>;</nowiki> {{#var:typ2}}}}}}}}{{#switch:{{#var:typ2}}
 +
  |gree=GREE
 +
  |sf=[[Sega Forever]][[Category:Sega Forever games]]
 +
  |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ2}}}}
 +
  }}
 +
| download=yes
 +
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}}
 +
}}
 +
{{#switch:{{#var:sys}}|ipod=[[Category:iPod games]]|ipad=[[Category:iPad games]][[Category:iOS games]]|appletv=[[Category:Apple TV games]]|[[Category:iOS games]]}}
 +
}}
  
{{#if: {{{ipad_date_jp|}}}{{{ipad_date_us|}}}{{{ipad_date_eu|}}} | [[Category:iPad games]] | }}
+
{{incvar|j}}
 
+
}}
| }}
+
{{incvar|i}}
 
+
}}
<!-- Accessories -->
+
{{#switch:{{#var:type}}
{{#ifeq: {{#var:type}} | 1 |  | }}
+
| 0=
 
+
| 1=
<!-- Consoles -->
+
| 2=
{{#ifeq: {{#var:type}} | 2 |  | }}
+
}}
 
 
|-
 
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
See [[Template:Releases/Usage]] for how to use.
 
See [[Template:Releases/Usage]] for how to use.
  
 
[[Category:Releases templates]]</noinclude>
 
[[Category:Releases templates]]</noinclude>

Latest revision as of 14:43, 28 November 2021

See Template:Releases/Usage for how to use.