Difference between revisions of "Template:Robot"

From Grid Sage Wiki
Jump to navigation Jump to search
(use symbol template)
(Use header and datum templates for layout)
Line 5: Line 5:
 
</div>
 
</div>
  
<div style="color: lightgray;">Overview</div>
+
{{Dataheader|Overview}}
Class: [[{{{class}}}]]<br>
+
  {{ Datum | Class | [[{{{class}}}]] }}
Size: {{{size}}}<br>
+
  {{ Datum | Size | {{{size}}} }}
Rating: {{{rating}}}<br>
+
  {{ Datum | Rating | {{{rating}}} }}
Movement: {{{movement}}}
+
  {{ Datum | Movement | {{{movement}}} }}
  
<div style="color: lightgray;">Armament</div>
+
{{Dataheader|Armament}}
 
{{{armament|None}}}
 
{{{armament|None}}}
  
<div style="color: lightgray;">Components</div>
+
{{Dataheader|Components}}
 
{{{components|Unknown}}}
 
{{{components|Unknown}}}
  
Line 20: Line 20:
  
 
{{#if:{{{fabTime|}}}{{{fabMatter|}}}|
 
{{#if:{{{fabTime|}}}{{{fabMatter|}}}|
<div style="color: lightgray;">Fabrication</div>
+
  {{Dataheader|Fabrication}}
Time: {{{fabTime|Unknown}}}<br>
+
  {{ Datum | Time | {{{fabTime|Unknown}}} }}
Matter: {{{fabMatter|Unknown}}}<br>
+
  {{ Datum | Matter | {{{fabMatter|Unknown}}} }}
Components: {{{fabComponents|None}}}
+
  {{ Datum | Components | {{{fabComponents|None}}} }}
 
}}
 
}}
 
}}
 
}}

Revision as of 02:13, 3 June 2015


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

Usage

{{Robot
|name=K-01 Serf
|symbol=k
|class=Worker
|size=Medium
|rating=4
|movement=Rolling (133%, 75)
|armament=None
|components=
* [[Ion Engine]]
* [[Wheel]] x2
* [[Small Storage Unit]]
}}