![](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
See doc at Template:Contentious topics/aware/doc
local p = {}local getArgs = require('Module:Arguments').getArgsfunction p.detect(frame)local titlelocal args = getArgs(frame)if args.testTitle thentitle = mw.title.new(args.testTitle)elsetitle = mw.title.getCurrentTitle()endlocal content = title:getContent() or ''local codes = string.match(content, "{{%s-[cC]ontentious [tT]opics/[aA]ware%s-|([^}]-)}}")local shortcutCodes = string.match(content, "{{%s-[cC][tT]/[aA]ware%s-|([^}]-)}}")local dsCodes = string.match(content, "{{%s-D[sS]/[aA]ware%s-|([^}]-)}}")if (not codes) and (not dsCodes) and (not shortcutCodes) then return endlocal textif ( codes ) thentext = p._listToText(frame, mw.text.split(codes, "|"))elseif ( dsCodes ) thentext = p._listToText(frame, mw.text.split(dsCodes, "|"))elsetext = p._listToText(frame, mw.text.split(shortcutCodes, "|"))endreturn frame:preprocess("<div style = 'font-weight: bold'>It is not necessary to notify this user about the following topics being contentious topics:"..text.."\n The user has indicated that they are already aware using the template <nowiki>{{Contentious topics/aware}}</nowiki> on their talk page.</div>")endfunction p.listToText(frame)return p._listToText(frame, getArgs(frame))endfunction p._listToText(frame, t)local new = {}local t = require('Module:TableTools').compressSparseArray(t)for i,v in ipairs(t) dotable.insert(new, frame:expandTemplate{title = 'Contentious_topics/list', args = {["scope"] = v}})endreturn '\n*'..table.concat(new, '\n*')endreturn p
🔥 Top keywords: Main PageSpecial:SearchPage 3Wikipedia:Featured picturesHouse of the DragonUEFA Euro 2024Bryson DeChambeauJuneteenthInside Out 2Eid al-AdhaCleopatraDeaths in 2024Merrily We Roll Along (musical)Jonathan GroffJude Bellingham.xxx77th Tony AwardsBridgertonGary PlauchéKylian MbappéDaniel RadcliffeUEFA European Championship2024 ICC Men's T20 World CupUnit 731The Boys (TV series)Rory McIlroyN'Golo KantéUEFA Euro 2020YouTubeRomelu LukakuOpinion polling for the 2024 United Kingdom general electionThe Boys season 4Romania national football teamNicola CoughlanStereophonic (play)Gene WilderErin DarkeAntoine GriezmannProject 2025