Template:FAQ Page: Difference between revisions

From Karteria DWRP Wiki
Jump to navigationJump to search
Icie (talk | contribs)
No edit summary
Icie (talk | contribs)
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Link (label=FAQ Page Link)}}
{{#template_params:Link (label=FAQ Page Link)}}
{{#cargo_declare:_table=FAQ_Pages|Link=URL}}
{{#cargo_declare:_table=FAQ_Pages|Link=URL|_parentTables=Events}}
</noinclude><includeonly>{{#cargo_store:_table=FAQ_Pages}}
</noinclude><includeonly>{{#cargo_store:_table=FAQ_Pages}}


Line 7: Line 7:
Event FAQs: {{#cargo_query:tables=Events,Events__FAQ
Event FAQs: {{#cargo_query:tables=Events,Events__FAQ


|fields=_pageName=Event,Events.FAQ__full=FAQs,Events__FAQ._value
|fields= Events__FAQ._value
|where=_pageName = 'Log - April 2025'
|where=_pageName = 'Log - April 2025'
|join on=Events._ID=Events__FAQ._rowID
|join on=Events._ID=Events__FAQ._rowID

Revision as of 09:37, 13 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.