Difference between revisions of "Template:Infobox magnetosphere"

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(f)
imported>Zackmann08
(updating to use Template:infobox)
 
Line 1: Line 1:
<noinclude><!----
+
<includeonly>{{Infobox
 +
| bodyclass = vcard
 +
| title = Magnetosphere of {{{name|}}}
 +
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|220px}}}|alt={{{alt|}}}}}
 +
| caption    = {{{caption|}}}
 +
| headerstyle = background: {{{background|}}}
  
  Syntax meant to be aligned vertically:
+
| header1 = Discovery{{{discovery_ref|}}}
      virtually all brackets at starts/ends of #if:s
+
| label2 = Discovered by
      vertical-lines within #if/#switch/etc
+
| data2 = {{{discoverer|}}}
      <tr> and </tr>
+
| label3 = Discovery date
      most starts of <th>s and <td>s
+
| data3 = {{{discovered|}}}
      <table> and </table>
 
  
----></noinclude>{| class="infobox vcard" style="width:{{{width|20em}}}; text-align:left; font-size:90%;" cellspacing="2"
+
| header4 = Internal field{{{field_ref|}}}
<!---------------------------------- Header -------------------------------------->
+
| label5 = Radius of {{{name|}}}
|+ <span class="fn org" style="font-size:120%;">Magnetosphere of {{{name|<nowiki>{{{name}}}</nowiki>}}}</span><!--
+
| data5 = {{{Radius|}}}
-->{{#if:{{{image<includeonly>|</includeonly>}}}
+
| label6 = [[Magnetic moment]]
    |<tr><td colspan="2" style="line-height:1.2em; text-align:center;"><!--
+
| data6 = {{{Magnetic moment|}}}
        -->{{{image}}}<!--
+
| label7 = Equatorial [[field strength]]
        -->{{#if:{{{caption<includeonly>|</includeonly>}}}
+
| data7 = {{{Field strength|}}}
            |<div style="padding-top:0.25em;"><small>{{{caption}}}</small></div><!--
+
| label8 = [[Dipole]] tilt
        -->}}</td>
+
| data8 = {{{tilt|}}}
      </tr><!--
+
| label9 = Magnetic pole longitude
-->}}<!--
+
| data9 = {{{longitude|}}}
 +
| label10 = [[Rotation period]]
 +
| data10 = {{{Period|}}}
 +
| label11 = [[Spherical harmonics|Higher harmonics]]
 +
| data11 = {{{harmonics|}}}
  
----------------------------------- Discovery ------------------------------------
+
| header12 = [[Solar wind]] parameters{{{wind_ref|}}}
-->{{#if:{{{discoverer<includeonly>|</includeonly>}}}
+
| label13 = Speed
    |<tr><th colspan="2" style="padding-top:0.75em; text-align:center;"><div style="background:{{{background|{{{bgcolour|<noinclude>paleturquoise</noinclude>}}}}}}"><!--
+
| data13 = {{{Speed|}}}
      -->Discovery{{#if:{{{discovery_ref|}}}|{{{discovery_ref}}}|}}</div></td>
+
| label14 = [[Interplanetary magnetic field|IMF]] strength
      </tr><!--
+
| data14 = {{{IMF|}}}
-->}}<!--
+
| label15 = Density
 +
| data15 = {{{SDensity|}}}
  
-->{{#if:{{{discoverer<includeonly>|</includeonly>}}}
+
| header16 = Magnetospheric parameters{{{magnetosphere_ref|}}}
    |<tr><th style="line-height:1.1em;">Discovered by</th>
+
| label17 = Type
          <td style="line-height:1.2em;">{{{discoverer}}}</td>
+
| data17 = {{#ifeq:{{{type}}}|ind|Induced|Intrinsic}}
      </tr><!--
+
| label18 = [[Bow shock]] distance
-->}}<!--
+
| data18 = {{{Bow shock|}}}
-->{{#if:{{{discovered<includeonly>|</includeonly>}}}
+
| label19 = [[Magnetopause]] distance
    |<tr><th style="line-height:1.1em;">Discovery date</th>
+
| data19 = {{{Magnetopause|}}}
          <td style="line-height:1.2em;">{{{discovered}}}</td>
+
| label20 = Size
      </tr><!--
+
| data20 = {{{Size|}}}
--><!--
+
| label21 = [[Magnetotail]] length
  -->}}<!--
+
| data21 = {{{Magnetotail|}}}
 +
| label22 = Main [[ions]]
 +
| data22 = {{{Ions|}}}
 +
| label23 = Plasma sources
 +
| data23 = {{{Plasma source|}}}
 +
| label24 = Mass loading rate
 +
| data24 = {{{Loading rate|}}}
 +
| label25 = Maximum plasma density
 +
| data25 = {{{Plasma density|}}}
 +
| label26 = Maximum particle energy
 +
| data26 = {{{Particle energy|}}}
  
------------------------------------- Internal field ------------------------------------
+
| header27 = [[Aurora]]{{{aurora_ref|}}}
-->{{#if:{{{Magnetic moment<includeonly>|</includeonly>}}}{{{Field strength|}}}
+
| label28 = Spectrum
|<tr><th colspan="2" style="text-align:center; padding-top:0.75em;"><div style="background:{{{background|{{{bgcolour|<noinclude>paleturquoise</noinclude>}}}}}}">[[Dipole|Internal field]]{{#if:{{{field_ref|}}}|{{{field_ref}}}}}</div></td>
+
| data28 = {{{Spectrum|}}}
      </tr><!--
+
| label29 = Total power
  -->{{#if:{{{Radius<includeonly>|</includeonly>}}}
+
| data29 = {{{Power|}}}
    |<tr><th style="line-height:1.1em;">Radius of {{{name<includeonly>|</includeonly>}}}</th>
+
| label30 = Radio emission frequencies
          <td style="line-height:1.2em;">{{{Radius}}}</td>
+
| data30 = {{{Radio emissions|}}}
      </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Magnetic moment<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.1em;">[[Magnetic moment]]</th>
 
          <td style="line-height:1.2em;">{{{Magnetic moment}}}</td>
 
      </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Field strength<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.1em;">Equatorial [[field strength]]</th>
 
          <td style="line-height:1.2em;">{{{Field strength}}}</td>
 
      </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{tilt<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.1em;">[[Dipole]] tilt</th>
 
          <td style="line-height:1.2em;">{{{tilt}}}</td>
 
      </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{longitude<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.1em;">Magnetic pole [[longitude]]</th>
 
          <td style="line-height:1.2em;">{{{longitude}}}</td>
 
      </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Period<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.1em;">[[Rotation period]]</th>
 
          <td style="line-height:1.2em;">{{{Period}}}</td>
 
      </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{harmonics<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.1em;">[[Spherical harmonics|Higher harmonics]]</th>
 
          <td style="line-height:1.2em;">{{{harmonics}}}</td>
 
      </tr><!--
 
  -->}}<!--
 
-->}}<!--
 
  
------------------------------------- Solar wind ------------------------------------
+
}}</includeonly><noinclude>{{documentation}}</noinclude>
-->{{#if:{{{Speed<includeonly>|</includeonly>}}}{{{IMF|}}}{{{SDensity|}}}
 
|<tr><th colspan="2" style="text-align:center; padding-top:0.75em;"><div style="background:{{{background|{{{bgcolour|<noinclude>paleturquoise</noinclude>}}}}}}">[[Solar wind]] parameters{{#if:{{{wind_ref|}}}|{{{wind_ref}}}}}</div></td>
 
      </tr><!--
 
  -->{{#if:{{{Speed<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.1em;">Speed</th>
 
          <td style="line-height:1.2em;">{{{Speed}}}</td>
 
      </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{IMF<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.1em;">[[Interplanetary magnetic field|IMF]] strength</th>
 
          <td style="line-height:1.2em;">{{{IMF}}}</td>
 
      </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{SDensity<includeonly>|</includeonly>}}}
 
    |<tr><th style="line-height:1.1em;">[[Density]]</th>
 
          <td style="line-height:1.2em;">{{{SDensity}}}</td>
 
      </tr><!--
 
  -->}}<!--
 
-->}}<!--
 
 
 
---------------------------- Magnetosphere ----------------------------
 
-->{{#if:{{{Bow shock<includeonly>|</includeonly>}}}{{{Magnetopause|}}}<!--
 
      -->{{{Size|}}}{{{Magnetotail|}}}{{{Ions|}}}<!--
 
      -->{{{Plasma source|}}}{{{Loading rate|}}}
 
    |<tr><th colspan="2" style="text-align:center; padding-top:0.75em;"><div style="background:{{{background|{{{bgcolour|<noinclude>paleturquoise</noinclude>}}}}}}">Magnetospheric parameters{{#if:{{{magnetosphere_ref|}}}|{{{magnetosphere_ref}}}}}</div></td>
 
      </tr><!--
 
  -->{{#if:{{{Type<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">Type</th>
 
            <td style="line-height:1.2em;">{{#ifeq:{{{type}}}|ind|Induced|Intrinsic}}</td>
 
        </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Bow shock<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">[[Bow shock]] distance</th>
 
            <td style="line-height:1.2em;">{{{Bow shock}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Magnetopause<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">[[Magnetopause]] distance</th>
 
            <td style="line-height:1.2em;">{{{Magnetopause}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Size<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">Size</th>
 
            <td style="line-height:1.2em;">{{{Size}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Magnetotail<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">[[Magnetotail]] length</th>
 
            <td style="line-height:1.2em;">{{{Magnetotail}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Ions<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">Main [[ions]]</th>
 
          <td style="line-height:1.2em;">{{{Ions}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Plasma source<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">Plasma sources</th>
 
            <td style="line-height:1.2em;">{{{Plasma source}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Loading rate<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">Mass loading rate</th>
 
            <td style="line-height:1.2em;">{{{Loading rate}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Plasma density<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">Maximum plasma density</th>
 
            <td style="line-height:1.2em;">{{{Plasma density}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Particle energy<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">Maximum particle energy</th>
 
            <td style="line-height:1.2em;">{{{Particle energy}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
-->}}<!--
 
 
 
----------------------------------- Aurora -----------------------------------
 
-->{{#if:{{{Aurora<includeonly>|</includeonly>}}}
 
    |<tr><th colspan="2" style="text-align:center; padding-top:0.75em;"><div style="background:{{{background|{{{bgcolour|<noinclude>paleturquoise</noinclude>}}}}}}"><!--
 
        -->[[Aurora (astronomy)|Aurora]]{{#if:{{{aurora_ref|}}}|{{{aurora_ref}}}|}}</div></td>
 
      </tr><!--
 
 
 
  -->{{#if:{{{Spectrum<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">[[Spectrum]]</th>
 
            <td style="line-height:1.2em;">{{{Spectrum}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Power<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">Total [[Electric power|power]]</th>
 
            <td style="line-height:1.2em;">{{{Power}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
  -->{{#if:{{{Radio emissions<includeonly>|</includeonly>}}}
 
        |<tr><th style="line-height:1.1em;">Radio emission frequencies</th>
 
            <td style="line-height:1.2em;">{{{Radio emissions}}}</td>
 
        </tr><!--
 
  -->}}<!--
 
-->}}
 
|}<!--
 
--><noinclude>
 
{{documentation}}
 
<!----Please add interwikis to the /doc subpage, not here - thanks!---->
 
</noinclude>
 

Latest revision as of 20:18, 30 December 2016

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

Template:Parameter names example

Usage

This template should be used to present information on both intrinsic and induced planetary magnetospheres belonging to both Solar System and extrasolar planets. For the parameters see example template on the right.

{{Infobox magnetosphere
| name  =  
| image  =  
| image_size  =  
| alt  =  
| caption  =  
| background  =  
| discovery_ref  =  
| discoverer  =  
| discovered  =  
| field_ref  =  
| Radius  =  
| Magnetic moment  =  
| Field strength  =  
| tilt  =  
| longitude  =  
| Period  =  
| harmonics  =  
| wind_ref  =  
| Speed  =  
| IMF  =  
| SDensity  =  
| magnetosphere_ref  =  
| type  =  
| Bow shock  =  
| Magnetopause  =  
| Size  =  
| Magnetotail  =  
| Ions  =  
| Plasma source  =  
| Loading rate  =  
| Plasma density  =  
| Particle energy  =  
| aurora_ref  =  
| Spectrum  =  
| Power  =  
| Radio emissions  =  
}}

See also