Template: Propositions/Radiobuttons: Difference between revisions

From Psalms: Layer by Layer
Jump to: navigation, search
No edit summary
No edit summary
Line 5: Line 5:


</noinclude><includeonly>
</noinclude><includeonly>
{{#titleparts: {{FULLPAGENAME}} | 1 | 0 }}
show: {{#show: {{#titleparts: {{FULLPAGENAME}} | 1 | 0 }} | ? Chapter | link=none}}
ask: {{#ask: [[{{#titleparts: {{FULLPAGENAME}} | 1 | 0 }}]] | ? Chapter | link=none}}
{{#arraymap: {{#ask: [[Category:Argument]]
{{#arraymap: {{#ask: [[Category:Argument]]
                     [[Chapter::{{#show: {{#titleparts: {{FULLPAGENAME}} | 1 | 0 }} | ? Chapter | link=none}}]]
                     [[Chapter::{{#show: {{#titleparts: {{FULLPAGENAME}} | 1 | 0 }} | ? Chapter | link=none}}]]
Line 18: Line 15:
   |@argument
   |@argument
   |<nowiki/>
   |<nowiki/>
@argument
{{!}} [[@argument| {{#show: @argument | ? Description}}]] [{{fullurl:@argument|action=delete}} (x)]
{{!}} [[@argument| {{#show: @argument | ? Description}}]] [{{fullurl:@argument|action=delete}} (x)]
{{!}} <nowiki>{{{field|</nowiki>@argument.{{#switch: {{{2|}}}
{{!}} <nowiki>{{{field|</nowiki>@argument.{{#switch: {{{2|}}}

Revision as of 09:58, 6 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).