Difference between revisions of "Template:Infobox robot"
| Line 1: | Line 1: | ||
| <includeonly><table class="infobox" style="width: 300px; font-size: 90%;"> | <includeonly><table class="infobox" style="width: 300px; font-size: 90%;"> | ||
| <tr><th colspan="2" style="text-align: center; background-color: #cccccc;">{{{name}}}</th></tr> | <tr><th colspan="2" style="text-align: center; background-color: #cccccc;">{{{name}}}</th></tr> | ||
| − | <tr><td>{{{organization}}}</td></tr> | + | {{#if: {{{organization|}}} | <tr><th>Organization</th><td>{{{organization}}}</td></tr> }} | 
| − | <tr><td>{{{height}}}</td></tr> | + | {{#if: {{{height|}}} | <tr><th>Height</th><td>{{{height}}}</td></tr> }} | 
| − | <tr><td>{{{weight}}}</td></tr> | + | {{#if: {{{weight|}}} | <tr><th>Weight</th><td>{{{weight}}}</td></tr> }} | 
| − | <tr><td>{{{single_hand_payload}}}</td></tr> | + | {{#if: {{{single_hand_payload|}}} | <tr><th>Single Hand Payload</th><td>{{{single_hand_payload}}}</td></tr> }} | 
| − | <tr><td>{{{two_hand_payload}}}</td></tr> | + | {{#if: {{{two_hand_payload|}}} | <tr><th>Two Hand Payload</th><td>{{{two_hand_payload}}}</td></tr> }} | 
| − | <tr><td>{{{cost}}}</td></tr> | + | {{#if: {{{cost|}}} | <tr><th>Cost</th><td>{{{cost}}}</td></tr> }} | 
| </table></includeonly> | </table></includeonly> | ||
| <noinclude> | <noinclude> | ||
| This is the template for a basic infobox. [[Category:Templates]] | This is the template for a basic infobox. [[Category:Templates]] | ||
| </noinclude> | </noinclude> | ||
Revision as of 05:12, 24 April 2024
This is the template for a basic infobox.

