Template:Transclude random excerpt/testcases
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 with these links: |
Random cricket article from list
lembaIf 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
lembaShould 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
lembaError: 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
lemba{{Transclude random excerpt|Apple|Banana|Cherry|Redlink|files=1|more=|paragraphs=1|showall=}}
{{Transclude random excerpt}} | {{Transclude random excerpt/sandbox}} |
---|---|
Template in image caption not processed correctly
lembaCaption 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
lembaImage 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
lembaShow 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
lembaThis 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.