Difference between revisions of "Template:Infobox photographic film"

From blackwiki
Jump to navigation Jump to search
imported>Andrew J.Kurbiko
imported>Izkala
(Infobox conversion)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width: 300px;"
+
{{Infobox
| style="background-color: #CCF; text-align: center; font-size: larger; padding: 1px 3px;" colspan="2" | '''{{{name}}}'''{{#if: {{{code|}}}|<br>('''{{{code}}}''')}}
+
| above      = {{Br separated entries|{{{name}}}|{{{code|}}}}}
|-
+
 
{{#if: {{{image|}}}|
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
{{!}} colspan="2" style="text-align: center; background-color: #fff;" {{!}} [[Image:{{{image}}}|288px]]<br><small>{{{caption|}}}</small>
+
| imagestyle = background-color: white;
}}
+
| caption    = {{{caption|}}}
|-
+
 
{{#if: {{{maker|}}}|
+
| label1    = Maker
{{!}} '''Maker:'''
+
| data1      = {{{maker|}}}
{{!}}{{{maker}}}
+
| label2    = [[film speed|Speed]]
}}
+
| data2      = {{{speed|}}}
|-
+
| label3    = [[push processing|Push]]
{{#if: {{{speed|}}}|
+
| data3      = {{{push|}}}
{{!}} '''[[film speed|Speed]]:'''
+
| label4    = Type
{{!}}{{{speed}}}
+
| data4      = {{#if:{{{bw|}}}|[[Black-and-white|B&W]]|[[Color photography|Color]]}} {{#switch:{{{type}}}|p = print|s = [[Reversal film|slide]]|i = [[Instant film|instant]]|{{{type|}}}}}
}}
+
| label5    = [[Color temperature|Balance]]
|-
+
| data5      = {{#switch:{{{balance|}}}|d = Daylight|t = Tungsten|{{{balance|}}}}}
{{#if: {{{push|}}}|
+
| label6    = [[photographic processing|Process]]
{{!}} '''[[push processing|Push]]:'''
+
| data6      = {{{process|}}}
{{!}} {{{push}}}
+
| label7    = [[film format|Format]]
}}
+
| data7      = {{{format|}}}
|-
+
| label8    = Grain
{{#if: {{{type|}}}|
+
| data8      = {{{grain|}}}
{{!}} '''Type:'''
+
| label9    = Exposure<br/>latitude
{{!}}{{#if: {{{bw|}}}|[[Black-and-white|B&W]]|[[Color photography|Color]]}}&nbsp;{{#switch: {{{type|}}} | p = print | s = [[Reversal film|slide]] | i = [[Instant film|instant]] | {{{type|}}} }}
+
| data9      = {{{latitude|}}}
}}
+
| label10    = [[Saturation (color theory)|Saturation]]
|-
+
| data10    = {{{saturation|}}}
{{#if: {{{balance|}}}|
+
| label11    = Application
{{!}} '''[[Color temperature|Balance]]:'''
+
| data11    = {{{app|}}}
{{!}}{{#switch: {{{balance|}}} | d = Daylight | t = Tungsten | {{{balance|}}} }}
+
| label12    = Introduced
}}
+
| data12    = {{{start|}}}
|-
+
| label13    = Discontinued
{{#if: {{{process|}}}|
+
| data13    = {{{stop|}}}
{{!}} '''[[photographic processing|Process]]:'''
+
| label14    = Replaced by
{{!}}{{{process}}}
+
| data14    = {{{replace|}}}
}}
+
}}<noinclude>
|-
+
{{Documentation}}</noinclude>
{{#if: {{{format|}}}|
 
{{!}} '''[[film format|Format]]:'''
 
{{!}}{{{format}}}
 
}}
 
|-
 
{{#if: {{{grain|}}}|
 
{{!}} '''Grain:'''
 
{{!}}{{{grain}}}
 
}}
 
|-
 
{{#if: {{{latitude|}}}|
 
{{!}} '''Exposure<br/>latitude:'''
 
{{!}} {{{latitude}}}
 
}}
 
|-
 
{{#if: {{{saturation|}}}|
 
{{!}} '''[[Saturation (color theory)|Saturation]]:'''
 
{{!}}{{{saturation}}}
 
}}
 
|-
 
{{#if: {{{app|}}}|
 
{{!}} '''Application:'''
 
{{!}}{{{app}}}
 
}}
 
|-
 
{{#if: {{{start|}}}|
 
{{!}} '''Introduced:'''
 
{{!}}{{{start}}}
 
}}
 
|-
 
{{#if: {{{stop|}}}|
 
{{!}} '''Discontinued:'''
 
{{!}}{{{stop}}}
 
}}
 
|-
 
{{#if: {{{replace|}}}|
 
{{!}} '''Replaced by:'''
 
{{!}}{{{replace}}}
 
}}
 
|}[[Category:Photographic films|{{{name}}}]]</includeonly><noinclude>{{Documentation}}
 
</noinclude>
 

Revision as of 18:21, 24 June 2015

{{{name}}}
TypeColor

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

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

This an infobox for photographic films. See the talk page for some examples which show the full usage of this infobox in a few combinations.

Usage

Template:Parameter names example

{{Infobox photographic film
|name        = (REQUIRED) Film name
|code        = Emulsion code
|image       = An image to show in the infobox
|caption     = A caption for the image
|maker       = Who makes the film (link)
|speed       = Speed or speeds of the film (full ISO please e.g 100/21°)
|push        = Whether the film can be push processed, and by how much
|type        = 'p' for print (negative), 's' for slide (reversal), 'i' for instant (polaroid)
|bw          = Black-and-white or color? (simply setting it means B&W, else color)
|balance     = 'd' for daylight, 't' for tungsten
|process     = The process used to develop this film
|format      = Format or formats (size) of the film
|grain       = How grainy?
|latitude    = Exposure latitude
|saturation  = Colour saturation
|app         = Suggested application (e.g portrait, landscape, snapshot, etc)
|start       = Year the film was introduced
|stop        = Year the film was discontinued
|replace     = The film that superseded or replaced this film
}}

All fields except 'name' are optional.