Form:Test: Difference between revisions
Use raw wikitext instead of templates in conditionals (via update-page on MediaWiki MCP Server) |
Wrap conditional content in nowiki tags (via update-page on MediaWiki MCP Server) |
||
| Line 15: | Line 15: | ||
{{{end template}}} | {{{end template}}} | ||
{{{if exists|ShopTableRow}}} | {{{if exists|ShopTableRow}}}<nowiki> | ||
== Shop == | == Shop == | ||
{| class="wikitable sortable shop-table" | {| class="wikitable sortable shop-table" | ||
| Line 21: | Line 21: | ||
! class="unsortable" | | ! class="unsortable" | | ||
! Item | ! Item | ||
! Cost | ! Cost</nowiki>{{{end if}}} | ||
{{{end if}}} | |||
{{{for template|ShopTableRow|multiple|label=Shop Item}}} | {{{for template|ShopTableRow|multiple|label=Shop Item}}} | ||
| Line 34: | Line 33: | ||
{{{end template}}} | {{{end template}}} | ||
{{{if exists|ShopTableRow}}} | {{{if exists|ShopTableRow}}}<nowiki> | ||
|} | |}</nowiki>{{{end if}}} | ||
{{{end if}}} | |||
{{{standard input|save}}} {{{standard input|cancel}}} | {{{standard input|save}}} {{{standard input|cancel}}} | ||
</includeonly> | </includeonly> | ||
Revision as of 12:53, 1 February 2026
Test form to verify conditional output feature.