Form:Ink: Difference between revisions
IssuePress (talk | contribs)  (Add CIELab)  | 
				IssuePress (talk | contribs)   (update regex)  | 
				||
| Line 23: | Line 23: | ||
|-  | |-  | ||
! RGB:  | ! RGB:  | ||
| {{{field|rgb|input type=regexp|regexp=/^\  | | {{{field|rgb|input type=regexp|regexp=/^\s*\(?\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?|0)\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?|0)\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?|0)\s*\)?\s*$  | ||
/|message=Must use the format (XXX, XXX, XXX)!|property=Has rgb}}}  | |||
|-  | |-  | ||
! CMYK:  | ! CMYK:  | ||
| {{{field|cmyk|input type=regexp|regexp=/^\  | | {{{field|cmyk|input type=regexp|regexp=/^\s*\(?\s*(100|[1-9]?[0-9])\s*,\s*(100|[1-9]?[0-9])\s*,\s*(100|[1-9]?[0-9])\s*,\s*(100|[1-9]?[0-9])\s*\)?\s*$  | ||
$/|message=Must use the format (XXX, XXX, XXX, XXX)!|property=Has cmyk}}}  | |||
|-  | |-  | ||
! CIELab:  | ! CIELab:  | ||
| {{{field|cielab|input type=regexp|regexp=/^(100|[0-9]{1,2}),(-?(128|12[0-7]|1[01][0-9]|[1-9][0-9]|[0-9])),(-?(128|12[0-7]|1[01][0-9]|[1-9][0-9]|[0-9]))$/|message=Must use the format XXX,XXX,XXX!|property=Has cielab}}}  | | {{{field|cielab|input type=regexp|regexp=/^\s*\(?\s*(100|[0-9]{1,2}),\s*(-?(128|12[0-7]|1[01][0-9]|[1-9][0-9]|[0-9])),\s*(-?(128|12[0-7]|1[01][0-9]|[1-9][0-9]|[0-9]))\s*\)?$  | ||
/|message=Must use the format (XXX, XXX, XXX)!|property=Has cielab}}}  | |||
|-  | |-  | ||
! Pantone:  | ! Pantone:  | ||
Revision as of 17:56, 2 December 2024
This is the "Ink" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.