Template:FAQ Page: Difference between revisions
From Karteria DWRP Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
|} | |} | ||
<!--'[[',_pageName,'|wiki page]] [',Link,' link]')=Link,--> | <!--'[[',_pageName,'|wiki page]] [',Link,' link]')=Link,--> | ||
{{#cargo_query:tables=Questions|fields= CONCAT('{{Question Information {{!}} questionPage = ',_pageName,' {{!}}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=',QuestionFaqPage,' {{!}}questionLink = ',Link,'{{!}}questionTopics=', Topics__full,'{{!}}questionFrom=', AskedBy,'{{!}}answerDate=',DateAnswered, '{{!}}askedDate=', DateAsked,'}}')=Question_Information, QuestionText=Question_Text, AnswerText=Answer_Text | ||
|where=QuestionFaqPage = '{{PAGENAME}}' | |where=QuestionFaqPage = '{{PAGENAME}}' | ||
}} | }} | ||
Revision as of 03:07, 14 December 2025
This is the "FAQ Page" template.
It should be called in the following format:
{{FAQ Page
|Link=
}}
Edit the page to see the template text.
This template defines the table "FAQ_Pages". This table has not been created yet.