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
(Attempting to make rows optional)
(Trying something else)
Line 1: Line 1:
{{Table
{{Table
|hdrs=Model!!Image!!Output!!Drivers
|hdrs=Model!!Image!!Output!!Drivers
|- {{#if: {{{model1|}}} | | style="display: none;" }}
|row1={{#if: {{{model1|}}} | | style="display: none;" }}{{{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;" }}
|- {{#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|}}}
Line 16: Line 15:
|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;" }}
|- {{#if: {{{model8|}}} | | style="display: none;" }}
|row8={{{model8|}}}{{!!}}{{ #if: {{{image8|}}} |[[{{{image8|}}}|50px{{ #if: {{{alt8|}}} |||{{{alt8}}}}}]]}}{{!!}}{{ #if: {{{output8|}}} | {{{output8}}} dBc}}{{!!}}{{{drivers8|}}}
|row8={{#if: {{{model8|}}} | | style="display: none;" }}{{{model8|}}}{{!!}}{{ #if: {{{image8|}}} |[[{{{image8|}}}|50px{{ #if: {{{alt8|}}} |||{{{alt8}}}}}]]}}{{!!}}{{ #if: {{{output8|}}} | {{{output8}}} dBc}}{{!!}}{{{drivers8|}}}
|- {{#if: {{{model9|}}} | | style="display: none;" }}
|- {{#if: {{{model9|}}} | | style="display: none;" }}
|row9={{{model9|}}}{{!!}}{{ #if: {{{image9|}}} |[[{{{image9|}}}|50px{{ #if: {{{alt9|}}} |||{{{alt9}}}}}]]}}{{!!}}{{ #if: {{{output9|}}} | {{{output9}}} dBc}}{{!!}}{{{drivers9|}}}
|row9={{#if: {{{model9|}}} | | style="display: none;" }}{{{model9|}}}{{!!}}{{ #if: {{{image9|}}} |[[{{{image9|}}}|50px{{ #if: {{{alt9|}}} |||{{{alt9}}}}}]]}}{{!!}}{{ #if: {{{output9|}}} | {{{output9}}} dBc}}{{!!}}{{{drivers9|}}}
|- {{#if: {{{model10|}}} | | style="display: none;" }}
|- {{#if: {{{model10|}}} | | style="display: none;" }}
|row10={{{model10|}}}{{!!}}{{ #if: {{{image10|}}} |[[{{{image10|}}}|50px{{ #if: {{{alt10|}}} |||{{{alt10}}}}}]]}}{{!!}}{{ #if: {{{output10|}}} | {{{output10}}} dBc}}{{!!}}{{{drivers10|}}}
|row10={{#if: {{{model10|}}} | | style="display: none;" }}{{{model10|}}}{{!!}}{{ #if: {{{image10|}}} |[[{{{image10|}}}|50px{{ #if: {{{alt10|}}} |||{{{alt10}}}}}]]}}{{!!}}{{ #if: {{{output10|}}} | {{{output10}}} dBc}}{{!!}}{{{drivers10|}}}
}}
}}



Revision as of 22:07, 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.