සැකිල්ල:URL/testcases
This is the template test cases page for the sandbox of සැකිල්ල:URL. Purge this page to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
{{URL}}
{{URL|example.com}}
{{URL/sandbox}}
{{URL|example.com|optional display text}}
Warning examples
සංස්කරණයIf the URL may contain equal signs, the parameters should be numbered explicitly to have the template work as expected (otherwise, parameter value overrides may occur) ; this is more problematic when an explicit display text is provided in parameter 2.
There's absolutely never any problem when the parameter 2 is explicitly passed, but in this case, using this template is not even needed, and standard Wiki link syntax will be fully equivalent and in fact simpler to edit and faster to compute on the server.
Code | Result | Sandbox Result |
---|---|---|
{{URL| http://www.ex=ample.com}} | {{URL|example.com}}
|
www |
{{URL| http://www.ex=ample.com | example }} | example | example |
{{URL| 1=http://www.ex=ample.com | 2=example }} | example | example |
Word wrapping test
සංස්කරණයCode | Result | Sandbox Result | Manual invokation |
---|---|---|---|
{{URL| 1=http://www.example.com |2=Supercalifragilistic__expialidocious}} | Supercalifragilistic__expialidocious | Supercalifragilistic__expialidocious | Supercalifragilistic__expialidocious |
{{URL| 1=http://www.example.com |2=Supercalifragilistic//expialidocious}} | Supercalifragilistic//expialidocious | Supercalifragilistic//expialidocious | Supercalifragilistic//expialidocious |
{{URL| 1=http://www.example.com |2=Supercalifragilistic..expialidocious}} | Supercalifragilistic..expialidocious | Supercalifragilistic..expialidocious | Supercalifragilistic..expialidocious |
{{URL| 1=http://www.example.com |2=Supercalifragilistic##expialidocious}} | Supercalifragilistic##expialidocious | Supercalifragilistic##expialidocious | Supercalifragilistic##expialidocious |