Revision as of 17:43, 5 July 2024 by MarkWD(talk | contribs)(Created page with "local p = {} function p.showTemplate(frame) local templateName = frame.args[1] if not templateName then return "Error: No template name provided." end...")
Uses Scribunto to invoke the content of a template to an article without calling its categories.
localp={}functionp.showTemplate(frame)localtemplateName=frame.args[1]ifnottemplateNamethenreturn"Error: No template name provided."endlocaltemplateContent=mw.getCurrentFrame():expandTemplate{title=templateName}returntemplateContentendreturnp