Template:YearPage
From FictionBase
Usage:
If used on a page named "2022" inside the Year namespace (e.g. Year:2022), you can simply use:
Error 1054: Unknown column 'YearPage' in 'where clause'
Function: CargoSQLQuery::run Query: SELECT `Stories`.`_pageID` AS `cargo_backlink_page_id_Stories`,`Title` AS `title`,`_pageName` AS `page`,`Author` AS `author`,`Publication` AS `publication`,`Year` AS `year`,`Words` AS `words`,`Genres__full` AS `genres`,`Tags__full` AS `tags` FROM `cargo__Stories` `Stories` WHERE Year=YearPage ORDER BY `Title` LIMIT 100
It will automatically use the page name as the year.