Difference between revisions of "Contributing"

From Humanoid Robots Wiki
Jump to: navigation, search
Line 1: Line 1:
 
=== Adding an Infobox ===
 
=== Adding an Infobox ===
  
There are a couple infobox templates which we use:
+
There are a few infobox templates which we use:
  
 
* [[Template:Infobox_company]]
 
* [[Template:Infobox_company]]
 
* [[Template:Infobox_robot]]
 
* [[Template:Infobox_robot]]
 +
* [[Template:Infobox_actuator]]
  
In both, all of the fields are optional, except for <name>.
+
All of the fields are optional, except for <name>.
  
 
To add a company infobox, use:
 
To add a company infobox, use:
Line 38: Line 39:
 
| dof = 10
 
| dof = 10
 
| status = Available
 
| status = Available
 +
}}
 +
</syntaxhighlight>
 +
 +
To add an actuator infobox, use:
 +
 +
<syntaxhighlight lang="text">
 +
 +
{{infobox robot
 +
| name = Name
 +
| manufacturer = Manufacturer
 +
| cost = USD 1
 +
| purchase_link = https://amazon.com/
 +
| torque = 1 Nm
 +
| weight = 1 kg
 +
| cad_link = https://example.com/model.step
 +
| size = 10cm radius
 
}}
 
}}
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 21:22, 25 April 2024

Adding an Infobox

There are a few infobox templates which we use:

All of the fields are optional, except for <name>.

To add a company infobox, use:

{{infobox company
| name = Name
| country = Country
| website_link = https://link.com/
| robots = [[Stompy]]
}}

To add a robot infobox, use:

{{infobox robot
| name = Name
| organization = Company
| video_link = https://youtube.com/
| cost = USD 1
| height = 10 ft
| weight = 100 kg
| speed = 1 m/s
| lift_force = 10 lb
| battery_life = 5 hr
| battery_capacity = 1 mWh
| purchase_link = https://buy.com
| number_made = 10
| dof = 10
| status = Available
}}

To add an actuator infobox, use:

{{infobox robot
| name = Name
| manufacturer = Manufacturer
| cost = USD 1
| purchase_link = https://amazon.com/
| torque = 1 Nm
| weight = 1 kg
| cad_link = https://example.com/model.step
| size = 10cm radius
}}