This is the "Bug 32581" form.
Semantic Forms fields can be constructed conditionally when using templates, parser functions, etc. But, they usually fail when in a table, unless preceded by a new line. It does not help to change the table cell's pipe syntax to a pipe template. Only the new line seems to workaround the problem.
https://bugzilla.wikimedia.org/attachment.cgi?bugid=32581
View the form:
http://www.coincompendium.com/wiki/index.php/Special:FormEdit/Bug_32581
{{#formlink: form=Bug_32581
| link text = View the form
}}
[[Category:Bugs]]
{{{info | create title=Create | edit title=Edit | page name=Bug_32581}}}
{{{for template | Bug_32581 | label=Position-sensitive templatized field parsing}}}
{| class="formtable"
! Templatized field position fails:
| {{(((}}field {{!}} Test {{!}} mandatory {{!}} restricted {{!}} uploadable {{)))}}
|-
! Templatized field position fails:
| {{(((}}field {{!}} Test {{!}} input type=radiobutton {{!}} values=1, 2, 3 {{)))}}
|-
! Templatized field position fails:
| {{(((}}field {{!}} Test {{!}} input type=dropdown {{!}} values=1, 2, 3 {{)))}}
|-
! Templatized field position fails:
| {{(((}}field {{!}} Test {{!}} input type=checkbox {{)))}}
|-
! Templatized field position fails:
| {{(((}}field {{!}} Test {{!}} input type=checkboxes {{!}} values=1, 2, 3 {{)))}}
|-
! Templatized field position fails:
| {{(((}}field {{!}} Test {{!}} input type=text {{)))}}
|-
! Templatized field position fails:
| {{(((}}field {{!}} Test {{!}} input type=textarea {{)))}}
|-
! Templatized field position succeeds:
|
{{(((}}field {{!}} Test {{!}} mandatory {{!}} restricted {{!}} uploadable {{)))}}
|-
! Templatized field position succeeds:
|
{{(((}}field {{!}} Test {{!}} input type=radiobutton {{!}} values=1, 2, 3 {{)))}}
|-
! Templatized field position succeeds:
|
{{(((}}field {{!}} Test {{!}} input type=dropdown {{!}} values=1, 2, 3 {{)))}}
|-
! Templatized field position succeeds:
|
{{(((}}field {{!}} Test {{!}} input type=checkbox {{)))}}
|-
! Templatized field position succeeds:
|
{{(((}}field {{!}} Test {{!}} input type=checkboxes {{!}} values=1, 2, 3 {{)))}}
|-
! Templatized field position succeeds:
|
{{(((}}field {{!}} Test {{!}} input type=text {{)))}}
|-
! Templatized field position succeeds:
|
{{(((}}field {{!}} Test {{!}} input type=textarea {{)))}}
|-
! Non-templatized fields alway succeed:
| {{{field | Test | mandatory | restricted | uploadable }}}
|-
! Non-templatized fields alway succeed:
| {{{field | Test | input type=radiobutton | values=1, 2, 3 }}}
|-
! Non-templatized fields alway succeed:
| {{{field | Test | input type=dropdown | values=1, 2, 3 }}}
|-
! Non-templatized fields alway succeed:
| {{{field | Test | input type=checkbox }}}
|-
! Non-templatized fields alway succeed:
| {{{field | Test | input type=checkboxes | values=1, 2, 3 }}}
|-
! Non-templatized fields alway succeed:
| {{{field | Test | input type=text }}}
|-
! Non-templatized fields alway succeed:
| {{{field | Test | input type=textarea }}}
|}
Templatized fields succeed when not in a table:
{{(((}}field {{!}} Test {{!}} mandatory {{!}} restricted {{!}} uploadable {{)))}}
Templatized fields succeed when not in a table:
{{(((}}field {{!}} Test {{!}} input type=radiobutton {{!}} values=1, 2, 3 {{)))}}
Templatized fields succeed when not in a table:
{{(((}}field {{!}} Test {{!}} input type=dropdown {{!}} values=1, 2, 3 {{)))}}
Templatized fields succeed when not in a table:
{{(((}}field {{!}} Test {{!}} input type=checkbox {{)))}}
Templatized fields succeed when not in a table:
{{(((}}field {{!}} Test {{!}} input type=checkboxes {{!}} values=1, 2, 3 {{)))}}
Templatized fields succeed when not in a table:
{{(((}}field {{!}} Test {{!}} input type=text {{)))}}
Templatized fields succeed when not in a table:
{{(((}}field {{!}} Test {{!}} input type=textarea {{)))}}
{{{end template}}}
'''Free text''':
{{{standard input|free text}}}
{{{standard input|summary}}}
{{{standard input|minor edit}}} {{{standard input|watch}}}
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}