Jump to content

Form:Test: Difference between revisions

From Apogea Wiki
Dane (talk | contribs)
Wrap conditional content in nowiki tags (via update-page on MediaWiki MCP Server)
Dane (talk | contribs)
Use single-tag syntax for conditional output (via update-page on MediaWiki MCP Server)
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
|}
|}
{{{end template}}}
{{{end template}}}
 
{{{if exists|ShopTableRow|{{ShopTableHeader}}}}}
{{{if exists|ShopTableRow}}}<nowiki>
== Shop ==
{| class="wikitable sortable shop-table"
|-
! class="unsortable" |
! Item
! Cost</nowiki>{{{end if}}}
 
{{{for template|ShopTableRow|multiple|label=Shop Item}}}
{{{for template|ShopTableRow|multiple|label=Shop Item}}}
{| class="formtable"
{| class="formtable"
Line 32: Line 24:
|}
|}
{{{end template}}}
{{{end template}}}
 
{{{if exists|ShopTableRow|{{ShopTableFooter}}}}}
{{{if exists|ShopTableRow}}}<nowiki>
|}</nowiki>{{{end if}}}


{{{standard input|save}}} {{{standard input|cancel}}}
{{{standard input|save}}} {{{standard input|cancel}}}
</includeonly>
</includeonly>

Latest revision as of 13:00, 1 February 2026

Test form to verify conditional output feature.