Template:Transclude random excerpt/testcases


Random cricket article from list

lemba

If it's always Cricket bat, be suspicious!

{{Transclude random excerpt|Cricket bat|List of Ashes series|Bodyline|Adelaide leak|Yorkshire captaincy affair of 1927|Leg before wicket|Sydney Riot of 1879|errors=1|files=1|more=|paragraphs=1,2,3}}
Side by side comparison
{{Transclude random excerpt}}{{Transclude random excerpt/sandbox}}
Excerpt error: No valid pages found
Excerpt error: No valid pages found

Random article from a list that's mainly rubbish

lemba

Should always be Cat or Dog

{{Transclude random excerpt| | || | || No title | No title | No title | No title | No title | No title| Cat| | | | | || No title | No title | No title | No title | No title | No title| Dog|errors=1|more=}}
Side by side comparison
{{Transclude random excerpt}}{{Transclude random excerpt/sandbox}}
Excerpt error: No valid pages found
Excerpt error: No valid pages found

Random article from a list that's totally rubbish

lemba

Error: no valid article

{{Transclude random excerpt| | | | | || No title | No title | No title | No title | No title | No title| | | | | || No title | No title | No title | No title | No title | No title|errors=1|more=}}
Side by side comparison
{{Transclude random excerpt}}{{Transclude random excerpt/sandbox}}
Excerpt error: No valid pages found
Excerpt error: No valid pages found

All articles

lemba
{{Transclude random excerpt|Apple|Banana|Cherry|Redlink|files=1|more=|paragraphs=1|showall=}}

Template in image caption not processed correctly

lemba

Caption should be:

Right to left:

Actual caption shows asterisks:

Side by side comparison
{{Transclude random excerpt}}{{Transclude random excerpt/sandbox}}

Another image caption problem

lemba

Image caption should be:

       Administrative Siberian Federal District
       Geographic Siberia
       North Asia, greatest extent of Siberia

Actual caption does not display:

Side by side comparison
{{Transclude random excerpt}}{{Transclude random excerpt/sandbox}}

Show a list

{{Transclude random excerpt|England|Northern Ireland|Scotland|Wales|No title|files=1|list=Other UK nations|more=|paragraphs=1}}

References

lemba

This section contains references and notes. It should be empty. If anything appears here then a template may need to be removed from the transcluded article.