ข้ามไปเนื้อหา

แม่แบบ:Catalog lookup link/testcases

จากวิกิพีเดีย สารานุกรมเสรี
null
{{Catalog lookup link}}

{{Catalog lookup link}}


{{Catalog lookup link/sandbox}}


just items
{{Catalog lookup link|1|2|3|4|5|6|7|8|9}}

{{Catalog lookup link}}

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=https://en.wikipedia.org/wiki/}}

{{Catalog lookup link}}


{{Catalog lookup link/sandbox}}


missing item in middle
{{Catalog lookup link|1|2|3|4||6|7|8|9}}

{{Catalog lookup link}}

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=https://en.wikipedia.org/wiki/}}

{{Catalog lookup link}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9

{{Catalog lookup link/sandbox}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9

only article-link
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-link=Wikipedia|link-prefix=https://en.wikipedia.org/wiki/}}

{{Catalog lookup link}}

Wikipedia 1, 2, 3, 4, 5, 6, 7, 8, 9

{{Catalog lookup link/sandbox}}

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=https://en.wikipedia.org/wiki/}}

{{Catalog lookup link}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9

{{Catalog lookup link/sandbox}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9

neither article-link nor article-name
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|link-prefix=https://en.wikipedia.org/wiki/}}

{{Catalog lookup link}}

1, 2, 3, 4, 5, 6, 7, 8, 9

{{Catalog lookup link/sandbox}}

1, 2, 3, 4, 5, 6, 7, 8, 9

article-postfix only
{{Catalog lookup link|1|2|3|4|5|6|7|8|9|article-postfix=→|link-prefix=https://en.wikipedia.org/wiki/}}

{{Catalog lookup link}}

1, 2, 3, 4, 5, 6, 7, 8, 9

{{Catalog lookup link/sandbox}}

1, 2, 3, 4, 5, 6, 7, 8, 9

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=https://en.wikipedia.org/wiki/}}

{{Catalog lookup link}}

WP<1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, <9>

{{Catalog lookup link/sandbox}}

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}}

{{Catalog lookup link}}

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=https://en.wikipedia.org/wiki/|list-leadout=and|list-separator=&#32;/&#32;}}

{{Catalog lookup link}}

WP 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 and 9

{{Catalog lookup link/sandbox}}

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=https://en.wikipedia.org/wiki/|list-leadout=, and}}

{{Catalog lookup link}}

WP 1, 2, 3, 4, 5, 6, 7, 8, and 9

{{Catalog lookup link/sandbox}}

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=https://en.wikipedia.org/wiki/|list-leadout=and}}

{{Catalog lookup link}}

WP 1, 2, 3, 4, 5, 6, 7, 8 and...9

{{Catalog lookup link/sandbox}}

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=https://en.wikipedia.org/wiki/|url-access=free}}

{{Catalog lookup link}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9

{{Catalog lookup link/sandbox}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9

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=https://en.wikipedia.org/wiki/|url-access1=free|url-access2=subscription|url-access5=limited|url-access8=registration}}

{{Catalog lookup link}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9

{{Catalog lookup link/sandbox}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9

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=https://en.wikipedia.org/wiki/|url-access1=free|url-access2=subscription|url-access5=limited|url-access8=registration}}

{{Catalog lookup link}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9

{{Catalog lookup link/sandbox}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9

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=https://en.wikipedia.org/wiki/|url-access1=free|url-access2=subscription|url-access5=limited|url-access8=registration}}

{{Catalog lookup link}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9

{{Catalog lookup link/sandbox}}

WP 1, 2, 3, 4, 5, 6, 7, 8, 9