Module:Wikipedia ads/next id
Documentation for this module may be created at Module:Wikipedia ads/next id/doc
-- This module finds the next ID to be used in the list of ads. local LIST_MODULE = 'Module:Wikipedia ads/list' local p = {} function p.main() local list = require(LIST_MODULE) return list[#list].id + 1 end return p