Difference between revisions of "Template:Chem"

From Paradise Station Wiki
Jump to navigation Jump to search
(major styling fix, layout change, removed table-within-table code, switched colours for headers, added middle-row different colouring)
Line 1: Line 1:
{| style="border:1px solid #FFDD66" cellpadding="0" cellspacing="0" width=560
{| style="border: 1px solid #FFDD66; margin: 1em 0em;" cellspacing="0" cellpadding=4 width="800"
|
| style="background-color: #FFDD66;" align="center" colspan="2" | '''{{{chemical|Chemical}}}'''
{|width = "100%" cellspacing="0" cellpadding="2" width=560
|align=center width="120" style="background-color:#FFEE88"|'''{{{chemical|Chemical}}}'''
|'''Formula: '''{{{formula|Not defined}}}
|}
{|width = "100%" cellspacing="0" cellpadding="2" width=560
| style="background-color:#FFDD66" |'''Effects:'''
|-
|-
|{{{effects|Not defined.}}}
| style="background-color: #FFEE88;" width="120" | '''Formula'''
{|width = "100%" cellspacing="0" cellpadding="2" width=560
| {{{formula|Undefined.}}}
| style="background-color:#FFDD66" |'''Overdose:'''
|- style="background-color: #F7F7F7;"
| style="background-color: #FFEE88;" | '''Effects'''
| {{{effects|Undefined.}}}
|-
|-
|{{{overdose|Not defined.}}}
| style="background-color: #FFEE88;" | '''Overdose'''
|}
| {{{overdose|Undefined.}}}
|}
|}<noinclude>
|}<noinclude>
== How to use this template: ==
== How to use this template: ==
Line 25: Line 20:
<code>
<code>
  <nowiki>{{Chem</nowiki>
  <nowiki>{{Chem</nowiki>
  <nowiki>|chemical = Dexalin</nowiki>
  <nowiki>| chemical = Dexalin</nowiki>
  <nowiki>|formula = 1 part Oxygen, 1 part Plasma</nowiki>
  <nowiki>| formula = 1 part Oxygen, 1 part Plasma</nowiki>
  <nowiki>|effects = Used in treating oxygen Deprivation.</nowiki>
  <nowiki>| effects = Used in treating oxygen deprivation.</nowiki>
  <nowiki>|overdose = 30 units</nowiki>
  <nowiki>| overdose = 30 units</nowiki>
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>
</code>
</code>
Line 35: Line 30:


{{Chem
{{Chem
|chemical = Dexalin
| chemical = Dexalin
|formula = 2 parts Oxygen, 5 units Plasma Catalyst
| formula = 2 parts Oxygen, 5 units Plasma Catalyst
|effects = Used in treating oxygen Deprivation.
| effects = Used in treating oxygen deprivation.
|overdose = 30 units
| overdose = 30 units
}}
}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 05:52, 14 November 2014

Chemical
Formula Undefined.
Effects Undefined.
Overdose Undefined.

How to use this template:

{{Chem}}

yields

Chemical
Formula Undefined.
Effects Undefined.
Overdose Undefined.

{{Chem
| chemical = Dexalin
| formula = 1 part Oxygen, 1 part Plasma
| effects = Used in treating oxygen deprivation.
| overdose = 30 units
}}

yields

Dexalin
Formula 2 parts Oxygen, 5 units Plasma Catalyst
Effects Used in treating oxygen deprivation.
Overdose 30 units