Template:ShowHeaderIfShorterPageIsExisting: Difference between revisions

From RadiWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
   {{#len:
   {{#len:
     {{CombineWithSeperator
     {{CombineWithSeperator
       |{{#ifexist:{{StripLastWord|{{{1|}}}}}|*}}
       |{{#ifexist:{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|9}}|*}}
       |*
       |*
       |{{#ifexist:{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}|*}}
       |{{#ifexist:{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|8}}|*}}
       |{{#ifexist:{{StripLastWord|{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}}}|*}}
       |{{#ifexist:{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|7}}|*}}
       |{{#ifexist:{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}}}}}|*}}
       |{{#ifexist:{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|6}}|*}}
       |{{#ifexist:{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}}}}}}}|*}}
       |{{#ifexist:{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|5}}|*}}
       |{{#ifexist:{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}}}}}}}}}|*}}
      |{{#ifexist:{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|4}}|*}}
       |{{#ifexist:{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|3}}|*}}
      |{{#ifexist:{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|2}}|*}}
      |{{#ifexist:{{SelectFirstWords|{{StripLastWord|{{{1}}}}}|1}}|*}}
     }}
     }}
   }} > 0
   }} > 0
   |== {{{2|}}} ==
   |== {{{2|}}} ==
}}<noinclude>Determines if a shorter pagename version of the passed first argument is existing. If a shorter pagename is existing, the second passed argument is shown as a second level header.</noinclude>
}}<noinclude>Determines if a shorter pagename version of the passed first argument is existing. If a shorter pagename is existing, the second passed argument is shown as a second level header.</noinclude>

Latest revision as of 21:17, 13 February 2020

Determines if a shorter pagename version of the passed first argument is existing. If a shorter pagename is existing, the second passed argument is shown as a second level header.