Form:NPC: Difference between revisions
Use DefaultForm template wrapper (via update-page on MediaWiki MCP Server) |
Add description field to NPCEntry (via update-page on MediaWiki MCP Server) |
||
| (40 intermediate revisions by 2 users not shown) | |||
| 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}} | ||
<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 24: | Line 24: | ||
! Trainer | ! Trainer | ||
| colspan="3" | {{{field|trainer|input type=dropdown|values=Knight,Rogue,Mage}}} | | colspan="3" | {{{field|trainer|input type=dropdown|values=Knight,Rogue,Mage}}} | ||
|- | |||
! Description | |||
| colspan="3" | {{{field|description|input type=textarea|rows=6|autogrow}}} | |||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
{{{for template|Infobox NPC}}} | {{{for template|Infobox NPC}}} | ||
{{{end template}}} | {{{end template}}} | ||
{{{if exists|ShopTableRow|== Shop == | |||
{{{ | ((ShopTableHeader))}}} | ||
{{{for template|ShopTableRow|multiple|format=inline|label=Shop Item}}} | |||
{{{for template| | |||
<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 52: | Line 52: | ||
</div> | </div> | ||
{{{end template}}} | {{{end template}}} | ||
{{{if exists|ShopTableRow|((ShopTableFooter))}}} | |||
{{{ | |||
{{{standard input|summary}}} | {{{standard input|summary}}} | ||
Latest revision as of 13:44, 1 February 2026
This form is used to create and edit NPC pages.