Difference between revisions of "Template:Infobox camera"

From Derek
Jump to: navigation, search
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:300px; font-size:90%; text-align: left;"
+
<includeonly>{| class="infobox" style="width:300px; font-size:90%; text-align: left;"
 
|-
 
|-
 
! colspan="2" style="font-size: larger; background-color: #DDCCBB; text-align: center;" | {{{camera_name}}}
 
! colspan="2" style="font-size: larger; background-color: #DDCCBB; text-align: center;" | {{{camera_name}}}
 
|-
 
|-
{{#if: {{{image_name|<noinclude>-</noinclude>}}} |
+
{{#if: {{{image_name|}}} |
{{!}} colspan="2" style="text-align: center;"{{!}} [[Image:{{{image_name}}}|288px]]
+
{{!}} colspan="2" style="text-align: center;"{{!}} [[Image:{{{image_name}}}|288px]]{{#if: {{{caption|}}} |
{{!}}-
+
<br>{{{caption}}}
 
}}
 
}}
{{#if: {{{type|<noinclude>-</noinclude>}}} |
 
! Type
 
{{!}} {{{type}}}
 
{{!}}-
 
 
}}
 
}}
{{#if: {{{lens_mount|<noinclude>-</noinclude>}}} |
+
|-
! Lens mount
+
{{#if: {{{maker|}}} |
 +
{{!}} '''Maker:'''
 +
{{!}} {{{maker}}}
 +
}}
 +
|-
 +
{{#if: {{{name|}}} |
 +
{{!}} '''name:'''
 +
{{!}} {{{name}}}
 +
}}
 +
|-
 +
{{#if: {{{lens_mount|}}} |
 +
{{!}} '''Lens mount:'''
 
{{!}} {{{lens_mount}}}
 
{{!}} {{{lens_mount}}}
{{!}}-
+
|{{#if: {{{lens|}}} |
 +
{{!}} '''Lens:'''
 +
{{!}} {{{lens}}}
 
}}
 
}}
{{#if: {{{focus|<noinclude>-</noinclude>}}} |
+
}}
! Focus
+
|-
 +
{{#if: {{{focus|}}} |
 +
{{!}} '''Focus:'''
 
{{!}} {{{focus}}}
 
{{!}} {{{focus}}}
{{!}}-
 
 
}}
 
}}
{{#if: {{{exposure|<noinclude>-</noinclude>}}} |
+
|-
! Exposure
+
{{#if: {{{exposure|}}} |
 +
{{!}} '''Exposure:'''
 
{{!}} {{{exposure}}}
 
{{!}} {{{exposure}}}
{{!}}-
 
 
}}
 
}}
{{#if: {{{flash|<noinclude>-</noinclude>}}} |
+
|-
! Flash
+
{{#if: {{{flash|}}} |
 +
{{!}} '''Flash:'''
 
{{!}} {{{flash}}}
 
{{!}} {{{flash}}}
{{!}}-
 
 
}}
 
}}
{{#if: {{{frame-rate|<noinclude>-</noinclude>}}} |
+
|-
! Frame rate
+
{{#if: {{{frame-rate|}}} |
 +
{{!}} '''Frame rate:'''
 
{{!}} {{{frame-rate}}}
 
{{!}} {{{frame-rate}}}
{{!}}-
 
 
}}
 
}}
{{#if: {{{dimensions|<noinclude>-</noinclude>}}} |
+
|-
! Dimensions
+
{{#if: {{{dimensions|}}} |
 +
{{!}} '''Dimensions:'''
 
{{!}} {{{dimensions}}}
 
{{!}} {{{dimensions}}}
{{!}}-
 
 
}}
 
}}
|}<noinclude>
+
|-
== Usage ==
+
{{#if: {{{weight|}}} |
<pre>{{Infobox camera
+
{{!}} '''Weight:'''
| camera_name =
+
{{!}} {{{weight}}}
| image_name  =
+
}}
| type        =
+
 
| lens_mount  =
+
|-
| focus      =
+
{{#if: {{{made_in|}}} |
| exposure    =
+
{{!}} '''Made in:'''
| flash      =
+
{{!}} {{{made_in}}}
| frame-rate  =
+
| dimensions  =
+
}}</pre>
+
== Sample ==
+
{{Infobox camera
+
  | camera_name = Minolta XD-7 (XD-11, XD)
+
  | image_name = Antenna.jpg
+
  | type = [[135 film|35 mm]] [[single lens reflex|SLR]]
+
  | lens_mount = [[Minolta MD mount]]
+
  | focus = Manual focus
+
  | exposure = [[Shutter priority|Shutter]] and [[Aperture priority]] autoexposure
+
  | flash = [[Hot shoe]] only
+
  | dimensions = 51 x 86 x 136 mm, 560 g
+
 
}}
 
}}
 +
|}</includeonly><noinclude>{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:05, 21 April 2010

Template:Template otherTemplate:Documentation/core2