Template: Propositions/Radiobuttons: Difference between revisions

From Psalms: Layer by Layer
Jump to: navigation, search
(Debugging "Expected a ValueDescription instance!" which arose since commenting out this line)
(Remove debugging (problem seems to be an empty verse variable))
Line 4: Line 4:


{{#vardefine: chapter|1}}
{{#vardefine: chapter|1}}
{{#vardefine: verse|1}}
{{#vardefine: verse|+}}
{|
{|
{{Arguments/Radiobuttons | Psalm 1/Lexical Semantics#Feature.1 }}
{{Arguments/Radiobuttons | Psalm 1/Lexical Semantics#Feature.1 }}
Line 17: Line 17:
                     |sep=$  
                     |sep=$  
                     |link=none
                     |link=none
                     |limit=30
                     |limit=3
                     |searchlabel=
                     |searchlabel=
               }}
               }}
Line 23: Line 23:
   |@argument
   |@argument
   |<nowiki/>
   |<nowiki/>
* DEBUG: {{#var: chapter}}/{{#var: verse}}/{{{1|}}}
* DEBUG: @argument
* -
{{!}} style="width: 40%"{{!}} [[@argument| {{#show: @argument | ? Description}}]] [{{fullurl:@argument|action=delete}} (x)]
{{!}} style="width: 40%"{{!}} [[@argument| {{#show: @argument | ? Description}}]] [{{fullurl:@argument|action=delete}} (x)]
{{!}} <nowiki>{{{field|</nowiki>@argument.{{#switch: {{{2|}}}
{{!}} <nowiki>{{{field|</nowiki>@argument.{{#switch: {{{2|}}}

Revision as of 17:19, 27 November 2020


This is a helper template for form Form:Evidence and Arguments. It is necessary because dynamic form fields must be done in a template, not directly in a form (or the variables will not be interpreted).


Add new argument