Difference between revisions of "Template:Robot"

From Grid Sage Wiki
Jump to navigation Jump to search
(Added support for multiple fabrications)
(Made the template to add properties to robots)
Line 42: Line 42:
 
}}{{#ifeq:{{NAMESPACE}}|Template||
 
}}{{#ifeq:{{NAMESPACE}}|Template||
 
[[Category:{{{class}}} Robots]] [[Category:Robots]]
 
[[Category:{{{class}}} Robots]] [[Category:Robots]]
 +
{{#if:{{{symbol|}}}| [[symbolRobot::{{{symbol}}}| ]] }}
 +
{{#if:{{{color|}}}| [[colorRobot::{{{color}}}| ]] }}
 +
{{#if:{{{class|}}}| [[class::{{{class}}}| ]] }}
 +
{{#if:{{{size|}}}| [[size::{{{size}}}| ]] }}
 +
{{#if:{{{rating|}}}| [[ratingRobot::{{{rating}}}| ]] }}
 +
{{#if:{{{movement|}}}| [[movement::{{{movement}}}| ]] }}
 +
{{#if:{{{integrity|}}}| [[integrityRobot::{{{integrity}}}| ]] }}
 +
{{#if:{{{armament|}}}| [[armament::{{{armament}}}| ]] }}
 +
{{#if:{{{components|}}}| [[components::{{{components}}}| ]] }}
 +
{{#if:{{{coreExposure|}}}| [[coreExposure::{{{coreExposure}}}| ]] }}
 +
{{#if:{{{salvagePotential|}}}| [[salvagePotential::{{{salvagePotential}}}| ]] }}
 +
{{#if:{{{kinetic|}}}| [[kineticResist::{{{kinetic}}}| ]] }}
 +
{{#if:{{{thermal|}}}| [[thermalResist::{{{thermal}}}| ]] }}
 +
{{#if:{{{explosive|}}}| [[explosiveResist::{{{explosive}}}| ]] }}
 +
{{#if:{{{electromagnetic|}}}| [[electromagneticResist::{{{electromagnetic}}}| ]] }}
 +
{{#if:{{{impact|}}}| [[impactResist::{{{impact}}}| ]] }}
 +
{{#if:{{{slashing|}}}| [[slashingResist::{{{slashing}}}| ]] }}
 +
{{#if:{{{piercing|}}}| [[piercingResist::{{{piercing}}}| ]] }}
 +
{{#if:{{{analysis|}}}| [[analysis::{{{analysis}}}| ]] }}
 +
{{#if:{{{fabCount|}}}| [[fabCount::{{{fabCount}}}| ]] }}
 +
{{#if:{{{fabTime|}}}| [[fabTime::{{{fabTime}}}| ]] }}
 +
{{#if:{{{fabMatter|}}}| [[fabMatter::{{{fabMatter}}}| ]] }}
 +
{{#if:{{{fabComponents|}}}| [[fabComponents::{{{fabComponents}}}| ]] }}
 
}}
 
}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
This template lays out robot info in a standard format and automatically links to the Robot and Class categories.
+
This template lays out robot info in a standard format and automatically links to the Robot and Class categories and adds relevant proties to it.
 
== Example ==  
 
== Example ==  
 
{{Robot
 
{{Robot

Revision as of 00:40, 21 October 2016

This template lays out robot info in a standard format and automatically links to the Robot and Class categories and adds relevant proties to it.

Example

/Data/

O-24 Administrator [o]

Overview
Class
Size
Medium
Rating
21
Movement
Hovering (222%, 45)
Integrity
30
Armament
Components
Structure
Core Exposure
39%
Salvage Potential
20-30
Resistances
Kinetic
0%
Thermal
0%
Explosive
0%
Electromagnetic
+50%
Impact
0%
Slashing
+25%
Piercing
0%

[No analysis Data]

Fabrication
Time
130
Matter
160
Components
None
X
{{Robot
|name=O-24 Administrator
|symbol=o
|color=orange
|class=Operator
|size=Medium
|rating=21
|movement=Hovering (222%, 45)
|integrity=30
|armament=
* [[Improved Datajack]]
|components=
* [[Light Deuterium Engine]]
* [[Improved Hover Unit]] x2
* [[Improved Footprint Analyzer]]
* [[Hacking Suite]]
* [[System Backup Module]]
|coreExposure=39%
|salvagePotential=20-30
|kinetic=0%
|thermal=0%
|explosive=0%
|electromagnetic=+50%
|impact=0%
|slashing=+25%
|piercing=0%
|fabTime=130
|fabMatter=160
|fabComponents=None
}}