Difference between revisions of "Accessory"

From Sega Retro

 
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> }} | }}
 
{{ #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=
}}
+
}}{{
<includeonly>[[Category:Photos of {{ #if: {{{1|}}} | {{{1}}} accessories | accessories}}]]</includeonly>
+
#ifeq:{{NAMESPACE}}|File|[[Category:Photos of {{ #if: {{{1|}}} | {{{1}}} {{#if:{{{region|}}}|{{{region|}}}&nbsp;|}}accessories | accessories}}]]|}}</includeonly>
<noinclude>[[Category:Image templates|Accessory]]</noinclude>
+
<noinclude>Image tag template for accessory photos:
 +
 
 +
<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.