Difference between revisions of "Template:Infobox gas nebula"

From EVE University Wiki
Jump to: navigation, search
(Created an Infobox to Gas Nabulaes)
 
(Rewrite to use meta template {{Infobox}} as by project "Cleanup Infobox Templates")
 
(One intermediate revision by one other user not shown)
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>

Latest revision as of 13:24, 31 May 2022

Nebula name ?
Type Accepted values:
Myko(serocin), Cyto(serocin), Full(erene)
Subtype Accepted values:
Amber, Azure, Celadon, Golden, Lime, Malachite, Vermillion, Viridian, C28, C32, C320, C50, C540, C60, C70, C72, C84
Guarded ? Accepted values:
Y(es), N(o), ?
Deadspaced ? Accepted values:
Y(es), N(o), ?
Gas cloud harvesting
Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create an Infobox for Gas cloud harvesting Gas Nebulae.
Dependencies
Uses
{{Infobox}}
Syntax
{{Infobox gas nebula
| name            = 
| type            = 
| subtype         = 
| location        = 
| units per cloud = 
| sum of units    = 
| cloud damage    = 
| is guarded      = 
| is deadspaced   = 
}}
Parameters
name
The name of the Gas Nebula.
type
The type of gas found in the nebula. One of: Myko, Mykoserocin, Cyto, Cytoserocin, Full or Fullerene.
subtype
The sub-type of the gas found in the nebula. One of:Amber, Azure, Celadon, Golden, Lime, Malachite, Vermillion, Viridian, C28, C32, C320, C50, C540, C60, C70, C72 or C84.
location
Region, Constellation, Security Rating or System where the Nebula appears.
units per cloud
How many units of Gas does each Gas Cloud within the Nebula hold. Sort values in ascending order.
sum of units
Sum of all units of Gas within the Nebula.
cloud damage
How much damage and of what type does the Gas Cloud do when it explodes.
is guarded
Is the Nebula guarded?
is deadspaced
Is the Nebula deadspaced?
Sample
Diablo Nebula
Type Mykoserocin
Subtype Amber
Location

Logo faction caldari state clean.pngBlack Rise
Icon corporation.pngMalpais
Icon corporation.pngOasa
Icon corporation.pngPerrigen Falls
Logo faction caldari state clean.pngThe Forge
Icon corporation.pngThe Kalevala Expanse

Icon corporation.pngVale of the Silent
Units per Cloud 1000, 1000, 1000
Sum of Units 3000
Guarded ? ?
Deadspaced ? ?
Gas cloud harvesting
{{Infobox gas nebula
| name            = Diablo Nebula
| type            = Mykoserocin
| subtype         = Amber
| location        = [[File:Logo faction caldari state clean.png|24px|link=]]Black Rise<br>
[[File:Icon corporation.png|24px|link=]]Malpais<br>
[[File:Icon corporation.png|24px|link=]]Oasa<br>
[[File:Icon corporation.png|24px|link=]]Perrigen Falls<br>
[[File:Logo faction caldari state.png|24px|link=]]The Forge<br>
[[File:Icon corporation.png|24px|link=]]The Kalevala Expanse<br>
[[File:Icon corporation.png|24px|link=]]Vale of the Silent
| units per cloud = 1000, 1000, 1000
| sum of units    = 3000
| is guarded      = ?
| is deadspaced   = ?
}}
gives ...
Bandit Nebula
Type Cytoserocin
Subtype Amber
Location Low Security Systems in The Forge Region
Units per Cloud 200, 300
Sum of Units 500
Cloud Damage None
Guarded ? No
Deadspaced ? ?
Gas cloud harvesting
{{Infobox gas nebula
| name            = Bandit Nebula
| type            = Cytoserocin
| subtype         = Amber
| location        = Low Security Systems in The Forge Region
| units per cloud = 200, 300
| sum of units    = 500
| cloud damage    = None
| is guarded      = No
| is deadspaced   = ?
}}
gives ...
Visit Template:Infobox gas nebula/doc to edit this text! (How does this work?) (Refresh this text - why?)