Template:Catalog lookup link/testcases
Jump to navigation
Jump to search
| This is the template test cases page for the sandbox of Template:Catalog lookup link. Script error: No such module "Purge". 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: |
| null |
|---|
{{Catalog lookup link}}
|
| just items |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9}}
1, 2, 3, 4, 5, 6, 7, 8, 9 {{Catalog lookup link/sandbox}} 1, 2, 3, 4, 5, 6, 7, 8, 9 |
| just parameters |
|---|
{{Catalog lookup link|article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/}}
|
| missing item in middle |
|---|
{{Catalog lookup link|1|2|3|4||6|7|8|9}}
1, 2, 3, 4 {{Catalog lookup link/sandbox}} 1, 2, 3, 4 |
| article-link and article-name |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/}}
|
| only article-link |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|link-prefix=//en.wikipedia.org/wiki/}}
Wikipedia 1, 2, 3, 4, 5, 6, 7, 8, 9 |
| only article-name |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-name=WP|link-prefix=//en.wikipedia.org/wiki/}}
|
| neither article-link nor article-name |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|link-prefix=//en.wikipedia.org/wiki/}}
|
| article-postfix only |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-postfix=→|link-prefix=//en.wikipedia.org/wiki/}}
|
| with article-name, article-postfix, item-prefix, item-postfix, link-postfix |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|article-postfix=:|item-postfix=>|item-prefix=<|link-postfix=#hash|link-prefix=//en.wikipedia.org/wiki/}}
WP: <1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, <9> |
| without link-prefix, with article-postfix, item-prefix, item-postfix |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|article-postfix=:|item-postfix=>|item-prefix=<|link-postfix=#hash}}
WP: <1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, <9> {{Catalog lookup link/sandbox}} WP: <1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, <9> |
| list-leadout, list-separator |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/|list-leadout=and|list-separator= / }}
WP 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 and 9 |
| list-leadout with comma |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/|list-leadout=, and}}
WP 1, 2, 3, 4, 5, 6, 7, 8, and 9 |
| list-leadout with leadout-postfix |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|leadout-postfix=...|link-prefix=//en.wikipedia.org/wiki/|list-leadout=and}}
WP 1, 2, 3, 4, 5, 6, 7, 8 and...9 |
| url-access=free |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/|url-access=free}}
|
| enumerated url-access1=free; 2=subscription, 5=limited, 8=registration |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/|url-access1=free|url-access2=subscription|url-access5=limited|url-access8=registration}}
|
| enumerated url-access1=free; 2=subscription, 5=limited, 8=registration; allow_icons=free,subscription |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|allow_icons=free,subscription|article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/|url-access1=free|url-access2=subscription|url-access5=limited|url-access8=registration}}
|
| enumerated url-access1=free; 2=subscription, 5=limited, 8=registration; allow_icons=none |
|---|
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|allow_icons=none|article-link=Wikipedia|article-name=WP|link-prefix=//en.wikipedia.org/wiki/|url-access1=free|url-access2=subscription|url-access5=limited|url-access8=registration}}
|