Module:Carousel/testcases: Difference between revisions
Appearance
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
![]() | This is the template test cases page for the sandbox of Module:Carousel. 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: |
[[File:{{#invoke:carousel | main | name=54129 | switchsecs = 5}} | upright=2.27 | center | thumb | 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