Template:Linked/testcases
Appearance
This is the template test cases page for the sandbox of Template:Linked. 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 and parsers with these links: |
Wikilinks
[edit]{{Linked}}
{{Linked||Bar}}
{{Linked|Foo}}
{{Linked|Foo|Bar}}
{{Linked|[[Foo]]|Bar}}
{{Linked|:Foo}}
Files
[edit]{{Linked|File:Example.jpg}}
{{Linked|:File:Example.jpg}}
{{Linked|[[File:Example.jpg]]}}
{{Linked|[[:File:Example.jpg]]}}
Categories
[edit]{{Linked|Category:Food}}
{{Linked|:Category:Food}}
{{Linked|[[Category:X2]]}}
{{Linked|[[:Category:X2]]}}
HTTP links
[edit]{{Linked| http://example.org}}
{{Linked|http://example.org|Bar}}
{{Linked|[http://example.org Foo]|Bar}}
{{Linked|https://example.org}}
{{Linked|https://example.org|Bar}}
{{Linked|[https://example.org Foo]|Bar}}
Protocol-relative // links
[edit]{{Linked|//example.org}}
{{Linked|//example.org|Bar}}
{{Linked|[https://example.org Foo]|Bar}}