Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox gas nebula: Difference between revisions

Template page
Arin Mara (talk | contribs)
m Arin Mara moved page Template:Infobox gas nabula to Template:Infobox gas nebula: Spelling error correction: nabula to nebula
Rewrite to use meta template {{Infobox}} as by project "Cleanup Infobox Templates"
Line 1: Line 1:
<includeonly>{| class="infoboxtable"
{{Infobox
|-
| name          = <!-- left empty, to NOT have edit links at the bottom of the box.-->
! colspan="2" class="infoboxnameblue" | [[{{{name}}}]]
 
|-
| abovestyle    = background: #cfe2f3;
! colspan="2" class="infoboxdescriptionblue" |
    background-image: -moz-linear-gradient(center top, #172489 0%, #3d85c6 100%);
|-
    background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#cfe2f3), color-stop(100%,#3d85c6));
{{#if: {{{type|}}} | {{!}} <div>Type</div> {{!!}} {{#switch: {{lc:{{{type}}}}}
    background-image: -webkit-linear-gradient(top, #172489 0%, #3d85c6 100%);
  | mykoserocin
    background-image: -o-linear-gradient(top, #172489 0%, #3d85c6 100%);
  | myko        = Mykoserocin
    background-image: -ms-linear-gradient(top, #172489 0%, #3d85c6 100%);
  | cytoserocin
    background-image: linear-gradient(to bottom, #172489 0%, #3d85c6 100%);
  | cyto        = Cytoserocin
 
  | fullerene
| title          =  
   | full        = Fullerene
| above          = {{#if: {{{name|}}}
  | #default = <span style="color:red">Accepted values: Mykoserocin, Cytoserocin, Fullerene</span>
                    | [[{{{name}}}]]
  }}
                    | {{Co|gray|Nebula name ?}}
}}
                  }}
|-
 
{{#if: {{{subtype|}}} | {{!}} <div>Subtype</div> {{!!}} {{#switch: {{lc:{{{subtype}}}}}
|  label1  = Type
  | amber = Amber
|  data1  = {{#switch: {{lc: {{{type}}} }}
  | azure = Azure
              | myko
  | c28 = C28
              | mykoserocin = Mykoserocin
  | c32 = C32
              | cyto
  | c320 = C320
              | cytoserocin = Cytoserocin
  | c50 = C50
              | full
  | c540 = C540
              | fullerene  = Fullerene
  | c60 = C60
              | #default = <span style="color: red;">Accepted values:<br> Myko(serocin), Cyto(serocin), Full(erene)</span>
  | c70 = C70
            }}
  | c72 = C72
 
  | c84 = C84
| label2  = Subtype
  | celadon = Celadon
|   data2  = {{#switch: {{lc: {{{subtype}}}}}
  | golden = Golden
              | amber = Amber
  | lime = Lime
              | azure = Azure
  | malachite = Malachite
              | c28 = C28
  | vermillion = Vermillion
              | c32 = C32
  | viridian = Viridian
              | c320 = C320
  | #default = <span style="color:red">Accepted values: Amber, Azure, Celadon, Golden, Lime, Malachite, Vermillion, Viridian, C28, C32, C320, C50, C540, C60, C70, C72, C84</span>
              | c50 = C50
  }}
              | c540 = C540
}}
              | c60 = C60
|-
              | c70 = C70
{{#if: {{{location|}}} | {{!}} <div>Location</div> {{!!}} {{{location}}} }}
              | c72 = C72
|-
              | c84 = C84
{{#if: {{{units per cloud|}}} | {{!}} <div>Units per Cloud</div> {{!!}} {{{units per cloud}}} }}
              | celadon = Celadon
|-
              | golden = Golden
{{#if: {{{sum of units|}}} | {{!}} <div>Sum of Units</div> {{!!}} {{{sum of units}}} }}
              | lime = Lime
|-
              | malachite = Malachite
{{#if: {{{cloud damage|}}} | {{!}} <div>Cloud Damage</div> {{!!}} {{{cloud damage}}} }}
              | vermillion = Vermillion
|-
              | viridian = Viridian
{{#if: {{{is guarded|}}} | {{!}} <div>Guarded?</div> {{!!}} {{#switch: {{lc:{{{is guarded}}}}}
              | #default = <span style="color: red;">Accepted values:<br> Amber, Azure, Celadon, Golden, Lime, Malachite, Vermillion, Viridian, C28, C32, C320, C50, C540, C60, C70, C72, C84</span>
  | yes = Yes
            }}
  | no  = No
 
  | ?  = ?
| label3  = Location
  | #default = <span style="color:red">Accepted values: Yes, No, ?</span>
|  data3  = {{{location|}}}
  }}
 
}}
| label4  = Units per Cloud
|-
|  data4  = {{{units per cloud|}}}
{{#if: {{{is deadspaced|}}} | {{!}} <div>Deadspaced?</div> {{!!}} {{#switch: {{lc:{{{is deadspaced}}}}}
 
  | yes = Yes
| label5  = Sum of Units
  | no  = No
|  data5  = {{{sum of units|}}}
  | ?  = ?
 
  | #default = <span style="color:red">Accepted values: Yes, No, ?</span>
| label6  = Cloud Damage
  }}
|  data6  = {{{cloud damage|}}}
}}
 
|}{{InfoboxCSS}}</includeonly><noinclude>
| label7  = Guarded ?
|  data7  = {{#switch: {{lc: {{{is guarded}}} }}
              | y
              | yes = Yes
              | n
              | no  = No
              | ?  = ?
              | #default = <span style="color:red">Accepted values:<br> Y(es), N(o), ?</span>
            }}
 
| label8  = Deadspaced ?
|   data8  = {{#switch: {{lc: {{{is deadspaced}}} }}
              | y
              | yes = Yes
              | n
              | no  = No
              | ?  = ?
              | #default = <span style="color:red">Accepted values:<br> Y(es), N(o), ?</span>
            }}
 
| below    = [[Gas cloud harvesting]]
 
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>