Form:Ink: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 27: Line 27:
|-
|-
! CMYK:
! CMYK:
| {{{field|cmyk
| {{{field|raw_cmyk
| input type=regexp
| 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*$/
| 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) or XXX,XXX,XXX,XXX!
| message=Must use the format (XXX, XXX, XXX, XXX) or XXX,XXX,XXX,XXX!}}}
| pre save transformation={{#rreplace:{{{cmyk}}}|/^\s*\(?\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)?\s*$/|\1,\2,\3,\4}}
| property=Has cmyk}}}
|-
|-
! CIELab:
! CIELab:

Revision as of 19:51, 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.