45,647
edits
No edit summary |
No edit summary |
||
Line 74: | Line 74: | ||
-- This is the only function that can be invoked from a template. | -- This is the only function that can be invoked from a template. | ||
function export.show(frame) | function export.show(frame) | ||
if NAMESPACE == "Template" and | if NAMESPACE == "Template" and SUBPAGENAME ~= "doc" then return end | ||
local parent_args = frame:getParent().args | local parent_args = frame:getParent().args | ||