Template:Models table: Difference between revisions

From airraidsirens.net, the Internet's premiere site for siren information and discussion
Jump to navigation Jump to search
(Replacing notes section with drivers)
(Attempting to make rows optional)
Line 1: Line 1:
{{Table
{{Table
|hdrs=Model!!Image!!Output!!Drivers
|hdrs=Model!!Image!!Output!!Drivers
|- {{#if: {{{model1|}}} | | style="display: none;" }}
|row1={{{model1|}}}{{!!}}{{ #if: {{{image1|}}} |[[{{{image1|}}}|50px{{ #if: {{{alt1|}}} |||{{{alt1}}}}}]]}}{{!!}}{{ #if: {{{output1|}}} | {{{output1}}} dBc}}{{!!}}{{{drivers1|}}}
|row1={{{model1|}}}{{!!}}{{ #if: {{{image1|}}} |[[{{{image1|}}}|50px{{ #if: {{{alt1|}}} |||{{{alt1}}}}}]]}}{{!!}}{{ #if: {{{output1|}}} | {{{output1}}} dBc}}{{!!}}{{{drivers1|}}}
|- {{#if: {{{model2|}}} | | style="display: none;" }}
|row2={{{model2|}}}{{!!}}{{ #if: {{{image2|}}} |[[{{{image2|}}}|50px{{ #if: {{{alt2|}}} |||{{{alt2}}}}}]]}}{{!!}}{{ #if: {{{output2|}}} | {{{output2}}} dBc}}{{!!}}{{{drivers2|}}}
|row2={{{model2|}}}{{!!}}{{ #if: {{{image2|}}} |[[{{{image2|}}}|50px{{ #if: {{{alt2|}}} |||{{{alt2}}}}}]]}}{{!!}}{{ #if: {{{output2|}}} | {{{output2}}} dBc}}{{!!}}{{{drivers2|}}}
|- {{#if: {{{model3|}}} | | style="display: none;" }}
|row3={{{model3|}}}{{!!}}{{ #if: {{{image3|}}} |[[{{{image3|}}}|50px{{ #if: {{{alt3|}}} |||{{{alt3}}}}}]]}}{{!!}}{{ #if: {{{output3|}}} | {{{output3}}} dBc}}{{!!}}{{{drivers3|}}}
|row3={{{model3|}}}{{!!}}{{ #if: {{{image3|}}} |[[{{{image3|}}}|50px{{ #if: {{{alt3|}}} |||{{{alt3}}}}}]]}}{{!!}}{{ #if: {{{output3|}}} | {{{output3}}} dBc}}{{!!}}{{{drivers3|}}}
|- {{#if: {{{model4|}}} | | style="display: none;" }}
|row4={{{model4|}}}{{!!}}{{ #if: {{{image4|}}} |[[{{{image4|}}}|50px{{ #if: {{{alt4|}}} |||{{{alt4}}}}}]]}}{{!!}}{{ #if: {{{output4|}}} | {{{output4}}} dBc}}{{!!}}{{{drivers4|}}}
|row4={{{model4|}}}{{!!}}{{ #if: {{{image4|}}} |[[{{{image4|}}}|50px{{ #if: {{{alt4|}}} |||{{{alt4}}}}}]]}}{{!!}}{{ #if: {{{output4|}}} | {{{output4}}} dBc}}{{!!}}{{{drivers4|}}}
|- {{#if: {{{model5|}}} | | style="display: none;" }}
|row5={{{model5|}}}{{!!}}{{ #if: {{{image5|}}} |[[{{{image5|}}}|50px{{ #if: {{{alt5|}}} |||{{{alt5}}}}}]]}}{{!!}}{{ #if: {{{output5|}}} | {{{output5}}} dBc}}{{!!}}{{{drivers5|}}}
|row5={{{model5|}}}{{!!}}{{ #if: {{{image5|}}} |[[{{{image5|}}}|50px{{ #if: {{{alt5|}}} |||{{{alt5}}}}}]]}}{{!!}}{{ #if: {{{output5|}}} | {{{output5}}} dBc}}{{!!}}{{{drivers5|}}}
|- {{#if: {{{model6|}}} | | style="display: none;" }}
|row6={{{model6|}}}{{!!}}{{ #if: {{{image6|}}} |[[{{{image6|}}}|50px{{ #if: {{{alt6|}}} |||{{{alt6}}}}}]]}}{{!!}}{{ #if: {{{output6|}}} | {{{output6}}} dBc}}{{!!}}{{{drivers6|}}}
|row6={{{model6|}}}{{!!}}{{ #if: {{{image6|}}} |[[{{{image6|}}}|50px{{ #if: {{{alt6|}}} |||{{{alt6}}}}}]]}}{{!!}}{{ #if: {{{output6|}}} | {{{output6}}} dBc}}{{!!}}{{{drivers6|}}}
|- {{#if: {{{model7|}}} | | style="display: none;" }}
|row7={{{model7|}}}{{!!}}{{ #if: {{{image7|}}} |[[{{{image7|}}}|50px{{ #if: {{{alt7|}}} |||{{{alt7}}}}}]]}}{{!!}}{{ #if: {{{output7|}}} | {{{output7}}} dBc}}{{!!}}{{{drivers7|}}}
|row7={{{model7|}}}{{!!}}{{ #if: {{{image7|}}} |[[{{{image7|}}}|50px{{ #if: {{{alt7|}}} |||{{{alt7}}}}}]]}}{{!!}}{{ #if: {{{output7|}}} | {{{output7}}} dBc}}{{!!}}{{{drivers7|}}}
|- {{#if: {{{model8|}}} | | style="display: none;" }}
|row8={{{model8|}}}{{!!}}{{ #if: {{{image8|}}} |[[{{{image8|}}}|50px{{ #if: {{{alt8|}}} |||{{{alt8}}}}}]]}}{{!!}}{{ #if: {{{output8|}}} | {{{output8}}} dBc}}{{!!}}{{{drivers8|}}}
|row8={{{model8|}}}{{!!}}{{ #if: {{{image8|}}} |[[{{{image8|}}}|50px{{ #if: {{{alt8|}}} |||{{{alt8}}}}}]]}}{{!!}}{{ #if: {{{output8|}}} | {{{output8}}} dBc}}{{!!}}{{{drivers8|}}}
|- {{#if: {{{model9|}}} | | style="display: none;" }}
|row9={{{model9|}}}{{!!}}{{ #if: {{{image9|}}} |[[{{{image9|}}}|50px{{ #if: {{{alt9|}}} |||{{{alt9}}}}}]]}}{{!!}}{{ #if: {{{output9|}}} | {{{output9}}} dBc}}{{!!}}{{{drivers9|}}}
|row9={{{model9|}}}{{!!}}{{ #if: {{{image9|}}} |[[{{{image9|}}}|50px{{ #if: {{{alt9|}}} |||{{{alt9}}}}}]]}}{{!!}}{{ #if: {{{output9|}}} | {{{output9}}} dBc}}{{!!}}{{{drivers9|}}}
|- {{#if: {{{model10|}}} | | style="display: none;" }}
|row10={{{model10|}}}{{!!}}{{ #if: {{{image10|}}} |[[{{{image10|}}}|50px{{ #if: {{{alt10|}}} |||{{{alt10}}}}}]]}}{{!!}}{{ #if: {{{output10|}}} | {{{output10}}} dBc}}{{!!}}{{{drivers10|}}}
|row10={{{model10|}}}{{!!}}{{ #if: {{{image10|}}} |[[{{{image10|}}}|50px{{ #if: {{{alt10|}}} |||{{{alt10}}}}}]]}}{{!!}}{{ #if: {{{output10|}}} | {{{output10}}} dBc}}{{!!}}{{{drivers10|}}}
}}
}}

Revision as of 22:03, 14 December 2013

Model Image Output Drivers


[edit] [purge] File:Template-info.svg Template documentation

This template creates a table listing different siren models within a family.

Usage

{{Models table
|model1  =
|image1  =
|alt1    =
|output1 =     
|drivers1= 
|notes1  =
|model2  =
|image2  =
|alt2    =
|output2 =     
|drivers2=
|notes2  = 
...
|model10  =
|image10  =
|alt10    =
|output10 =     
|drivers10= 
|notes10  =
}}

All parameters are optional, although it doesn't make much sense to call this template without any.