Module:Module introspection: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 158: | Line 158: | ||
'{| class="wikitable mw-collapsible"', | '{| class="wikitable mw-collapsible"', | ||
'|-', | '|-', | ||
'! colspan="2" style="font-size: 105%;" | ' .. string.format("Introspection summary for Module:%s ", module_name) | '! colspan="2" style="font-size: 105%;" | ' .. string.format("Introspection summary for Module:%s ", module_name), | ||
"|-", | "|-", | ||
'| style="vertical-align: top; border-right: none;" | ', | '| style="vertical-align: top; border-right: none;" | ', | ||
| Line 222: | Line 222: | ||
}) | }) | ||
-- Debugger option to show generated WikiText | |||
local wtext = yesno(frame.args["wtext"] or args["wtext"]) | |||
if wtext == true then | |||
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" | result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" | ||
end | end | ||