Template:IsDocSubpage: Difference between revisions

From CAPipedia
en>ExE Boss
BREAKING CHANGE: Change the default of `false` to the empty string (match commons:Template:IsDocSubpage)
en>Tacsipacsi
use {{#translation:}}—it handles manual translations as well
Line 2: Line 2:
{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{override|doc}}}}}|1|0}} or (
{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{override|doc}}}}}|1|0}} or (
{{#ifeq:{{lc:{{#titleparts:{{FULLPAGENAME}}|-1|-2}}}}|{{lc:{{{override|doc}}}}}|1|0}}
{{#ifeq:{{lc:{{#titleparts:{{FULLPAGENAME}}|-1|-2}}}}|{{lc:{{{override|doc}}}}}|1|0}}
and {{#if:{{#invoke:Template translation|getLanguageSubpage}}|1|0}}
and {{#if:{{#translation:}}|1|0}}
)
)
)<!--
)<!--

Revision as of 07:02, 13 July 2022

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