Form:Ink: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 31: Line 31:
| 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}}
| 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}}}
| property=Has cmyk}}}
|-
|-

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