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> | ||
− | {{#switch:{{#var:region}} | + | {{#switch:{{lc:{{#var:region}}}} |
|as|bx|ex= | |as|bx|ex= | ||
|#default={{float|{{flag|{{#var:region}}|200}}}} | |#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]]}} | [[{{#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:19, 30 September 2024
[[]] ScanCategory scans from .