Jump to content

Form:NPC: Difference between revisions

From Apogea Wiki
Dane (talk | contribs)
Use embed in field to wrap templates in Data (via update-page on MediaWiki MCP Server)
Dane (talk | contribs)
Revert to working form structure (via update-page on MediaWiki MCP Server)
Line 6: Line 6:
<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|Data}}}
{{{for template|NPCEntry}}}
{{{end template}}}
 
{{{for template|NPCEntry|embed in field=Data[1]}}}
{| class="wikitable" style="width: 100%; max-width: 600px;"
{| class="wikitable" style="width: 100%; max-width: 600px;"
! colspan="4" | NPC Info
! colspan="4" | NPC Info
Line 32: Line 29:
'''Shop Items'''
'''Shop Items'''


{{{for template|ShopEntry|multiple|embed in field=Data[1]|label=Shop Item}}}
{{{for template|ShopEntry|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">

Revision as of 22:46, 31 January 2026

This form is used to create and edit NPC pages.