Form:Item: Difference between revisions
Move Sprite field to its own row at top (via update-page on MediaWiki MCP Server) |
Add grid layout with infobox preview area (via update-page on MediaWiki MCP Server) |
||
| Line 5: | Line 5: | ||
<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> | ||
{{{for template|ItemEntry|multiple|label=Variant}}} | {{{for template|ItemEntry|multiple|label=Variant}}} | ||
<div class="item-form-container" style="display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start;"> | |||
<div class="item-form-fields"> | |||
{| class="wikitable" style="width:100%" | {| class="wikitable" style="width:100%" | ||
! colspan="4" | Basic Info | ! colspan="4" | Basic Info | ||
| Line 69: | Line 71: | ||
| colspan="2" | {{{field|description|input type=textarea|rows=3|cols=50}}} | | colspan="2" | {{{field|description|input type=textarea|rows=3|cols=50}}} | ||
|} | |} | ||
</div> | |||
<div class="item-form-preview" style="position: sticky; top: 20px;"> | |||
<strong>Preview</strong> | |||
<div class="infobox-preview" style="margin-top: 10px;"> | |||
<em style="color: #888;">Fill in fields to see preview...</em> | |||
</div> | |||
</div> | |||
</div> | |||
{{{end template}}} | {{{end template}}} | ||
Revision as of 19:00, 29 January 2026
This form is used to create and edit item pages.