Template:QuestionQuery: Difference between revisions
From Karteria DWRP Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><div class="question-table-wrapper"> | <includeonly><div class="question-table-wrapper">{{#ifeq: {{{1|}}}| FAQ Page | faqalf | ||
{{#ifeq: {{{1|}}}| FAQ Page | faqalf | |||
{{#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= _pageName, trim(QuestionFaqPage),Link,Topics__full,AskedBy,DateAnswered,DateAsked,QuestionText,AnswerText}}| | ||
{{#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 02:15, 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 |