Difference between revisions of "ScanCategory"

From Sega Retro

Line 6: Line 6:
 
{{#switch:{{lc:{{#var:region}}}}
 
{{#switch:{{lc:{{#var:region}}}}
 
|as|ex=
 
|as|ex=
|bx={{float|{{flag|BE|100}}  {{flag|NL|100}}  {{flag|LU|100}}}}
+
|bx={{float|{{flag|BE|100|border=silver}}  {{flag|NL|100|border=silver}}  {{flag|LU|100|border=silver}}}}
|#default={{float|{{flag|{{#var:region}}|200}}}}
+
|#default={{float|{{flag|{{#var:region}}|200|border=silver}}}}
 
}}
 
}}
 
[[{{#var:format}}]] {{#var:type}} scans from {{CountrySentence|{{CountryCode2Country|{{#var:region}}}}}}.{{#ifeq:{{NAMESPACE}}|Category|[[Category:{{#var:format}} {{#var:type}} scans]][[Category:All {{#var:region}} scans]]}}</includeonly><noinclude>
 
[[{{#var:format}}]] {{#var:type}} scans from {{CountrySentence|{{CountryCode2Country|{{#var:region}}}}}}.{{#ifeq:{{NAMESPACE}}|Category|[[Category:{{#var:format}} {{#var:type}} scans]][[Category:All {{#var:region}} scans]]}}</includeonly><noinclude>

Revision as of 14:47, 30 September 2024

Template to make region categories consistent. It's mostly automated, working off the category name:

{{ScanCategory}}

You can override it with "override=". You shouldn't need to though - it's more of a testing thing


{{ScanCategory|override=Mega Drive BR box scans}}


Brazil

Mega Drive box scans from Brazil.


{{ScanCategory|override=32X BX box scans}}


Belgium Netherlands Luxembourg

32X box scans from the Benelux region.