This is the template test cases page for the sandbox of Template:Portal pictures. 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: |
Different kinds of POTD
Other parameters
{{Portal pictures|2018-11-01|2019-11-01|caption1=[[w:Lorem ipsum|Lorem ipsum]] dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<div style="clear:both;"></div> |caption2=[[w:Lorem ipsum|Lorem ipsum]] dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<div style="clear:both;"></div> |credit1=Original by [[User:Gutza|Gutza]], modifications by [[User:Centrx|Centrx]] |credit2=Credit: [[User:W.|Wolfgang]] |i1=Example.jpg |i2=Example.png |title1=Example 1 |title2=Example 2}}
{{Portal pictures}}
{{Portal pictures|caption1=Should be first |caption2=Should be second |caption3=Should be third |caption4=Should be fourth |i1=Salmonlarvakils.jpg |i2=Pterois volitans Manado-e.jpg |i3=DiskuslaichaS.jpg |i4=Hungry koi.jpg}}
{{Portal pictures}}
File:Pterois volitans Manado-e.jpg
File:Pterois volitans Manado-e.jpg
|more=no
{{Portal pictures|2018-12-02|more=no}}
{{Portal pictures}}
{{Portal pictures|2018-12-02|function=slideShow |more=no}}
{{Portal pictures}}
Lua error: expandTemplate: template "POTD/2018-12-02" does not exist.
Lua error: expandTemplate: template "POTD/2018-12-02" does not exist.
Slide show tests
{{Portal pictures|2018-11-01|2019-11-01|caption1=[[w:Lorem ipsum|Lorem ipsum]] dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<div style="clear:both;"></div> |caption2=[[w:Lorem ipsum|Lorem ipsum]] dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<div style="clear:both;"></div> |credit1=Original by [[User:Gutza|Gutza]], modifications by [[User:Centrx|Centrx]] |credit2=Credit: [[User:W.|Wolfgang]] |function=slideShow |i1=Example.jpg |i2=Example.png |title1=Example 1 |title2=Example 2}}
{{Portal pictures}}
Lua error: expandTemplate: template "POTD/2018-11-01" does not exist.
Lua error: expandTemplate: template "POTD/2019-11-01" does not exist.
{{Portal pictures|2019-05-30|2019-05-29|2019-05-27|function=slideShow}}
{{Portal pictures}}
Lua error: expandTemplate: template "POTD/2019-05-29" does not exist.
Lua error: expandTemplate: template "POTD/2019-05-27" does not exist.
{{Portal pictures|2004-09-11|||||||||2013-10-28 |function=slideShow}}
{{Portal pictures}}
Lua error: expandTemplate: template "POTD/2004-09-11" does not exist.
Lua error: expandTemplate: template "POTD/2013-10-28" does not exist.
{{Portal pictures|2021-03-03|2021-02-13|function=slideShow}}
{{Portal pictures}}
Lua error: expandTemplate: template "POTD/2021-03-03" does not exist.
Lua error: expandTemplate: template "POTD/2021-03-03" does not exist.
Subpages tests
{{Portal pictures|2012-05-06|demoroot=Portal:Brazil |subpagemax=3}}
{{Portal pictures}}
Lua error: expandTemplate: template "Portal:Brazil/Selected picture/1" does not exist.
Lua error: expandTemplate: template "Portal:Brazil/Selected picture/1" does not exist.
{{Portal pictures|2012-05-06|demoroot=Portal:Brazil |function=slideShow |subpagemax=3}}
{{Portal pictures}}
Lua error: expandTemplate: template "POTD/2012-05-06" does not exist.
Lua error: expandTemplate: template "POTD/2012-05-06" does not exist.