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
Change background color to design-token. Replace hard-coded color with design-token.
 
(One intermediate revision by the same 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-color: var(--background-color-warning-subtle);
! colspan="2" class="infoboxdescriptionblue" |
 
|-
| title          =  
{{#if: {{{type|}}} | {{!}} <div>Type</div> {{!!}} {{#switch: {{lc:{{{type}}}}}
| above          = {{#if: {{{name|}}}
  | mykoserocin
                    | [[{{{name}}}]]
  | myko        = Mykoserocin
                    | {{Co|gray|Nebula name ?}}
  | cytoserocin
                  }}
  | cyto        = Cytoserocin
 
  | fullerene
|  label1  = Type
   | full        = Fullerene
|  data1  = {{#switch: {{lc: {{{type}}} }}
  | #default = <span style="color:red">Accepted values: Mykoserocin, Cytoserocin, Fullerene</span>
              | myko
  }}
              | mykoserocin = Mykoserocin
}}
              | cyto
|-
              | cytoserocin = Cytoserocin
{{#if: {{{subtype|}}} | {{!}} <div>Subtype</div> {{!!}} {{#switch: {{lc:{{{subtype}}}}}
              | full
  | amber = Amber
              | fullerene  = Fullerene
  | azure = Azure
              | #default = <span style="color: var(--color-error);">Accepted values:<br> Myko(serocin), Cyto(serocin), Full(erene)</span>
  | c28 = C28
            }}
  | c32 = C32
 
  | c320 = C320
| label2  = Subtype
  | c50 = C50
|   data2  = {{#switch: {{lc: {{{subtype}}}}}
  | c540 = C540
              | amber = Amber
  | c60 = C60
              | azure = Azure
  | c70 = C70
              | c28 = C28
  | c72 = C72
              | c32 = C32
  | c84 = C84
              | c320 = C320
  | celadon = Celadon
              | c50 = C50
  | golden = Golden
              | c540 = C540
  | lime = Lime
              | c60 = C60
  | malachite = Malachite
              | c70 = C70
  | vermillion = Vermillion
              | c72 = C72
  | viridian = Viridian
              | c84 = C84
  | #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>
              | celadon = Celadon
  }}
              | golden = Golden
}}
              | lime = Lime
|-
              | malachite = Malachite
{{#if: {{{location|}}} | {{!}} <div>Location</div> {{!!}} {{{location}}} }}
              | vermillion = Vermillion
|-
              | viridian = Viridian
{{#if: {{{units per cloud|}}} | {{!}} <div>Units per Cloud</div> {{!!}} {{{units per cloud}}} }}
              | #default = <span style="color: var(--color-error);">Accepted values:<br> Amber, Azure, Celadon, Golden, Lime, Malachite, Vermillion, Viridian, C28, C32, C320, C50, C540, C60, C70, C72, C84</span>
|-
            }}
{{#if: {{{sum of units|}}} | {{!}} <div>Sum of Units</div> {{!!}} {{{sum of units}}} }}
 
|-
| label3  = Location
{{#if: {{{cloud damage|}}} | {{!}} <div>Cloud Damage</div> {{!!}} {{{cloud damage}}} }}
|  data3  = {{{location|}}}
|-
 
{{#if: {{{is guarded|}}} | {{!}} <div>Guarded?</div> {{!!}} {{#switch: {{lc:{{{is guarded}}}}}
| label4  = Units per Cloud
  | yes = Yes
|  data4  = {{{units per cloud|}}}
  | no  = No
 
  | ?  = ?
| label5  = Sum of Units
  | #default = <span style="color:red">Accepted values: Yes, No, ?</span>
|  data5  = {{{sum of units|}}}
  }}
 
}}
| label6  = Cloud Damage
|-
|  data6  = {{{cloud damage|}}}
{{#if: {{{is deadspaced|}}} | {{!}} <div>Deadspaced?</div> {{!!}} {{#switch: {{lc:{{{is deadspaced}}}}}
 
  | yes = Yes
| label7  = Guarded ?
  | no  = No
|  data7  = {{#switch: {{lc: {{{is guarded}}} }}
  | ?  = ?
              | y
  | #default = <span style="color:red">Accepted values: Yes, No, ?</span>
              | yes = Yes
  }}
              | n
}}
              | no  = No
|}{{InfoboxCSS}}</includeonly><noinclude>
              | ?  = ?
              | #default = <span style="color: var(--color-error)">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: var(--color-error)">Accepted values:<br> Y(es), N(o), ?</span>
            }}
 
| below    = [[Gas cloud harvesting]]
 
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>