Difference between revisions of "Template:Infobox camera mount"

From blackwiki
Jump to navigation Jump to search
imported>Magioladitis
m (clean up using AWB (9543))
imported>Izkala
(Infobox conversion)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width:300px; font-size:90%; text-align: left;"
+
{{Infobox
|-
+
| above      = {{{name|{{{mount_name}}}}}}
! colspan="2" style="font-size: larger; background-color: #DDCCBB; text-align: center;" | {{{mount_name}}}
+
| abovestyle = background-color: #dcb;
|-
+
 
{{#if: {{{image_name|<noinclude>-</noinclude>}}} |
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{image_name|}}}}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
{{!}} colspan="2" style="text-align: center;"{{!}} [[File:{{{image_name}}}|288px]]
+
| caption    = {{{caption|}}}
{{!}}-
+
 
}}
+
| label1    = Type
{{#if: {{{caption|<noinclude>-</noinclude>}}} |
+
| data1      = {{{type|}}}
{{!}} colspan="2" style="text-align: center;"{{!}} {{{caption}}}
+
| label2    = External diameter
{{!}}-
+
| data2      = {{{external_diameter|}}}
}}
+
| label3    = Inner diameter
{{#if: {{{type|<noinclude>-</noinclude>}}} |
+
| data3      = {{{inner_diameter|}}}
! Type
+
| label4    = Tabs
{{!}} {{{type}}}
+
| data4      = {{{tabs|}}}
{{!}}-
+
| label5    = [[Flange focal distance|Flange]]
}}
+
| data5      = {{{flange|}}}
{{#if: {{{external_diameter|<noinclude>-</noinclude>}}} |
+
| label6    = Connectors
! External diameter
+
| data6      = {{{connectors|}}}
{{!}} {{{external_diameter}}}
+
}}<noinclude>{{Documentation}}</noinclude>
{{!}}-
 
}}
 
{{#if: {{{inner_diameter|<noinclude>-</noinclude>}}} |
 
! Inner diameter
 
{{!}} {{{inner_diameter}}}
 
{{!}}-
 
}}
 
{{#if: {{{tabs|<noinclude>-</noinclude>}}} |
 
! Tabs
 
{{!}} {{{tabs}}}
 
{{!}}-
 
}}
 
{{#if: {{{flange|<noinclude>-</noinclude>}}} |
 
! [[Flange focal distance|Flange]]
 
{{!}} {{{flange}}}
 
{{!}}-
 
}}
 
{{#if: {{{connectors|<noinclude>-</noinclude>}}} |
 
! Connectors
 
{{!}} {{{connectors}}}
 
{{!}}-
 
}}
 
|}</includeonly><noinclude>{{Documentation}}</noinclude>
 

Revision as of 18:39, 24 June 2015

{{{mount_name}}}

[[Category:Infobox templates|Template:Remove first word]]

50px Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox camera mount
| name              = Name of the mount
| image             = An image to show in the infobox
| caption           = A caption for the image
| type              = Type of mount e.g screw, bayonet
| external_diameter = Diameter of lens part
| inner_diameter    = ?
| tabs              = Number of tabs
| flange            = Flange-to-film distance
| connectors        = e.g electrical pins, drive shaft for focus
}}

Example

M39
File:Leica IIIf IMG 1495.JPG
Leica III camera with the mount visible
TypeScrew
External diameter39mm
Inner diameterN/A
TabsN/A
Flange28.8 mm
Connectorsnone
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox camera mount
| name              = M39
| image             = Leica IIIf IMG 1495.JPG
| caption           = Leica III camera with the mount visible
| type              = Screw
| external_diameter = 39mm
| inner_diameter    = N/A
| tabs              = N/A
| flange            = 28.8 mm
| connectors        = none
}}