Widget:NewsLanding/LatestNews/LoadMore: Revision history

From TwogPedia

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

12 February 2024

  • curprev 14:3714:37, 12 February 2024Couchor talk contribs 1,158 bytes +1,158 Created page with "<script> function loadMore() { var parameters = ''; var list = document.querySelector(".news-latest") if ( !list ) return var offset = parseInt(list.dataset.offset); var category = list.dataset.category; // Use the selected template as a parameter in the parser function var parserFunction = "{{NewsLanding/LatestNews|category=" + category + "|offset=" + offset + "}}"; // Replace the content in the dynamic content container with the parsed template..."