Jump to content

Form:NPC: Difference between revisions

From Apogea Wiki
Dane (talk | contribs)
Add Shop section to establish boundary for Description (via update-page on MediaWiki MCP Server)
Tag: Reverted
Dane (talk | contribs)
Add description field to NPCEntry (via update-page on MediaWiki MCP Server)
 
(3 intermediate revisions by the same user not shown)
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 ==
{| style="margin: 15px 0; width: 100%; max-width: 600px;"
((ShopTableHeader))}}}
|-
! style="text-align: left;" | Description
|-
| {{{section|Description|level=0|rows=6|autogrow|hide if empty}}}
|}
 
{{{section|Shop|level=2|hidden|hide if empty}}}
{{{if exists|ShopTableRow|((ShopTableHeader))}}}
{{{for template|ShopTableRow|multiple|format=inline|label=Shop Item}}}
{{{for template|ShopTableRow|multiple|format=inline|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;">

Latest revision as of 13:44, 1 February 2026

This form is used to create and edit NPC pages.