Template:QuestionQuery: Difference between revisions
From Karteria DWRP Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
! 3 | ! 3 | ||
{{#cargo_query:tables=Questions|fields= _pageName = questionPage, trim(QuestionFaqPage)=faqPage,Link = questionLink, Topics__full=questionTopics, AskedBy = questionFrom,DateAnswered=answerDate, DateAsked = askedDate, QuestionText=Question_Text, AnswerText=Answer_Text | {{#cargo_query:tables=Questions|fields= _pageName = questionPage, trim(QuestionFaqPage)=faqPage,Link = questionLink, Topics__full=questionTopics, AskedBy = questionFrom,DateAnswered=answerDate, DateAsked = askedDate, QuestionText=Question_Text, AnswerText=Answer_Text | ||
|where= {{#arraymap: {{{2|}}}|,|xx| QuestionFaqPage = 'xx' | new_delimiter= OR }} | |where= {{#ifeq: {{{1|}}}| FAQ Page | {{#arraymap: {{{2|}}}|,|xx| QuestionFaqPage = 'xx' | new_delimiter= OR }} | | ||
{{#ifeq: {{{1|}}} | Topic | {{#arraymap: {{{2|}}}|,|xx| Topics HOLDS 'xx' | new_delimiter= OR }}| | |||
{{#ifeq: {{{1|}}} | Question | {{#arraymap: {{{2|}}}|,|xx| _pageName = 'xx' | new_delimiter= OR }} | |||
}} }} | |||
}} | |||
|group_by= _pageName = questionPage, trim(QuestionFaqPage)=faqPage,Link = questionLink, Topics__full=questionTopics, AskedBy = questionFrom,DateAnswered=answerDate, DateAsked = askedDate, QuestionText=Question_Text, AnswerText=Answer_Text | |group_by= _pageName = questionPage, trim(QuestionFaqPage)=faqPage,Link = questionLink, Topics__full=questionTopics, AskedBy = questionFrom,DateAnswered=answerDate, DateAsked = askedDate, QuestionText=Question_Text, AnswerText=Answer_Text | ||
|format=template | |format=template | ||
Revision as of 03:31, 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 |