Form:Ink: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 21: Line 21:
| {{{field|hex
| {{{field|hex
| input type=regexp
| input type=regexp
! regexp=/^[0-9A-Fa-f]{6}$/
| regexp=/^[0-9A-Fa-f]{6}$/
| message=Must use the format XXXXXX, where X is 0–9 or A–F.
| message=Must use the format XXXXXX, where X is 0–9 or A–F!
| placeholder=FFFFFF
| placeholder=FFFFFF
| property=Has hex
| property=Has hex
Line 30: Line 30:
| {{{field|rgb
| {{{field|rgb
| input type=regexp
| input type=regexp
! regexp=/^(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9]),(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9]),(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])$/
| regexp=/^(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9]),(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9]),(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])$/
| message=Must use the format XXX,XXX,XXX, where each value is 0–255 and no spaces are allowed.
| message=Must use the format XXX,XXX,XXX, where each value is 0–255 and no spaces are allowed!
| placeholder=255,255,255
| placeholder=255,255,255
| property=Has rgb
| property=Has rgb

Revision as of 17:28, 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.