Difference between revisions of "Template:ItemSpecs"
From Stars!wiki
Line 4: | Line 4: | ||
**'''Tech requirements:''' {{if:{{{en|}}}{{{we|}}}{{{pr|}}}{{{co|}}}{{{el|}}}{{{bi|}}}|{{if:{{{en|}}}| | **'''Tech requirements:''' {{if:{{{en|}}}{{{we|}}}{{{pr|}}}{{{co|}}}{{{el|}}}{{{bi|}}}|{{if:{{{en|}}}| | ||
**: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}} | + | **Mass:{{if:{{{mass|}}}|{{{mass}}}|undefined}}{{if:{{{desc|}}}| |
− | |Item not defined.}} | + | *:{{{desc}}}|}} |
+ | |Item not defined. | ||
+ | |||
+ | Required parameter: | ||
+ | *name=''Itemname'' | ||
+ | Other available parameters: | ||
+ | *iron=''iron cost'' | ||
+ | *bor=''boronium cost'' | ||
+ | *germ=''germanium cost'' | ||
+ | *res=''resource cost'' | ||
+ | *en=''energy tech level required'' | ||
+ | *we=''weapons tech level required'' | ||
+ | *pr=''propulsion tech level required'' | ||
+ | *co=''construction tech level required'' | ||
+ | *el=''electornics tech level required'' | ||
+ | *bi=''biotechnology lech level required'' | ||
+ | *mass=''items mass'' | ||
+ | *desc=''item description'' | ||
+ | Example: | ||
+ | <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: | ||
+ | {{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."}} | ||
+ | }} |