This is the template test cases page for the sandbox of Template:Transclude random excerpt. 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 and parsers with these links: |
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}}
{{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=}}
{{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
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=}}
{{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=}}
{{Transclude random excerpt}} | {{Transclude random excerpt/sandbox}} |
---|---|
Template in image caption not processed correctly
Caption should be:
Right to left:
- The Capture of the 'Nuestra Señora de Covadonga' (20 April 1743)
- The Battle of Fontenoy (11 May 1745)
- The Battle of Hohenfriedberg (4 June 1745)
- The Siege of Bergen op Zoom (14 July – 18 September 1747)
Actual caption shows asterisks:
{{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:
{{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}}
{{Transclude random excerpt}} | {{Transclude random excerpt/sandbox}} |
---|---|
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.