Template:QuestionQuery: Difference between revisions
From Karteria DWRP Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
}} }} | }} }} | ||
}} | }} | ||
|group_by= _pageName | |group_by= Questions._pageName, trim(Questions.QuestionFaqPage),Questions.Link, Questions.Topics__full, Questions.AskedBy,Questions.DateAnswered, Questions.DateAsked, Questions.QuestionText, Questions.AnswerText | ||
|format=template | |format=template | ||
|template= | |template=QuestionQueryTableTemplate | ||
|delimiter=\n}} | |delimiter=\n}} | ||
|} | |} | ||
{{#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 | ||
| Line 38: | Line 26: | ||
|group_by=QuestionFaqPage,Link,Topics__full,AskedBy,QuestionText,AnswerText | |group_by=QuestionFaqPage,Link,Topics__full,AskedBy,QuestionText,AnswerText | ||
}} | }} | ||
|supply FAQ Page, Topic or Question as first parameter | |supply FAQ Page, Topic or Question as first parameter }}}}</div></includeonly><noinclude>{{/doc}}</noinclude> | ||
Revision as of 03:47, 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 |