Changes

no edit summary
Line 1: Line 1: −
<div class="infobox">
+
<includeonly><div class="infobox infobox-float-{{{float|right}}}">
 
<div class="name">{{{name}}}</div>
 
<div class="name">{{{name}}}</div>
 
<div class="printer-thumb">[[File:{{{image}}}]]</div>
 
<div class="printer-thumb">[[File:{{{image}}}]]</div>
 
{|
 
{|
 +
!Slicer
 +
|[{{{slicerLink}}} {{{slicerName}}}]
 +
|-
 
!Build Volume
 
!Build Volume
|{{{buildVolume}}}
+
|{{{buildWidth}}} × {{{buildDepth}}} × {{{buildHeight}}}&nbsp;mm
 
|-
 
|-
 
!Compatible materials
 
!Compatible materials
Line 10: Line 13:  
|-
 
|-
 
!Minimum Layer Height
 
!Minimum Layer Height
|{{{minLayerHeight}}}
+
|{{{minLayerHeight}}}&nbsp;mm
 
|-
 
|-
! Heated Build Plate
+
!Heated Build Plate
 
|{{{heatedBuildPlate}}}
 
|{{{heatedBuildPlate}}}
 +
|-
 +
!More Information
 +
|[{{{moreInformation}}} {{{name}}}]
 
|}
 
|}
</div>
+
</div><nowiki/></includeonly><noinclude>
<noinclude>
   
<templatedata>
 
<templatedata>
 
{
 
{
Line 25: Line 30:  
"label": "Name",
 
"label": "Name",
 
"example": "Ultimaker 2+",
 
"example": "Ultimaker 2+",
"autovalue": ""
+
"autovalue": "",
 +
"description": "Full name of the printer"
 
},
 
},
 
"image": {
 
"image": {
Line 31: Line 37:  
"required": true,
 
"required": true,
 
"label": "Image",
 
"label": "Image",
"example": "myimage.png"
+
"example": "myimage.png",
},
+
"description": "Name of the image displayed in the info box"
"buildVolume": {
  −
"type": "string",
  −
"required": true,
  −
"label": "Build Volume",
  −
"example": "200&nbsp;mm × 200&nbsp;mm × 200&nbsp;mm"
   
},
 
},
 
"materials": {
 
"materials": {
Line 43: Line 44:  
"required": true,
 
"required": true,
 
"label": "Materials",
 
"label": "Materials",
"example": "PLA, ABS"
+
"example": "PLA, ABS",
 +
"description": "List of materials usable on this machine"
 
},
 
},
 
"minLayerHeight": {
 
"minLayerHeight": {
"label": "Minimum Layer Height",
+
"label": "Minimum Layer Height (mm)",
 
"type": "number",
 
"type": "number",
"autovalue": "0.2",
+
"autovalue": "",
"required": true
+
"required": true,
 +
"default": "0.2",
 +
"description": "Printer's minimum (smallest) layer height"
 
},
 
},
 
"heatedBuildPlate": {
 
"heatedBuildPlate": {
Line 56: Line 60:  
"type": "boolean",
 
"type": "boolean",
 
"required": true
 
"required": true
 +
},
 +
"slicerLink": {
 +
"label": "Slicer URL",
 +
"example": "https://ultimaker.com/cura",
 +
"type": "url",
 +
"required": true,
 +
"description": "URL to the download *page* of the slicer (not a direct link)"
 +
},
 +
"slicerName": {
 +
"label": "Slicer Name",
 +
"example": "Cura",
 +
"type": "string",
 +
"required": true,
 +
"description": "Full name of the main slicer used with this printer"
 +
},
 +
"float": {
 +
"label": "Float",
 +
"description": "Valid values are 'none', 'left', or 'right'.",
 +
"example": "left",
 +
"type": "string",
 +
"default": "right",
 +
"autovalue": "right"
 +
},
 +
"buildWidth": {
 +
"label": "Build Width",
 +
"description": "Build volume width, in mm",
 +
"example": "200",
 +
"type": "number",
 +
"default": "200",
 +
"autovalue": "",
 +
"required": true
 +
},
 +
"buildDepth": {
 +
"label": "Build Depth",
 +
"description": "Build volume depth, in mm",
 +
"example": "200",
 +
"default": "200",
 +
"autovalue": "",
 +
"required": true
 +
},
 +
"buildHeight": {
 +
"label": "Build Height",
 +
"description": "Build volume height, in mm",
 +
"example": "200",
 +
"default": "200",
 +
"autovalue": "",
 +
"required": true
 +
},
 +
"moreInformation": {
 +
"label": "More Information",
 +
"description": "URL to the printer settings page",
 +
"type": "url"
 
}
 
}
 
},
 
},
Line 62: Line 118:  
"name",
 
"name",
 
"image",
 
"image",
"buildVolume",
+
"slicerName",
 +
"slicerLink",
 +
"buildWidth",
 +
"buildDepth",
 +
"buildHeight",
 
"materials",
 
"materials",
 
"minLayerHeight",
 
"minLayerHeight",
"heatedBuildPlate"
+
"heatedBuildPlate",
 +
"float",
 +
"moreInformation"
 
]
 
]
 
}
 
}
 
</templatedata>
 
</templatedata>
 
</noinclude>
 
</noinclude>
295

edits