Difference between revisions of "Template:Infobox robot"

From Humanoid Robots Wiki
Jump to: navigation, search
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
+
{{infobox
<table class="infobox" style="width: 300px; font-size: 90%;">
+
| name = {{{name}}}
<tr><th colspan="2" style="text-align: center; background-color: #cccccc;">{{{name}}}</th></tr>
+
| key1 = Name
{{#if: {{{organization|}}} | <tr><th>Organization</th><td>{{{organization}}}</td></tr> }}
+
| value1 = {{{name}}}
{{#if: {{{height|}}} | <tr><th>Height</th><td>{{{height}}}</td></tr> }}
+
| key2 = Organization
{{#if: {{{weight|}}} | <tr><th>Weight</th><td>{{{weight}}}</td></tr> }}
+
| value2 = {{{organization|}}}
{{#if: {{{single_hand_payload|}}} | <tr><th>Single Hand Payload</th><td>{{{single_hand_payload}}}</td></tr> }}
+
| key3 = Video
{{#if: {{{two_hand_payload|}}} | <tr><th>Two Hand Payload</th><td>{{{two_hand_payload}}}</td></tr> }}
+
| value3 = {{#if: {{{video_link|}}} | [{{{video_link}}} Video] }}
{{#if: {{{cost|}}} | <tr><th>Cost</th><td>{{{cost}}}</td></tr> }}
+
| key4 = Cost
{{#if: {{{video|}}} | <tr><th>Video</th><td>{{{video}}}</td></tr> }}
+
| value4 = {{{cost|}}}
{{#if: {{{purchase_link|}}} | <tr><th>Purchase Link</th><td>{{{purchase_link}}}</td></tr> }}
+
| key5 = Height
</table>
+
| value5 = {{{height|}}}
</includeonly><noinclude>This is the template for the robot infobox.
+
| key6 = Weight
 
+
| value6 = {{{weight|}}}
Fields are:
+
| key7 = Speed
 
+
| value7 = {{{speed|}}}
* <code>name</code>
+
| key8 = Lift Force
* <code>organization</code>
+
| value8 = {{{lift_force|}}}
* <code>height</code>
+
| key9 = Battery Life
* <code>weight</code>
+
| value9 = {{{battery_life|}}}
* <code>single_hand_payload</code>
+
| key10 = Battery Capacity
* <code>two_hand_payload</code>
+
| value10 = {{{battery_capacity|}}}
* <code>cost</code>
+
| key11 = Purchase
* <code>video</code>
+
| value11 = {{#if: {{{purchase_link|}}} | [{{{purchase_link}}} Link] }}
* <code>purchase_link</code>
+
| key12 = Number Made
[[Category:Templates]]</noinclude>
+
| 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}}}