Template:FAQ Page: Difference between revisions
From Karteria DWRP Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
{{#cargo_query:tables=Events,Events__FAQ | {{#cargo_query:tables=Events,Events__FAQ | ||
|fields=IF( | |fields=IF( _pageName = 'Lemonade', 'One dollar', IF ( _pageName = 'Fruit punch', 'Two dollars', 'Three dollars' ) )=Price | ||
|where=_pageName = 'Log - April 2025' | |where=_pageName = 'Log - April 2025' | ||
|join on=Events._ID=Events__FAQ._rowID | |join on=Events._ID=Events__FAQ._rowID | ||
| Line 13: | Line 13: | ||
'''Event FAQs:''' {{#arraymap: {{#cargo_query:tables=Events,Events__FAQ | '''Event FAQs:''' {{#arraymap: {{#cargo_query:tables=Events,Events__FAQ | ||
|fields=Events__FAQ._value | |fields=Events__FAQ._value | ||
Revision as of 10:52, 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.