Jump to content

Module:Carousel/testcases: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Pppery created the page Module:Carousel/testcases using a non-default content model "wikitext"
 
Add content removed from the talk page by Gonnym as proper testcases
 
Line 1: Line 1:
{{template test cases notice}}
<code><nowiki>[[File:{{#invoke:carousel | main | name=54129 | switchsecs = 5}} | upright=2.27 | center | thumb | message goes here]]</nowiki></code> → [[File:{{#invoke:carousel | main | name=54129 | switchsecs = 5}} | upright=2.27 | center | thumb | message goes here]]

* <code><nowiki>{{#invoke:carousel | main}}</nowiki></code> → {{#invoke:carousel | main}}
* <code><nowiki>{{#invoke:carousel | main | switchsecs = 10}}</nowiki></code> → {{#invoke:carousel | main | switchsecs = 10}}
* <code><nowiki>{{#invoke:carousel | main | name=Shonen | switchsecs = 5}}</nowiki></code> → {{#invoke:carousel | main | name=Shonen | switchsecs = 5}}
* <code><nowiki>{{#invoke:carousel | main | name= | switchsecs = 1}}</nowiki></code> → {{#invoke:carousel | main | name= | switchsecs = 1}}
* <code><nowiki>{{#invoke:carousel | main | name=54129 | switchsecs = 5}}</nowiki></code> → {{#invoke:carousel | main | name=54129 | switchsecs = 5}}

Latest revision as of 01:33, 26 October 2023

[[File:{{#invoke:carousel | main | name=54129 | switchsecs = 5}} | upright=2.27 | center | thumb | message goes here]]

message goes here
  • {{#invoke:carousel | main}}Lua error in mw.text.lua at line 25: bad argument #1 to 'match' (string expected, got nil).
  • {{#invoke:carousel | main | switchsecs = 10}}Lua error in mw.text.lua at line 25: bad argument #1 to 'match' (string expected, got nil).
  • {{#invoke:carousel | main | name=Shonen | switchsecs = 5}} → The Fairybread Barnstar.gif
  • {{#invoke:carousel | main | name= | switchsecs = 1}} → Komodo Dragon (2007).jpg
  • {{#invoke:carousel | main | name=54129 | switchsecs = 5}} → London_numberplate.jpg