Template:HOCMatrix
Jump to navigation
Jump to search
A template for creating a small HOC Matrix symbol.
Parameters
| Parameter name | Required? | Default value | Description |
|---|---|---|---|
chipcolor |
Yes | (n/a) | The color scheme the tiles should be rendered in. |
data (or anonymous) |
Yes | (n/a) | The data for the matrix to set. Each row shall be separated by a ; and each column by a ,. The data is set by the following three digits:
|
Usage
See the template's testcases:
| Usual parameters with parameter name | |
|---|---|
| Wiki code | {{HOCMatrix|chipcolor=blue
|data=
0,1,1,0,0,2;
0,1,1,0,2,2;
0,1,1,1,1,2;
2,1,1,1,1,0;
2,2,0,1,1,0;
2,0,0,1,1,0}}
|
| Main version | |
| Sandbox version | Template:HOCMatrix/sandbox |
| Usual parameters without parameter name | |
|---|---|
| Wiki code | {{HOCMatrix|chipcolor=orange|
0,1,1,0,0,2;
0,1,1,0,2,2;
0,1,1,1,1,2;
2,1,1,1,1,0;
2,2,0,1,1,0;
2,0,0,1,1,0}}
|
| Main version | |
| Sandbox version | Template:HOCMatrix/sandbox |
See also
| The above documentation is transcluded from Template:HOCMatrix/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
