Difference between revisions of "ScanCategory"
From Sega Retro
(Created page with "<div style="display:none;">{{#vardefine:name|{{#if:{{{override|}}}|{{{override}}}|{{PAGENAME}}}}}} {{#vardefine:wordcount|{{#count:{{#var:name}}| }}}} {{#vardefine:type|{{#exp...") |
|||
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> | ||
− | {{float|{{flag|{{#var:region}}|200}}}} | + | {{#if:{{flag|{{#var:region}}}}|{{float|{{flag|{{#var:region}}|200}}}}}} |
− | [[{{#var:format}}]] {{#var:type}} scans from {{CountryCode2Country|{{#var:region}}}}.{{#ifeq:{{NAMESPACE}}|Category|[[Category:{{#var:format}} {{#var:type}} scans]]}} | + | [[{{#var:format}}]] {{#var:type}} scans from {{CountryCode2Country|{{#var:region}}}}.{{#ifeq:{{NAMESPACE}}|Category|[[Category:{{#var:format}} {{#var:type}} scans]][[Category:All {{#var:region}} scans]]}} |
Revision as of 11:08, 30 September 2024
[[]] ScanCategory scans from .