Jump to content

Template:Machine: Difference between revisions

From Machine Knitting Wiki
Cargo setup
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This template stores data for knitting machine models.
{{#cargo_declare:_table=Machines
{{#cargo_declare: _table = Machines
|ModelName=String
|ModelName   = String
|Manufacturer=String
|Manufacturer = String
|Gauge=String (allowed values=Fine, Standard, Mid, Bulky)
|Gauge       = String (allowed values=Fine, Standard, Mid, Bulky)
|Type=String (allowed values=Domestic, Industrial)
|Type         = String (allowed values=Domestic, Industrial)
|Patterning=String (allowed values=None, Push button, 12 stitch punch card, 24 stitch punch card, Electronic, Other)
|Patterning   = String (allowed values=None, Push button, 12 stitch punch card, 24 stitch punch card, Electronic, Other)
|Accessories=List (,) of String
|Accessories = List (,) of String
|Aliases=List (,) of String
|Aliases     = List (,) of String
|Needles=Integer
|ReleaseYear=Integer
}}
}}
</noinclude>
{{#cargo_attach:_table=Machines}}
<includeonly>
</noinclude><includeonly>
{{#cargo_store: _table = Machines }}
{{#cargo_store:_table=Machines
{| class="wikitable"
|ModelName={{{ModelName|}}}
|Manufacturer={{{Manufacturer|}}}
|Gauge={{{Gauge|}}}
|Type={{{Type|}}}
|Patterning={{{Patterning|}}}
|Accessories={{{Accessories|}}}
|Aliases={{{Aliases|}}}
|Needles={{{Needles|}}}
|ReleaseYear={{{ReleaseYear|}}}
}}
{| class="wikitable" style="width: 300px; float: right; margin-left: 1em;"
! colspan="2" style="background-color: #f2f2f2; text-align: center;" | {{{Manufacturer|}}} {{{ModelName|}}}
|-
! Manufacturer
! Manufacturer
| {{{Manufacturer|}}}
| {{{Manufacturer|}}}
Line 19: Line 32:
! Model
! Model
| {{{ModelName|}}}
| {{{ModelName|}}}
|-
! Gauge
| {{{Gauge|}}}
|-
! Type
| {{{Type|}}}
|-
! Patterning
| {{{Patterning|}}}
|-
! Needles
| {{{Needles|}}}
|-
! Release Year
| {{{ReleaseYear|}}}
|-
! Accessories
| {{{Accessories|}}}
|-
|-
! Also Known As
! Also Known As

Latest revision as of 15:39, 7 February 2026

This template defines the table "Machines". View table. This template adds rows to the table "Machines", which is declared by the template Machine. View table.