Form:Ink: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 19: Line 19:
| {{{field|series|input type=radiobutton|property=Has series|default=Standard|values=Standard,Special Edition,Custom}}}
| {{{field|series|input type=radiobutton|property=Has series|default=Standard|values=Standard,Special Edition,Custom}}}
|-
|-
! Hex Code:  
! Hex Code:
| {{{field|hex
| {{{field|hex
| input type=regexp
| input type=regexp
| regexp=/^[0-9A-F]{6}$/
| regexp=/^#[0-9A-Fa-f]{6}$/
| message=Must use the format XXXXXX!
| message=Must use the format #XXXXXX, where X is 0–9 or A–F.
| placeholder=XXXXXX
| placeholder=#FFFFFF
| property=Has hex
| property=Has hex
}}}
}}}
Line 32: Line 32:
| input type=regexp
| input type=regexp
| regexp=/^(255|[0-9]{1,2}|[1-2][0-9]{2}),(255|[0-9]{1,2}|[1-2][0-9]{2}),(255|[0-9]{1,2}|[1-2][0-9]{2})$/
| regexp=/^(255|[0-9]{1,2}|[1-2][0-9]{2}),(255|[0-9]{1,2}|[1-2][0-9]{2}),(255|[0-9]{1,2}|[1-2][0-9]{2})$/
| message=Must use the format XXX,XXX,XXX
| message=Must use the format XXX,XXX,XXX, where each value is 0–255.
| placeholder=XXX,XXX,XXX
| placeholder=255,255,255
| property=Has rgb
| property=Has rgb
}}}
}}}
Line 41: Line 41:
| input type=regexp
| input type=regexp
| regexp=/^(100|[0-9]{1,2}),(100|[0-9]{1,2}),(100|[0-9]{1,2}),(100|[0-9]{1,2})$/
| regexp=/^(100|[0-9]{1,2}),(100|[0-9]{1,2}),(100|[0-9]{1,2}),(100|[0-9]{1,2})$/
| message=Must use the format XXX,XXX,XXX,XXX
| message=Must use the format XXX,XXX,XXX,XXX, where each value is between 0 and 100.
| placeholder=XXX,XXX,XXX,XXX
| placeholder=100,100,100,100
| property=Has cmyk
| property=Has cmyk
}}}
}}}
Line 48: Line 48:
! CIELab:
! CIELab:
| {{{field|cielab
| {{{field|cielab
|input type=regexp
| input type=regexp
|regexp=/^([0-9]{1,3}|100),(-?1[0-2][0-8]|-?[0-9]{1,2}|127),(-?1[0-2][0-8]|-?[0-9]{1,2}|127)$/
| regexp=/^([0-9]{1,3}|100),(-?1[0-2][0-8]|-?[0-9]{1,2}|127),(-?1[0-2][0-8]|-?[0-9]{1,2}|127)$/
|message=Must use the format XXX,XXX,XXX
| message=Must use the format XXX,XXX,XXX, where L* is 0–100, and a*, b* are -128 to 127.
|placeholder=XXX,XXX,XXX
| placeholder=100,-128,127
|property=Has cielab}}}
| property=Has cielab
}}}
|-
|-
! Pantone:
! Pantone:

Revision as of 16:24, 3 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.