Plantilla:URL
Revisión del 15:24 25 oct 2021 de Museo8bits (discusión | contribs.) (Página creada con «<includeonly>{{#if:{{{1|}}}|<!-- --><span class="url"><!-- -->{{#ifeq:{{#titleparts:{{lc:x{{{1|}}}}}|1|1}}|{{lc:x{{{1|}}}}}|<!-- work-around when titleparts doesn't a…»)
Esta plantilla sirve para generar un enlace externo estandarizado.
Ejemplos
Código | Resultado |
---|---|
{{URL}} | {{URL|ejemplo.com|texto opcional}}
|
{{URL|}} | {{URL|ejemplo.com|texto opcional}}
|
{{URL|EJEMPLO.com}} | ejemplo.com |
{{URL|ejemplo.com}} | ejemplo.com |
{{URL|www.ejemplo.com}} | www.ejemplo.com |
{{URL|http://www.ejemplo.com}} | www.ejemplo.com |
{{URL|https://www.ejemplo.com}} | www.ejemplo.com |
{{URL|ftp://www.ejemplo.com}} | www.ejemplo.com |
{{URL|ftp://ftp.ejemplo.com}} | ftp.ejemplo.com |
{{URL|http://www.ejemplo.com/}} | www.ejemplo.com |
{{URL|http://www.ejemplo.com/path}} | www.ejemplo.com/path |
{{URL|www.ejemplo.com/foo}} | www.ejemplo.com/foo |
{{URL|http://www.ejemplo.com/foo|enlace}} | enlace |
{{URL|www.ejemplo.com/foo|enlace}} | enlace |
{{URL|http://www.ejemplo.com/path/}} | www.ejemplo.com/path/ |
{{URL|www.ejemplo.com/foo/}} | www.ejemplo.com/foo/ |
{{URL|1=http://www.ejemplo.com/path?section=17}} | www.ejemplo.com/path?section=17 |
{{URL|1=www.ejemplo.com/foo?page=42}} | www.ejemplo.com/foo?page=42 |
{{URL|http://www.ejemplo.com/foo/|enlace}} | enlace |
{{URL|www.ejemplo.com/foo/|enlace}} | enlace |