Difference between revisions of "Template:Infobox robot"

From Humanoid Robots Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly><table class="infobox">
+
{{infobox
<tr><th colspan="2">{{{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 = {{{video}}}
{{#if: {{{cost|}}} | <tr><th>Cost</th><td>{{{cost}}}</td></tr> }}
+
| key4 = Purchase Link
{{#if: {{{video|}}} | <tr><th>Video</th><td>{{{video}}}</td></tr> }}
+
| value4 = {{{purchase_link}}}
{{#if: {{{purchase_link|}}} | <tr><th>Purchase Link</th><td>{{{purchase_link}}}</td></tr> }}
+
}}
</table></includeonly><noinclude>This is the template for the robot infobox.
 
 
 
Fields are:
 
 
 
* <code>name</code>
 
* <code>organization</code>
 
* <code>height</code>
 
* <code>weight</code>
 
* <code>single_hand_payload</code>
 
* <code>two_hand_payload</code>
 
* <code>cost</code>
 
* <code>video</code>
 
* <code>purchase_link</code>
 
[[Category:Templates]]</noinclude>
 

Revision as of 07:12, 24 April 2024

{{{name}}}
Name{{{name}}}
Organization{{{organization}}}
Video{{{video}}}
Purchase Link{{{purchase_link}}}