Form:Part: Difference between revisions
Move page name field to top with placeholder text; remove from bottom (via update-page on MediaWiki MCP Server) Tag: Reverted |
Make brand field optional (remove mandatory) (via update-page on MediaWiki MCP Server) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
This form creates Part pages (CRT tubes, ICs, flyback transformers, boards, yokes, etc.). | This form creates Part pages (CRT tubes, ICs, flyback transformers, boards, yokes, etc.). | ||
The page name should | The page name should be the '''part number only''' (e.g., "LA76810A", "A68KJU96X", "2SD2499"). Do not include the brand name in the page title — the brand is recorded in the Brand field inside the template. | ||
</noinclude><templatestyles src="Template:Form styles.css" /> | </noinclude><templatestyles src="Template:Form styles.css" /> | ||
{{{for template|Part}}} | {{{for template|Part}}} | ||
| Line 12: | Line 10: | ||
|- | |- | ||
! Brand: | ! Brand: | ||
| {{{field|brand|input type=combobox|values from category=Manufacturers | | {{{field|brand|input type=combobox|values from category=Manufacturers}}} | ||
<small>The manufacturer of this part (e.g., Sanyo, Samsung SDI, Toshiba).</small> | <small>The manufacturer of this part (e.g., Sanyo, Samsung SDI, Toshiba).</small> | ||
|- | |- | ||
! Part number: | ! Part number: | ||
| {{{field|model_code|mandatory}}} | | {{{field|model_code|mandatory|default={{PAGENAME}}}}} | ||
<small>The part's model/part number (e.g., LA76810A, A68KJU96X).</small> | <small>The part's model/part number (e.g., LA76810A, A68KJU96X).</small> | ||
|- | |- | ||
| Line 53: | Line 51: | ||
|- | |- | ||
! Equivalent parts: | ! Equivalent parts: | ||
| {{{field|equivalent_parts|input type=text|size=50|placeholder= | | {{{field|equivalent_parts|input type=text|size=50|placeholder=LA76810B, LA76810S}}} | ||
<small>Parts that can substitute for this one (comma-separated | <small>Parts that can substitute for this one (comma-separated).</small> | ||
|- | |- | ||
! OEM part numbers: | ! OEM part numbers: | ||
| Line 121: | Line 119: | ||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
'''Page name:''' {{{standard input|page name|mandatory}}} | |||
<small>Use the part number only (e.g., "LA76810A", "A68KJU96X"). Do not include the brand name.</small> | |||
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|cancel}}} | {{{standard input|save}}} {{{standard input|preview}}} {{{standard input|cancel}}} | ||