Difference between revisions of "Template:ItemSpecs"
From Stars!wiki
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{if:{{{name|}}}| | + | {{#if:{{{name|}}}| |
*{{{name}}} | *{{{name}}} | ||
− | **''Costs:'' Iron:{{if:{{{iron|}}}|{{{iron}}}|0}} Boronium:{{if:{{{bor|}}}|{{{bor}}}|0}} Germanium:{{if:{{{germ|}}}|{{{germ}}}|0}} Resources:{{if:{{{res|}}}|{{{res}}}|undefined}} | + | **'''Costs:''' Iron:{{#if:{{{iron|}}}|{{{iron}}}|0}} Boronium:{{#if:{{{bor|}}}|{{{bor}}}|0}} Germanium:{{#if:{{{germ|}}}|{{{germ}}}|0}} Resources:{{#if:{{{res|}}}|{{{res}}}|undefined}} |
− | **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.}} |
− | + | **Mass:{{#if:{{{mass|}}}|{{{mass}}}|undefined}}{{#if:{{{desc|}}}| | |
− | + | :{{{desc}}}|}} | |
− | + | |Item not defined. | |
− | + | ||
− | + | Required parameter: | |
− | + | *name=''Itemname'' | |
− | ** | + | Other available parameters: |
− | |Item not defined.}} | + | *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.}} | ||
+ | }} |
Latest revision as of 03:38, 15 February 2008
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:
{{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.}}
Produces:
- Tritanium
- Costs: Iron:5 Boronium:0 Germanium:0 Resources:10
- Tech requirements: Weapons: 4Propulsion: 7
- Mass:60
- Not the acutal description of trianium armour, but instead an emaple so you can see how the template works.