Form:NPC: Difference between revisions
Use ShopTableRow with conditional header/footer (via update-page on MediaWiki MCP Server) |
Remove extra whitespace and free text section (via update-page on MediaWiki MCP Server) |
||
| Line 2: | Line 2: | ||
This form is used to create and edit NPC pages. | This form is used to create and edit NPC pages. | ||
[[Category:Forms]] | [[Category:Forms]] | ||
</noinclude><includeonly> | </noinclude><includeonly>{{#default_form:NPC}} | ||
{{#default_form:NPC}} | |||
<div id="apogea-npc-form"></div> | <div id="apogea-npc-form"></div> | ||
<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 27: | Line 26: | ||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
{{{for template|Infobox NPC}}} | {{{for template|Infobox NPC}}} | ||
{{{end template}}} | {{{end template}}} | ||
{{{if exists|ShopTableRow}}}<nowiki>{{ShopTableHeader}}</nowiki>{{{end if}}} | {{{if exists|ShopTableRow}}}<nowiki>{{ShopTableHeader}}</nowiki>{{{end if}}} | ||
{{{for template|ShopTableRow|multiple|label=Shop Item}}} | {{{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;"> | ||
| Line 52: | Line 48: | ||
</div> | </div> | ||
{{{end template}}} | {{{end template}}} | ||
{{{if exists|ShopTableRow}}}<nowiki>{{ShopTableFooter}}</nowiki>{{{end if}}} | {{{if exists|ShopTableRow}}}<nowiki>{{ShopTableFooter}}</nowiki>{{{end if}}} | ||
{{{standard input|summary}}} | {{{standard input|summary}}} | ||
{{{standard input|minor edit}}} {{{standard input|watch}}} | {{{standard input|minor edit}}} {{{standard input|watch}}} | ||
Revision as of 12:57, 1 February 2026
This form is used to create and edit NPC pages.