Template:Source attribution/testcases

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
No carriage return after the template
{{Source attribution}} Test this string is on the same line

{{Source attribution}}

Public Domain This article incorporates text from this source, which is in the public domain. Test this string is on the same line

{{Source attribution/sandbox}}

Public Domain This article incorporates text from this source, which is in the public domain. Test this string is on the same line

No parameters
{{Source attribution|}}

{{Source attribution}}

Public Domain This article incorporates text from this source, which is in the public domain.

{{Source attribution/sandbox}}

Public Domain This article incorporates text from this source, which is in the public domain.

With an unnamed parameter
{{Source attribution|''Handbook to the cathedrals of England'', by Richard John (1869)}}

{{Source attribution}}

Public Domain This article incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

{{Source attribution/sandbox}}

Public Domain This article incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

With pl (Plural) and an unnamed parameter
{{Source attribution|''Handbook to the cathedrals of England'', by Richard John (1869)|pl=y}}

{{Source attribution}}

Public Domain This article incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

{{Source attribution/sandbox}}

Public Domain This article incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

With pl=yes (Plural) and an unnamed parameter
{{Source attribution|''Handbook to the cathedrals of England'', by Richard John (1869)|pl=yes}}

{{Source attribution}}

Public Domain This article incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

{{Source attribution/sandbox}}

Public Domain This article incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

With pl=y (Plural) and an unnamed parameter
{{Source attribution|pl=y |''Handbook to the cathedrals of England'', by Richard John (1869)}}; second book

{{Source attribution}}

Public Domain This article incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869); second book

{{Source attribution/sandbox}}

Public Domain This article incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869); second book

With plural=yes and an unnamed parameter
{{Source attribution|''Handbook to the cathedrals of England'', by Richard John (1869)|plural=yes}}

{{Source attribution}}

Public Domain This article incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

{{Source attribution/sandbox}}

Public Domain This article incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

With plural=y and an unnamed parameter
{{Source attribution|''Handbook to the cathedrals of England'', by Richard John (1869)|plural=y}}

{{Source attribution}}

Public Domain This article incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

{{Source attribution/sandbox}}

Public Domain This article incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

With sentence=yes and an unnamed parameter
{{Source attribution|''Handbook to the cathedrals of England'', by Richard John (1869)|sentence=yes}}

{{Source attribution}}

Public Domain One or more of the preceding sentences incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

{{Source attribution/sandbox}}

Public Domain One or more of the preceding sentences incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

With sentence=y and an unnamed parameter
{{Source attribution|''Handbook to the cathedrals of England'', by Richard John (1869)|sentence=y}}

{{Source attribution}}

Public Domain One or more of the preceding sentences incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

{{Source attribution/sandbox}}

Public Domain One or more of the preceding sentences incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

With inline=y and an unnamed parameter
{{Source attribution|''Handbook to the cathedrals of England'', by Richard John (1869)|inline=y}}

{{Source attribution}}

Public Domain One or more of the preceding sentences incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

{{Source attribution/sandbox}}

Public Domain One or more of the preceding sentences incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

With noicon=y and an unnamed parameter
{{Source attribution|''Handbook to the cathedrals of England'', by Richard John (1869)|noicon=y}}

{{Source attribution}}

This article incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

{{Source attribution/sandbox}}

This article incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)
All options set
{{Source attribution|''Handbook to the cathedrals of England'', by Richard John (1869)|inline=y |noicon=y |plural=y}}

{{Source attribution}}

One or more of the preceding sentences incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869)

{{Source attribution/sandbox}}

One or more of the preceding sentences incorporates text from these sources, which are in the public domain: Handbook to the cathedrals of England, by Richard John (1869)