Form:Ink: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 5: Line 5:


{{#forminput:form=Ink|autocomplete on category=Inks}}
{{#forminput:form=Ink|autocomplete on category=Inks}}
</noinclude><includeonly>
</noinclude><includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
Line 17: Line 16:
|-
|-
! Series:  
! Series:  
| {{{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:
Line 29: Line 28:
|-
|-
! RGB:
! RGB:
| {{{field|rgb|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])$/|message=Must use the format XXX,XXX,XXX, where each value is 0–255 and no spaces are allowed.|placeholder=255,255,255|property=Has rgb}}}
| {{{field|rgb
| 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])$/
| message=Must use the format XXX,XXX,XXX, where each value is 0–255 and no spaces are allowed.
| placeholder=255,255,255
| property=Has rgb
}}}
|-
|-
! CMYK:
! CMYK:
Line 63: Line 68:
{| class="formtable"
{| class="formtable"
! Part ID:
! Part ID:
| {{{field|part_id|type=regexp|regexp=/^S-[0-9]+[A-Z]*$/|message=Must be in the format S-####...|property=Has part ID|mandatory}}}
| {{{field|part_id
| input type=regexp
| regexp=/^S-[0-9]+[A-Z]*$/
| message=Must be in the format S-#### with optional trailing letters.
| property=Has part ID
| mandatory
}}}
|-
|-
! Line/Type:
! Line/Type:
| {{{field|part_line|series|input type=text with autocomplete|property=Has part line|values=GR/RP, Z-Type, E-Type,F-Type,FII-Type|default=Z-Type|mandatory}}}
| {{{field|part_line
| input type=text with autocomplete
| property=Has part line
| values=GR/RP, Z-Type, E-Type, F-Type, FII-Type
| default=Z-Type
| mandatory
}}}
|-
|-
! Label:
! Label:

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