Jump to content

Template:Transclude random excerpt/testcases

From Kenshi Wiki

Random cricket article from list

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

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}}
Cat is a Unique Recruit who is a little unhinged. He's a decent medic, but currently a prisoner of the Dust King in his Tower. He has a Dumb Personality. (Full article...) Cat is a Unique Recruit who is a little unhinged. He's a decent medic, but currently a prisoner of the Dust King in his Tower. He has a Dumb Personality. (Full article...)

Random article from a list that's totally rubbish

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

{{Transclude random excerpt|Apple|Banana|Cherry|Red link example|files=1 |more= |paragraphs=1 |showall=}}

Template in image caption not processed correctly

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

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

List

Show a list

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

References

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.