Difference between revisions of "Template:Infobox radar"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
(convert to infobox)
Line 1: Line 1:
<noinclude>{| style="width:100%; background:transparent;"
+
{{Infobox
|- style="vertical-align:top;"
+
| title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| <!----------Lefthand side: documentation---------->
+
 
 +
| image  = {{#if:{{{image|}}}|[[File:{{{image}}}|250x300px|]]}}
 +
| caption = {{{caption|}}}
 +
 
 +
| label1 = Country of&nbsp;origin
 +
| data1  = {{{country|}}}
 +
 
 +
| label2 = Introduced
 +
| data2  = {{{introdate|}}}
 +
 
 +
| label3 = Number built
 +
| data3  = {{{number|}}}
 +
 
 +
| label4 = Type
 +
| data4  = {{{type|}}}
 +
 
 +
| label5 = Frequency
 +
| data5  = {{{frequency|}}}
 +
 
 +
| label6 = [[Pulse Repetition Frequency|PRF]]
 +
| data6  = {{{PRF|}}}
 +
 
 +
| label7 = [[Beamwidth]]
 +
| data7  = {{{beamwidth|}}}
 +
 
 +
| label8 = Pulsewidth
 +
| data8  = {{{pulsewidth|}}}
 +
 
 +
| label9 = RPM
 +
| data9  = {{{RPM|}}}
 +
 
 +
| label10 = Range
 +
| data10  = {{{range|}}}
 +
 
 +
| label11 = Altitude
 +
| data11  = {{{altitude|}}}
 +
 
 +
| label12 = Diameter
 +
| data12  = {{{diameter|}}}
 +
 
 +
| label13 = [[Azimuth]]
 +
| data13  = {{{azimuth|}}}
 +
 
 +
| label14 = Elevation
 +
| data14  = {{{elevation|}}}
 +
 
 +
| label15 = Precision
 +
| data15  = {{{precision|}}}
 +
 
 +
| label16 = Power
 +
| data16  = {{{power|}}}
 +
 
 +
| label17 = Other Names
 +
| data17  = {{{other names|}}}
 +
 
 +
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
| <!------------Righthand side: template------------>
 
</noinclude>{| class="infobox" style="clear:right; float:right; width:24em; margin:0 0 1em 1em; text-align:left; font-size:90%;" cellspacing="0" cellpadding="3"
 
|+ style="padding-bottom:0.25em; font-size:larger;"| '''{{{name<includeonly>|{{PAGENAME}}</includeonly>}}}'''<!--
 
-->{{#if:{{{image<includeonly>|</includeonly>}}}
 
    |<tr><td colspan="2" style="line-height:1.2em; text-align:center;"><!--
 
          -->[[Image:{{{image}}}|250x300px|]]<!--
 
          --><div style="padding-top:0.25em;">{{{caption<includeonly>|</includeonly>}}}<!--
 
          --></div></td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{country<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Country of&nbsp;origin</th>
 
          <td style="line-height:1.2em; vertical-align:middle;">{{{country}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{introdate<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Introduced</th>
 
          <td style="line-height:1.2em;">{{{introdate}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{number<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Number built</th>
 
          <td style="line-height:1.2em; vertical-align:middle;">{{{number}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{type<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Type</th>
 
          <td style="line-height:1.2em;">{{{type}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{frequency<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Frequency</th>
 
          <td style="line-height:1.2em;">{{{frequency}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{PRF<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">[[Pulse Repetition Frequency|PRF]]</th>
 
          <td style="line-height:1.2em;">{{{PRF}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{beamwidth<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">[[Beamwidth]]</th>
 
          <td style="line-height:1.2em;">{{{beamwidth}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{pulsewidth<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Pulsewidth</th>
 
          <td style="line-height:1.2em;">{{{pulsewidth}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{RPM<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">RPM</th>
 
          <td style="line-height:1.2em;">{{{RPM}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{range<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Range</th>
 
          <td style="line-height:1.2em;">{{{range}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{altitude<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Altitude</th>
 
          <td style="line-height:1.2em;">{{{altitude}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{diameter<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Diameter</th>
 
          <td style="line-height:1.2em;">{{{diameter}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{azimuth<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">[[Azimuth]]</th>
 
          <td style="line-height:1.2em;">{{{azimuth}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{elevation<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Elevation</th>
 
          <td style="line-height:1.2em;">{{{elevation}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{precision<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Precision</th>
 
          <td style="line-height:1.2em;">{{{precision}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{power<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Power</th>
 
          <td style="line-height:1.2em;">{{{power}}}</td><!--
 
  --></tr><!--
 
-->}}<!--
 
-->{{#if:{{{other names<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.2em;">Other Names</th>
 
          <td style="line-height:1.2em;">{{{other names}}}</td><!--
 
  --></tr><!--
 
-->}}
 
|}<noinclude>
 
|}
 
 
 
<!----Please add interwikis to the /doc page, not here - thanks!---->
 
<!----Please add interwikis to the /doc page, not here - thanks!---->
 
</noinclude>
 
</noinclude>

Revision as of 19:21, 9 May 2012

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

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

Usage

{{{name}}}
[[File:{{{image}}}|250x300px|]]
{{{caption}}}
Country of origin{{{country}}}
Introduced{{{introdate}}}
Number built{{{number}}}
Type{{{type}}}
Frequency{{{frequency}}}
PRF{{{PRF}}}
Beamwidth{{{beamwidth}}}
Pulsewidth{{{pulsewidth}}}
RPM{{{RPM}}}
Range{{{range}}}
Altitude{{{altitude}}}
Diameter{{{diameter}}}
Azimuth{{{azimuth}}}
Elevation{{{elevation}}}
Precision{{{precision}}}
Power{{{power}}}
Other Names{{{other names}}}
[[Category:Infobox templates|Template:Remove first word]]

Copy and paste the template below.

{{Infobox radar
| name        = 
| image       = <!--without [[File:...]] syntax-->
| caption     = 
| country     = 
| designer    = 
| manufacturer = 
| introdate   = <!--{{Start date|YYYY|MM|DD}}-->
| number      = 
| type        = 
| frequency   = <!--<frequency> band-->
| PRF         = <!--pulse repetition frequency-->
| beamwidth   = <!--X° (horizontal), X° (vertical)-->
| pulsewidth  = <!--pulse width-->
| RPM         = <!--revolutions per minute-->
| range       = <!--{{convert|X|mi|abbr=on}}-->
| altitude    = <!--{{convert|X|m|ft|abbr=on}}-->
| diameter    = <!--{{convert|X|m|ft|abbr=on}}-->
| height      = <!--{{convert|X|m|ft|abbr=on}}-->
| width       = <!--{{convert|X|m|ft|abbr=on}}-->
| azimuth     = <!--X-Yº-->
| elevation   = <!--X-Yº-->
| precision   = <!--{{convert|X|m|ft|abbr=on}}-->
| power       = 
| other names = 
| related     =
}}

Microformat

Template:UF-hcal