Module:New texts/doc
Appearance
Functions to provide lists of new works shown at {{new texts}} (and therefore also the Main page)
Add work data to Template:New texts/data/2024.json.
Archived data is pulled from Template:New texts/data/YYYY.json
.
Functions
[edit]new_texts
: function called by {{new texts}} for a list of recent new text- limit: how many items to show
- skip: how many items to skip
- data_source: alternative source base title for data (default is
Template:New texts/data
. Year and.json
are appended.
archive_list
: function called by {{new texts archive}} for a list of new texts by year- year: the year to show, omit for current year
- month: the month to show, omit for entire year
- data_source: alternative source base title for data (default is
Template:New texts/data
. Year and.json
are appended.