Template:URL: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Kkm010
(Undid revision 461903668 by Fryed-peach (talk))
meta>Fryed-peach
(Undid revision 462255478 by Kkm010 (talk))
Line 11: Line 11:
         -->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}
         -->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}
             -->{{lc:<!-- domain name in lowercase
             -->{{lc:<!-- domain name in lowercase
               -->{{#ifeq:{{lc:{{padleft:|4|{{#titleparts:{{{1|}}}|1|3}}}}}}|www.<!--
               -->{{#titleparts:{{{1|}}}|1|3}}<!--
              -->|{{Str right|{{#titleparts:{{{1|}}}|1|3}}|4}}<!--
              -->|{{#titleparts:{{{1|}}}|1|3}}<!--
              -->}}<!--
             -->}}<!--
             -->}}<!--
             -->{{#if:{{#titleparts:{{{1|}}}||4}}<!-- rest of the path
             -->{{#if:{{#titleparts:{{{1|}}}||4}}<!-- rest of the path
Line 25: Line 22:
         -->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}
         -->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}
             -->{{lc:<!-- domain name in lowercase
             -->{{lc:<!-- domain name in lowercase
               -->{{#ifeq:{{lc:{{padleft:|4|{{#titleparts:{{{1|}}}|1|1}}}}}}|www.<!--
               -->{{#titleparts:{{{1|}}}|1|1}}<!--
              -->|{{Str right|{{#titleparts:{{{1|}}}|1|1}}|4}}<!--
              -->|{{#titleparts:{{{1|}}}|1|1}}<!--
              -->}}<!--
             -->}}<!--
             -->}}<!--
             -->{{#if:{{#titleparts:{{{1|}}}||2}}<!-- rest of the path
             -->{{#if:{{#titleparts:{{{1|}}}||2}}<!-- rest of the path

Revision as of 14:42, 24 November 2011