Template:SongRow/doc

From Angelina Jordan Wiki
Revision as of 05:47, 12 November 2025 by Dcljr (talk | contribs) (basic copyedit)
This is a subpage documenting Template:SongRow. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

This is part of the templates specifying the {{SongsTable}} song listing, and has no meaningful use outside of that context.

Technical details

This songs listing with performances had the issue that it ran into size limitation in regards to template expansion. To get around this, a solution to render not all performance subtables during template expansion was found, where the performances subtables can be created by a gadget using Javascript via Cargo-query AJAX updates after the initial non-populated table is loaded. To limit the amount of these live Cargo queries, currently all tables with only one performance entry are created immediately, so that only those with 2 or more performances need to be queried on demand.

This solution is likely also close to the template expansion limit, so it might be necessary to delay all table renderings. For this to happen, find the two places in this template that start with {{#ifeq:{{#expr:{{{8}}} > 1}}|1|}}, and replace the " > 1" with " > 0".

See also