Template:Uses TemplateStyles: Difference between revisions

From CAPipedia
en>ExE Boss
en>Tacsipacsi
Undo revision 4680578 by ExE Boss (talk): neither this is the local configuration; furthermore, recreating the Lua logic in wikitext is a plain waste of efforts (not to mention that it’s not even correct: {{#if:}} simply tests emptiness, so the “and” in the middle ensures that it will always be truthy, no matter what the parameters are)
Line 1: Line 1:
<onlyinclude><includeonly>{{#invoke:Uses TemplateStyles|main}}{{#ifexpr:
<onlyinclude><includeonly>{{#invoke:Uses TemplateStyles|main}}</includeonly></onlyinclude>
{{#if:{{yesno|{{{nocat|}}}}}|0|1}}and{{#if:{{{1|}}}|1|0}}
|[[Category:{{#invoke:Data|Module:Uses TemplateStyles/config|default_category}}{{#translation:}}]]
}}</includeonly></onlyinclude>
{{Uses TemplateStyles|Template:Uses TemplateStyles/example.css|nocat=true}}
{{Uses TemplateStyles|Template:Uses TemplateStyles/example.css|nocat=true}}
{{documentation}}
{{documentation}}

Revision as of 14:47, 2 July 2021

Lua error in Module:Documentation at line 144: message: type error in message cfg.container (string expected, got nil).