Difference between revisions of "Template:IsDocSubpage"

From WPRDC Wiki
Jump to navigation Jump to search
>ExE Boss
(Extract doc subpage detection from {{Documentation subpage}})
 
>ExE Boss
(BREAKING CHANGE: Change the default of `false` to the empty string (match commons:Template:IsDocSubpage))
 
(One intermediate revision by the same user not shown)
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 {{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{int:lang}}|1|0}}
and {{#if:{{#invoke:Template translation|getLanguageSubpage}}|1|0}}
)
)
)<!--
)<!--
-->|{{{true|1}}}<!--
-->|{{{true|1}}}<!--
-->|{{{false|0}}}<!--
-->|{{{false|}}}<!--
-->}}</includeonly></onlyinclude>
-->}}</includeonly></onlyinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->

Latest revision as of 17:30, 12 June 2021

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.