Form:NPC: Difference between revisions
Embed ShopEntry inside Infobox Shop (via update-page on MediaWiki MCP Server) |
Use ShopTableRow with conditional header/footer (via update-page on MediaWiki MCP Server) |
||
| Line 31: | Line 31: | ||
{{{end template}}} | {{{end template}}} | ||
{{{ | {{{if exists|ShopTableRow}}}<nowiki>{{ShopTableHeader}}</nowiki>{{{end if}}} | ||
{{ | |||
{{{end | |||
{{{for template| | {{{for template|ShopTableRow|multiple|label=Shop Item}}} | ||
<div class="shop-entry-container" style="display: flex; gap: 15px; align-items: flex-start; margin-bottom: 10px;"> | <div class="shop-entry-container" style="display: flex; gap: 15px; align-items: flex-start; margin-bottom: 10px;"> | ||
<div class="shop-entry-fields"> | <div class="shop-entry-fields"> | ||
| Line 54: | Line 52: | ||
</div> | </div> | ||
{{{end template}}} | {{{end template}}} | ||
{{{if exists|ShopTableRow}}}<nowiki>{{ShopTableFooter}}</nowiki>{{{end if}}} | |||
{{{standard input|summary}}} | {{{standard input|summary}}} | ||
Revision as of 12:56, 1 February 2026
This form is used to create and edit NPC pages.