Difference between revisions of "Template:ItemSpecs"

From Stars!wiki
Jump to: navigation, search
m
Line 5: Line 5:
 
**:Energy: {{{en}}}|}}{{if:{{{we|}}}| Weapons: {{{we}}}|}}{{if:{{{pr|}}}| Propulsion: {{{pr}}}|}}{{if:{{{co|}}}| Construction: {{{co}}}|}}{{if:{{{el|}}}| Electronics: {{{el}}}|}}{{if:{{{bi|}}}| Biotechnology: {{{bi}}}|}}| None.}}
 
**:Energy: {{{en}}}|}}{{if:{{{we|}}}| Weapons: {{{we}}}|}}{{if:{{{pr|}}}| Propulsion: {{{pr}}}|}}{{if:{{{co|}}}| Construction: {{{co}}}|}}{{if:{{{el|}}}| Electronics: {{{el}}}|}}{{if:{{{bi|}}}| Biotechnology: {{{bi}}}|}}| None.}}
 
**Mass:{{if:{{{mass|}}}|{{{mass}}}|undefined}}{{if:{{{desc|}}}|
 
**Mass:{{if:{{{mass|}}}|{{{mass}}}|undefined}}{{if:{{{desc|}}}|
*:{{{desc}}}|}}
+
:{{{desc}}}|}}
 
|Item not defined.
 
|Item not defined.
  
Line 26: Line 26:
 
<pre> {{ItemSpecs|name=Tritanium|iron=5|mass=60|res=10|we=4|pr=7|desc=Not the acutal description of trianium armour, but instead an emaple so you can see how the template works.}} </pre>
 
<pre> {{ItemSpecs|name=Tritanium|iron=5|mass=60|res=10|we=4|pr=7|desc=Not the acutal description of trianium armour, but instead an emaple so you can see how the template works.}} </pre>
 
Produces:
 
Produces:
{{ItemSpecs|name=Tritanium|iron=5|mass=60|res=10|we=4|pr=7|desc="Not the acutal description of trianium armour, but instead an emaple so you can see how the template works."}}
+
{{ItemSpecs|name=Tritanium|iron=5|mass=60|res=10|we=4|pr=7|desc=Not the acutal description of trianium armour, but instead an emaple so you can see how the template works.}}
 
}}
 
}}

Revision as of 03:09, 23 November 2006

Template:If: