Pages which use this template are listed at Category:Inks.
Template:Ink: Difference between revisions
| Robertbaxter (talk | contribs) No edit summary | Robertbaxter (talk | contribs)  No edit summary | ||
| Line 1: | Line 1: | ||
| <noinclude> | <noinclude>{{Class template|class=Ink|form=Ink|category=Inks}} | ||
| < | |||
| == TemplateData == | |||
| <templatedata> | |||
| { | |||
| 	"params": { | |||
| 		"japanese_name": { | |||
| 			"label": "Japanese name", | |||
| 			"description": "The Japanese name for the ink (if available/provided by the manufacturer)." | |||
| 		}, | |||
| 		"brand": { | |||
| 			"label": "Brand", | |||
| 			"description": "The brand of manufacture (Riso, Ricoh, etc.) for the color of ink. Generic inks may also be listed on this page—but this attribute should reflect the original brand.", | |||
| 			"type": "string", | |||
| 			"suggestedvalues": [ | |||
| 				"Riso", | |||
| 				"Riso Compatible", | |||
| 				"Ricoh" | |||
| 			], | |||
| 			"required": true | |||
| 		}, | |||
| 		"series": { | |||
| 			"label": "Series", | |||
| 			"description": "The series name that the ink is part of (for Riso, these are \"Standard,\" \"Special Edition,\" and \"Custom\").", | |||
| 			"example": "Standard", | |||
| 			"type": "string", | |||
| 			"suggestedvalues": [ | |||
| 				"Standard", | |||
| 				"Special Edition", | |||
| 				"Custom", | |||
| 				"Mixed" | |||
| 			], | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"hex": { | |||
| 			"label": "Hex code", | |||
| 			"description": "The hex code for the color (without a pound sign).", | |||
| 			"example": "AC936E", | |||
| 			"type": "string", | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"rgb": { | |||
| 			"label": "RGB", | |||
| 			"description": "The RGB code for the color—this is used for its display throughout the wiki. It must formatted as a comma-separated list with no spaces: XXX,XXX,XXX", | |||
| 			"example": "172,147,110", | |||
| 			"type": "string", | |||
| 			"required": true | |||
| 		}, | |||
| 		"cmyk": { | |||
| 			"label": "CMYK", | |||
| 			"description": "The CMYK code for the color. It must formatted as a comma-separated list with no spaces: XX,XX,XX,XX", | |||
| 			"example": "22,33,68,8", | |||
| 			"type": "string", | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"cielab": { | |||
| 			"label": "CIELab*", | |||
| 			"description": "The CIELab* code for the color. It must formatted as a comma-separated list with no spaces: XX,XX,XX", | |||
| 			"example": "67,8,20", | |||
| 			"type": "string" | |||
| 		}, | |||
| 		"pantone": { | |||
| 			"label": "Pantone", | |||
| 			"description": "The Pantone swatch code for the color.", | |||
| 			"example": "872 U", | |||
| 			"type": "string", | |||
| 			"deprecated": "Pantone is no longer supported by Adobe, so this is less used—but can still be valuable for color matching inks to papers etc." | |||
| 		}, | |||
| 		"products": { | |||
| 			"label": "Products", | |||
| 			"description": "A list of product codes associated with the ink. These are implemented with Template:Ink/product—please use the page form Form:Ink to edit them.", | |||
| 			"type": "content" | |||
| 		} | |||
| 	}, | |||
| 	"description": "The main template for the \"Ink\" class. This template handles semantic annotation and transcludes display templates for the data (mainly Template:Infobox ink).", | |||
| 	"paramOrder": [ | |||
| 		"japanese_name", | |||
| 		"brand", | |||
| 		"series", | |||
| 		"rgb", | |||
| 		"hex", | |||
| 		"cmyk", | |||
| 		"cielab", | |||
| 		"pantone", | |||
| 		"products" | |||
| 	], | |||
| 	"format": "block" | |||
| } | |||
| </templatedata> | |||
| </noinclude><includeonly>{{Infobox ink | </noinclude><includeonly>{{Infobox ink | ||
|    | title             = {{PAGENAME}} |    | title             = {{PAGENAME}} | ||
Revision as of 18:08, 14 December 2024
TemplateData
The main template for the "Ink" class. This template handles semantic annotation and transcludes display templates for the data (mainly Template:Infobox ink).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Japanese name | japanese_name | The Japanese name for the ink (if available/provided by the manufacturer). | Unknown | optional | 
| Brand | brand | The brand of manufacture (Riso, Ricoh, etc.) for the color of ink. Generic inks may also be listed on this page—but this attribute should reflect the original brand. 
 | String | required | 
| Series | series | The series name that the ink is part of (for Riso, these are "Standard," "Special Edition," and "Custom"). 
 | String | suggested | 
| RGB | rgb | The RGB code for the color—this is used for its display throughout the wiki. It must formatted as a comma-separated list with no spaces: XXX,XXX,XXX 
 | String | required | 
| Hex code | hex | The hex code for the color (without a pound sign). 
 | String | suggested | 
| CMYK | cmyk | The CMYK code for the color. It must formatted as a comma-separated list with no spaces: XX,XX,XX,XX 
 | String | suggested | 
| CIELab* | cielab | The CIELab* code for the color. It must formatted as a comma-separated list with no spaces: XX,XX,XX 
 | String | optional | 
| Pantone | pantone | The Pantone swatch code for the color. 
 | String | deprecated | 
| Products | products | A list of product codes associated with the ink. These are implemented with Template:Ink/product—please use the page form Form:Ink to edit them. | Content | optional |