Difference between revisions of "Accessory"

From Sega Retro

 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Imagetag
+
<includeonly>{{Imagetag
 
| image=Logo-acc.png
 
| image=Logo-acc.png
| text=This image is a photo of an accessory to a {{ #if: {{{1|}}} | {{{1}}} }} console.
+
| text=This image is a photo of an accessory to a {{ #if: {{{1|}}} | {{{1}}} }} console{{#if:{{{region|}}}|&nbsp;distributed in {{CountrySentence|{{CountryCode2Country|{{{region|}}}}}}}|}}.
 +
{{ #if: {{{source|}}} | <br>Source: {{{source}}}{{{ref|}}} | }}{{ #if: {{{source|}}} | {{ #if: {{{originalname|}}} | ,&nbsp; | }} | }}{{ #if: {{{originalname|}}} | {{ #if: {{{originalfile|}}} | {{file|{{{originalfile}}}|<tt>{{{originalname}}}</tt>}} | <tt>{{{originalname}}}</tt> }} | }}
 
| imagewidth=
 
| imagewidth=
{{ #if: {{{source|}}} | <br>Source: {{{source}}} | }}{{ #if: {{{source|}}} | {{ #if: {{{originalname|}}} | ,&nbsp; | }} | }}{{ #if: {{{originalname|}}} | {{ #if: {{{originalfile|}}} | {{file|{{{originalfile}}}|<tt>{{{originalname}}}</tt>}} | <tt>{{{originalname}}}</tt> }} | }}
+
}}{{
}}
+
#ifeq:{{NAMESPACE}}|File|[[Category:Photos of {{ #if: {{{1|}}} | {{{1}}} {{#if:{{{region|}}}|{{{region|}}}&nbsp;|}}accessories | accessories}}]]|}}</includeonly>
<includeonly>[[Category:Photos of {{ #if: {{{1|}}} | {{{1}}} Accessories | Accessories}}]]</includeonly>
+
<noinclude>Image tag template for accessory photos:
<noinclude>[[Category:Image Templates|Accessory]]</noinclude>
+
 
 +
<pre>{{accessory|Mega Drive}}</pre>
 +
{{accessory|Mega Drive}}
 +
 
 +
If we're super confident with the region, add a <tt>region</tt> argument. In most cases this won't be applicable.
 +
<pre>{{accessory|Mega Drive|region=SE}}</pre>
 +
{{accessory|Mega Drive|region=SE}}
 +
 
 +
[[Category:Image templates]]</noinclude>

Latest revision as of 08:55, 9 October 2024

Image tag template for accessory photos:

{{accessory|Mega Drive}}
px
This image is a photo of an accessory to a Mega Drive console.


If we're super confident with the region, add a region argument. In most cases this won't be applicable.

{{accessory|Mega Drive|region=SE}}
px
This image is a photo of an accessory to a Mega Drive console distributed in Sweden.