Difference between revisions of "Template:IsDocSubpage"
Check {{#invoke:Template translation|getLanguageSubpage}} instead
>ExE Boss (Extract doc subpage detection from {{Documentation subpage}}) |
>ExE Boss (Check {{#invoke:Template translation|getLanguageSubpage}} instead) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{#ifexpr: ( | <onlyinclude><includeonly>{{#ifexpr: ( | ||
{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{{override|doc}}}|1|0}} or ( | {{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{override|doc}}}}}|1|0}} or ( | ||
{{#ifeq:{{lc:{{#titleparts:{{FULLPAGENAME}}|-1|-2}}}}|{{{override|doc}}}|1|0}} | {{#ifeq:{{lc:{{#titleparts:{{FULLPAGENAME}}|-1|-2}}}}|{{lc:{{{override|doc}}}}}|1|0}} | ||
and {{# | and {{#if:{{#invoke:Template translation|getLanguageSubpage}}|1|0}} | ||
) | ) | ||
)<!-- | )<!-- |