Template:FAQ Page: Difference between revisions
From Karteria DWRP Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
| [{{{Link}}} link] | | [{{{Link}}} link] | ||
|} | |} | ||
{{#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=QuestionFaqPage = '{{PAGENAME}}' | |where=QuestionFaqPage = '{{PAGENAME}}' | ||
}} | }} | ||
{{#formlink:form=Question|link text=Add a question |returnto={{FULLPAGENAME}}| query string=Question[QuestionFaqPage]={{FULLPAGENAME}}}} | {{#formlink:form=Question|link text=Add a question |returnto={{FULLPAGENAME}}| query string=Question[QuestionFaqPage]={{FULLPAGENAME}}}} | ||
Revision as of 03:31, 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.