Template:ShowHeaderIfShorterPageIsExisting: Difference between revisions

From RadiWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
   {{#len:
   {{#len:
     {{CombineWithSeperator
     {{CombineWithSeperator
      |{{#ifexist:{{{1|}}|*}}
      |*
       |{{#ifexist:{{StripLastWord|{{{1|}}}}}|*}}
       |{{#ifexist:{{StripLastWord|{{{1|}}}}}|*}}
      |*
       |{{#ifexist:{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}|*}}
       |{{#ifexist:{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}|*}}
       |{{#ifexist:{{StripLastWord|{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}}}|*}}
       |{{#ifexist:{{StripLastWord|{{StripLastWord|{{StripLastWord|{{{1|}}}}}}}}}|*}}

Revision as of 19:45, 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.