Jump to content

Form:NPC: Difference between revisions

From Apogea Wiki
Dane (talk | contribs)
Fix description section - label only in form, full width textarea (via update-page on MediaWiki MCP Server)
Tag: Reverted
Dane (talk | contribs)
Add description field to NPCEntry (via update-page on MediaWiki MCP Server)
 
(12 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}}}
<div style="margin: 15px 0;">
<label style="display: block; font-weight: bold; margin-bottom: 5px;">Description</label>
{{{section|Description|level=0|rows=6|autogrow|hide if empty|class=pf-description-input}}}
</div>
{{{for template|Infobox NPC}}}
{{{for template|Infobox NPC}}}
{{{end template}}}
{{{end template}}}
{{{if exists|ShopTableRow|((ShopTableHeader))}}}
{{{if exists|ShopTableRow|== Shop ==
((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.