Difference between revisions of "Template:ShowHeaderIfShorterPageIsExisting"

From RadiWiki
Jump to: navigation, search
Line 1: Line 1:
<!-- Create a Header if the passed or an even shorter page is existing. Recursive calling!! -->{{#ifexpr:{{#len:{{{1|}}}}} > 3|{{#ifexist:{{{1|}}}|== {{{2|}}} ==|{{ShowHeaderIfShorterPageIsExisting|{{StripLastWord|{{{1|}}}}}|{{{2|}}}}}}}}}
+
<!-- Create a Header if the passed or an even shorter page is existing. Recursive calling!! -->{{#ifexpr:{{#len:{{CombineWithSeparator|{{#ifexist:{{StripLastWord|{{{1|}}}}}|*}}|*|{{#ifexist:{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}|*}}|{{#ifexist:{{StripLastWord|{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}}}|*}}|{{#ifexist:{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}}}}}|*}}|{{#ifexist:{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}}}}}}|*}}|{{#ifexist:{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}}}}}}}}}|*}}   }} > 0|== {{{2|}}} ==}}

Revision as of 19:32, 13 February 2020