Difference between revisions of "ScanCategory"

From Sega Retro

Line 4: Line 4:
 
{{#vardefine:region|{{#explode:{{#var:name}}| |{{#expr:{{#var:wordcount}}-2}}}}}}
 
{{#vardefine:region|{{#explode:{{#var:name}}| |{{#expr:{{#var:wordcount}}-2}}}}}}
 
{{#vardefine:format|{{#replace:{{#replace:{{#replace:{{#var:name}}|{{#var:region}}|}}|{{#var:type}}}}|scans|}}}}</div>
 
{{#vardefine:format|{{#replace:{{#replace:{{#replace:{{#var:name}}|{{#var:region}}|}}|{{#var:type}}}}|scans|}}}}</div>
{{#if:{{flag|{{#var:region}}}}|{{float|{{flag|{{#var:region}}|200}}}}}}
+
{{#switch:{{#var:region}}
[[{{#var:format}}]] {{#var:type}} scans from {{CountryCode2Country|{{#var:region}}}}.{{#ifeq:{{NAMESPACE}}|Category|[[Category:{{#var:format}} {{#var:type}} scans]][[Category:All {{#var:region}} scans]]}}
+
|as|bx|ex=
 +
|#default={{float|{{flag|{{#var:region}}|200}}}}
 +
}}
 +
[[{{#var:format}}]] {{#var:type}} scans from {{CountrySentence|{{CountryCode2Country|{{#var:region}}}}}}.{{#ifeq:{{NAMESPACE}}|Category|[[Category:{{#var:format}} {{#var:type}} scans]][[Category:All {{#var:region}} scans]]}}

Revision as of 11:18, 30 September 2024


[[]] ScanCategory scans from .