Open main menu

Changes

no edit summary
Use this template to display the questions/problems that a modification attempts to solve.
Parameters'''NOTE:* <code><nowiki>|questions=</nowiki></code> - a comma separated list of questions; each element in this list should be a Topic ''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page. </noinclude><includeonly>{{#if:{{{questions|}}}|This modification attempts to answer the following question(s):
{{#arrayprint'''Parameters:{{{'''* <code><nowiki>|modification=</nowiki></code> - the modification that attempts to answer questions.* <code><nowiki>|}}}intro=</nowiki></code> - initial text that precedes the output, if at least some results exist.* <code><nowiki>|outro=</nowiki><br/code>|varQuestion|- text that is appended to the output, if at least some results exist.* [[Answers question::varQuestion]]: {{#show:varQuestion<code><nowiki>|?Question}} }}default=</nowiki></code> - if, for any reason, the query returns no results, this will be printed instead.
</noinclude><includeonly><!----><!-- add the questions-->{{#arraydefine: questionsArray|{{GetPropertyValues|object={{{modification|}}}|property=Answers Question|link=none}} }}<!----><!---->{{#switch: {{#arraysize: questionsArray}} <!-- -->|0={{{default|}}}<!-- -->|{{{intro|}} }<!-- -->{{#arrayprint:questionsArray||@@@@|{{#if:@@@@|<nowiki/>* [[@@@@]]: {{#show:@@@@|?Question}}|}}<!-- -->}}<!-- print -->{{{outro|}}}<!---->}}<!----></includeonly>