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>{{#ifeq: {{{1|}}} | FAQ Page || {{#ifeq: {{{1|}}} | Topic || {{#ifeq: {{{1|}}} | Question | | <includeonly>{{#ifeq: {{{1|}}} | FAQ Page || {{#ifeq: {{{1|}}} | Topic || {{#ifeq: {{{1|}}} | Question | | ||
|supply FAQ Page, Topic or Question as first parameter }}}}}} | |supply FAQ Page, Topic or Question as first parameter }}}}}} | ||
{{#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= {{#ifeq: {{{1|}}}| FAQ Page | {{#arraymap: {{{2|}}}|,|xx| QuestionFaqPage = 'xx' | new_delimiter= OR }} | | |where= {{#ifeq: {{{1|}}}| FAQ Page | {{#arraymap: {{{2|}}}|,|xx| QuestionFaqPage = 'xx' | new_delimiter= OR }} | | ||
| Line 14: | Line 11: | ||
|template=QuestionQueryTableTemplate | |template=QuestionQueryTableTemplate | ||
|delimiter=\n | |delimiter=\n | ||
|intro= | |intro={{{!}} class="wikitable" | ||
| outro= | ! Information | ||
! Question | |||
! Answer | |||
| outro={{!}}} | |||
| default= {{!}}- | | default= {{!}}- | ||
{{!}} ''No results'' | {{!}} ''No results'' | ||
Revision as of 08:26, 17 December 2025
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Query type | 1 | no description
| Unknown | required |
| Value | 2 | Limiting value for the query
| Unknown | optional |