Difference between revisions of "Template:Infobox robot"

From Humanoid Robots Wiki
Jump to: navigation, search
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><table class="infobox">
+
{{infobox
<tr><th colspan="2">{{{name}}}</th></tr>
+
| name = {{{name}}}
{{#if: {{{organization|}}} | <tr><th>Organization</th><td>{{{organization}}}</td></tr> }}
+
| key1 = Name
{{#if: {{{height|}}} | <tr><th>Height</th><td>{{{height}}}</td></tr> }}
+
| value1 = {{{name}}}
{{#if: {{{weight|}}} | <tr><th>Weight</th><td>{{{weight}}}</td></tr> }}
+
| key2 = Organization
{{#if: {{{single_hand_payload|}}} | <tr><th>Single Hand Payload</th><td>{{{single_hand_payload}}}</td></tr> }}
+
| value2 = {{{organization|}}}
{{#if: {{{two_hand_payload|}}} | <tr><th>Two Hand Payload</th><td>{{{two_hand_payload}}}</td></tr> }}
+
| key3 = Video
{{#if: {{{cost|}}} | <tr><th>Cost</th><td>{{{cost}}}</td></tr> }}
+
| value3 = {{#if: {{{video_link|}}} | [{{{video_link}}} Video] }}
{{#if: {{{video|}}} | <tr><th>Video</th><td>{{{video}}}</td></tr> }}
+
| key4 = Cost
{{#if: {{{purchase_link|}}} | <tr><th>Purchase Link</th><td>{{{purchase_link}}}</td></tr> }}
+
| value4 = {{{cost|}}}
</table></includeonly><noinclude>This is the template for the robot infobox.
+
| key5 = Height
 
+
| value5 = {{{height|}}}
Fields are:
+
| key6 = Weight
 
+
| value6 = {{{weight|}}}
* <code>name</code>
+
| key7 = Speed
* <code>organization</code>
+
| value7 = {{{speed|}}}
* <code>height</code>
+
| key8 = Lift Force
* <code>weight</code>
+
| value8 = {{{lift_force|}}}
* <code>single_hand_payload</code>
+
| key9 = Battery Life
* <code>two_hand_payload</code>
+
| value9 = {{{battery_life|}}}
* <code>cost</code>
+
| key10 = Battery Capacity
* <code>video</code>
+
| value10 = {{{battery_capacity|}}}
* <code>purchase_link</code>
+
| key11 = Purchase
[[Category:Templates]]</noinclude>
+
| value11 = {{#if: {{{purchase_link|}}} | [{{{purchase_link}}} Link] }}
 +
| key12 = Number Made
 +
| value12 = {{{number_made|}}}
 +
| key13 = DoF
 +
| value13 = {{{dof|}}}
 +
| key14 = Status
 +
| value14 = {{{status|}}}
 +
| key15 = Notes
 +
| value15 = {{{notes|}}}
 +
}}

Latest revision as of 21:14, 14 May 2024

{{{name}}}
Name{{{name}}}