Template:QuestionQuery: Difference between revisions
From Karteria DWRP Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
{{#cargo_query:tables=Questions|fields= CONCAT('{{Question Information {{!}} questionPage = ',_pageName,'{{!}}faqPage=',trim(QuestionFaqPage),' {{!}}questionLink = ',Link,'{{!}}questionTopics=', Topics__full,'{{!}}questionFrom=', AskedBy,'{{!}}answerDate=',DateAnswered, '{{!}}askedDate=', DateAsked,'}}')=Question_Information, QuestionText=Question_Text, AnswerText=Answer_Text | {{#cargo_query:tables=Questions|fields= CONCAT('{{Question Information {{!}} questionPage = ',_pageName,'{{!}}faqPage=',trim(QuestionFaqPage),' {{!}}questionLink = ',Link,'{{!}}questionTopics=', Topics__full,'{{!}}questionFrom=', AskedBy,'{{!}}answerDate=',DateAnswered, '{{!}}askedDate=', DateAsked,'}}')=Question_Information, QuestionText=Question_Text, AnswerText=Answer_Text | ||
|where={{#arraymap: {{{2|}}}|,|tk| QuestionFaqPage = 'tk' | new_delimiter= OR }} | |where={{#arraymap: {{{2|}}}|,|tk| QuestionFaqPage = 'tk' | new_delimiter= OR }} | ||
|group_by= | |group_by= 1,2,3}}| | ||
{{#ifeq: {{{1|}}} | Topic | topic | {{#ifeq: {{{1|}}} | Topic | topic | ||
{{#cargo_query:tables=Questions|fields= CONCAT('{{Question Information {{!}} questionPage = ',_pageName,'{{!}}faqPage=',trim(QuestionFaqPage),' {{!}}questionLink = ',Link,'{{!}}questionTopics=', Topics__full,'{{!}}questionFrom=', AskedBy,'{{!}}answerDate=',DateAnswered, '{{!}}askedDate=', DateAsked,'}}')=Question_Information, QuestionText=Question_Text, AnswerText=Answer_Text | {{#cargo_query:tables=Questions|fields= CONCAT('{{Question Information {{!}} questionPage = ',_pageName,'{{!}}faqPage=',trim(QuestionFaqPage),' {{!}}questionLink = ',Link,'{{!}}questionTopics=', Topics__full,'{{!}}questionFrom=', AskedBy,'{{!}}answerDate=',DateAnswered, '{{!}}askedDate=', DateAsked,'}}')=Question_Information, QuestionText=Question_Text, AnswerText=Answer_Text | ||
Revision as of 01:34, 16 December 2025
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Query type | 1 | no description
| Unknown | required |
| Value | 2 | Limiting value for the query
| Unknown | optional |