Difference between revisions of "ScanImageTag"

From Sega Retro

m (Protected "Template:ScanImageTag" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Imagetag
+
{{BadNameCheck|{{PAGENAME}}}}{{Imagetag
 
| image={{{image}}}
 
| image={{{image}}}
 
| text=This image is a scan, photo or promotional image of {{#ifeq: {{{an}}} | yes | an | a}} {{{console}}} video game {{{type}}}. Scans are free to use under fair use. All copyright to this image is held by the companies who developed and published this game. Sega of America and Sega.com expressly disclaims any obligation, responsibility and/or liability with respect to any content or accuracy of information contained on this website.
 
| text=This image is a scan, photo or promotional image of {{#ifeq: {{{an}}} | yes | an | a}} {{{console}}} video game {{{type}}}. Scans are free to use under fair use. All copyright to this image is held by the companies who developed and published this game. Sega of America and Sega.com expressly disclaims any obligation, responsibility and/or liability with respect to any content or accuracy of information contained on this website.
| imagewidth=
+
| imagewidth=32
}}{{#ifeq: {{#var: quality}} | good | {{GoodScan}} <includeonly>[[Category:{{#var: console_short}} {{#var: region}} {{#var: type}} scans]][[Category:Good {{#var: console_short}} {{#var: region}} {{#var: type}} scans]]</includeonly> | <includeonly>[[Category:{{#var: region}} {{#var: console_short}} {{#var: type}} scans to be replaced]][[Category:{{#var: console_short}} {{#var: region}} {{#var: type}} scans]]</includeonly> }}
+
}}{{#ifeq: {{#var: quality}} | good | {{GoodScan}} <includeonly>{{#ifeq: {{NAMESPACE}} | File | [[Category:{{#var: console_short}} {{#var: region}} {{#var: type}} scans]][[Category:Good {{#var: console_short}} {{#var: region}} {{#var: type}} scans]][[Category:All good scans]] | }}</includeonly> | <includeonly>{{#ifeq: {{NAMESPACE}} | File | [[Category:{{#var: region}} {{#var: console_short}} {{#var: type}} scans to be replaced]][[Category:{{#var: console_short}} {{#var: region}} {{#var: type}} scans]] | }}</includeonly> }}
 
<noinclude>Image tags for scans. Saves having to maintain several dozen copies of the copyright text etc.
 
<noinclude>Image tags for scans. Saves having to maintain several dozen copies of the copyright text etc.
 
Setting "an" to yes turns "'''a''' Atari ST video game" into "'''an''' Atari ST video game".  
 
Setting "an" to yes turns "'''a''' Atari ST video game" into "'''an''' Atari ST video game".  
Line 15: Line 15:
 
</pre>
 
</pre>
  
NOTE: When using {{PAGENAME}} in another template, be sure to define the following variables: (Replace SHORT_CONSOLE_NAME with the appropriate short console name.)
+
NOTE: When using {{PAGENAME}} in another template, be sure to define the following variables:
 
<pre>
 
<pre>
 
{{#vardefine:console_short|SHORT_CONSOLE_NAME}}
 
{{#vardefine:console_short|SHORT_CONSOLE_NAME}}
{{#vardefine:type|disc}}
+
{{#vardefine:type|MEDIA_TYPE}}
 
{{#vardefine:region|{{{1|}}}}}
 
{{#vardefine:region|{{{1|}}}}}
 
{{#vardefine:quality|{{{quality}}}}}
 
{{#vardefine:quality|{{{quality}}}}}
 
</pre>
 
</pre>
 +
Replace SHORT_CONSOLE_NAME with the appropriate short console name (e.g. "Wii" or "Mega Drive"), and MEDIA_TYPE with the media type (e.g. "disc" or "cartridge").
 
</noinclude>
 
</noinclude>

Latest revision as of 09:07, 15 August 2019

[[File:{{{image}}}|center|link=|32px]]
This image is a scan, photo or promotional image of a {{{console}}} video game {{{type}}}. Scans are free to use under fair use. All copyright to this image is held by the companies who developed and published this game. Sega of America and Sega.com expressly disclaims any obligation, responsibility and/or liability with respect to any content or accuracy of information contained on this website.

Image tags for scans. Saves having to maintain several dozen copies of the copyright text etc. Setting "an" to yes turns "a Atari ST video game" into "an Atari ST video game".

{{ScanImageTag
| image=
| console=
| type=
| an=
}}

NOTE: When using ScanImageTag in another template, be sure to define the following variables:

{{#vardefine:console_short|SHORT_CONSOLE_NAME}}
{{#vardefine:type|MEDIA_TYPE}}
{{#vardefine:region|{{{1|}}}}}
{{#vardefine:quality|{{{quality}}}}}

Replace SHORT_CONSOLE_NAME with the appropriate short console name (e.g. "Wii" or "Mega Drive"), and MEDIA_TYPE with the media type (e.g. "disc" or "cartridge").