Template:Shipbox/doc: Difference between revisions
Siege Heart (talk | contribs) Created page with "{{documentation}} This template allows you to display information for a particular ship class in an easy to read table. ===Syntax=== <pre>{{Cargo|<Cargo Size>}}</pre> ===Usa..." |
Oscillator (talk | contribs) mNo edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
===Syntax=== | ===Syntax=== | ||
<pre>{{ | <pre>{{Shipbox | ||
|TR= Value | |||
|Armor= Value | |||
|Attack= Value | |||
|Damage= Value | |||
|DamageReflection= Value% | |||
|ShieldRecharge= Value / turn | |||
|BS= Value | |||
|CriticalChance= Value% | |||
|CSS= Value/Value | |||
|ShieldBoost= Value% | |||
|EvasionRating= Value | |||
|DamageReduction= Value% | |||
|Defense= Value | |||
|HackRating= Value% | |||
|HR= Value | |||
|Intel= Value% | |||
|Salvage= Value% | |||
|SensorScan= Value | |||
|Shields= Value | |||
|Threat= +Value% | |||
}} | |||
</pre> | |||
===Usage=== | ===Usage=== | ||
''' | '''Ship Information Box''': | ||
<pre>{{ | <pre>{{Shipbox | ||
|TR= 75 | |||
|Armor= 200 | |||
|Attack= 0 | |||
|Damage= 5 | |||
|DamageReflection= 0% | |||
|ShieldRecharge= 0 / turn | |||
|BS= 0 | |||
|CriticalChance= 0% | |||
|CSS= 15/15 | |||
|ShieldBoost= 20% | |||
|EvasionRating= 0 | |||
|DamageReduction= 0% | |||
|Defense= 1 | |||
|HackRating= 10% | |||
|HR= 0 | |||
|Intel= 0% | |||
|Salvage= 0% | |||
|SensorScan= 3 | |||
|Shields= 200 | |||
|Threat = +1% | |||
}} | |||
</pre> | |||
{{ | {{Shipbox | ||
|TR= 75 | |||
=== | |Armor= 200 | ||
|Attack= 0 | |||
|Damage= 5 | |||
| | |DamageReflection= 0% | ||
| | |ShieldRecharge= 0 / turn | ||
| | |BS= 0 | ||
| | |CriticalChance= 0 | ||
|CSS= 15/15 | |||
|ShieldBoost= 20% | |||
|EvasionRating= 0 | |||
|DamageReduction= 0% | |||
|Defense= 1 | |||
|HackRating= 10% | |||
|HR= 0 | |||
|Intel= 0% | |||
|Salvage= 0% | |||
|SensorScan= 3 | |||
|Shields= 200 | |||
|Threat= +1% | |||
}} | |||
{{TemplateData|<templatedata> | |||
{ | |||
"params": { | |||
"TR": { | |||
"description": "Ships Target Rating", | |||
"example": "TR= 75", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"Armor": { | |||
"description": "Ships Armor Rating", | |||
"example": "Armor= 200", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"Attack": { | |||
"description": "Ships Attack Rating", | |||
"example": "Attack= 0", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"Damage": { | |||
"description": "Ships Damage Rating", | |||
"example": "Damage= 5", | |||
"type": "number" | |||
}, | |||
"DamageReflection": { | |||
"description": "Ships Damage Reflection. Add %", | |||
"example": "DamageReflection= 0%", | |||
"type": "string" | |||
}, | |||
"ShieldRecharge": { | |||
"description": "Ships Shield Recharge - value / turn", | |||
"example": "ShieldRecharg= 0 / turn", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"CriticalChance": { | |||
"description": "Ships Critical Chance. Add %.", | |||
"example": "CriticalChance= 0%", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"BS": { | |||
"description": "Ships Base Speed.", | |||
"example": "BS= 0", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Threat": { | |||
"description": "Ships Threat Value, + or - and % required", | |||
"example": "Threat= +1%", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"CSS": { | |||
"description": "Ships Cargo Space / Shielded Cargo ", | |||
"example": "CSS= 15/15", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"EvasionRating": { | |||
"description": "Ships Evasion Rating", | |||
"example": "EvasionRating= 0", | |||
"type": "number" | |||
}, | |||
"DamageReduction": { | |||
"description": "Ships Damage Reduction. In %", | |||
"example": "DamageReduction= 0%", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Defense": { | |||
"description": "Ships Defense Rating", | |||
"example": "Defense= 1", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"HackRating": { | |||
"description": "Ships Hack Rating. In %", | |||
"example": "HackRating= 10%", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"HR": { | |||
"description": "Ships Heat Rating in %", | |||
"example": "HR= 10%", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Intel": { | |||
"description": "Ships Intel in %", | |||
"example": "Intel= 0%", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Salvage": { | |||
"description": "Ships Salvage Rating in %", | |||
"example": "Salvage= 0%", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"SensorScan": { | |||
"description": "Ships Sensor Scan Value", | |||
"example": "SensorScan= 3", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"Shields": { | |||
"description": "Ships Shields Rating", | |||
"example": "Shields= 200", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"ShieldBoost": { | |||
"description": "Ships Shield Boost Rating in %", | |||
"example": "ShieldBoost= 20%", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "This template allows you to display information for a particular ship class in an easy to read table.", | |||
"format": "block" | |||
} | |||
</templatedata>}} | |||