Diferencia entre revisiones de «Plantilla:URL»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(revert self; did not fix it)
(Add x prefix to avoid difficulties with URLs starting with a number, see talk page.)
Línea 1: Línea 1:
 
<includeonly>{{#if:{{{1|}}}|<!--
 
<includeonly>{{#if:{{{1|}}}|<!--
 
   --><span class="url"><!--
 
   --><span class="url"><!--
   -->{{#ifeq:{{#titleparts:{{lc:{{{1|}}}}}|1|1}}|{{lc:{{{1|}}}}}|<!-- work-around when titleparts doesn't accept the URL and returns the full string without a capital: don't attempt to transform the displayed URL
+
   -->{{#ifeq:{{#titleparts:{{lc:x{{{1|}}}}}|1|1}}|{{lc:x{{{1|}}}}}|<!-- work-around when titleparts doesn't accept the URL and returns the full string without a capital: don't attempt to transform the displayed URL
 
       -->[{{#if:1|{{{1|}}}}} {{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}|{{#if:1|{{{1|}}}}}}}]<!-- These "#if:1" pseudo-tests (always true) allow trimming leading spaces in their text parameter
 
       -->[{{#if:1|{{{1|}}}}} {{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}|{{#if:1|{{{1|}}}}}}}]<!-- These "#if:1" pseudo-tests (always true) allow trimming leading spaces in their text parameter
 
   -->|<!--
 
   -->|<!--

Revisión del 22:19 24 oct 2010

50px Template documentation[create]