Template:FreedImg/testcases
| This is the template test cases page for the sandbox of Template:FreedImg. 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: |
{{FreedImg}}
{{FreedImg}}
The file parameter must be given (use "missing" if the image needs to be added later)
{{FreedImg/sandbox}}
The file parameter must be given (use "missing" if the image needs to be added later)
{{FreedImg
| file = Aldus leaf - Harvard Oriental Series.svg
| width = 370px
}}
[[File:Aldus leaf - Harvard Oriental Series.svg|370px|center]]
{{FreedImg}}

{{FreedImg/sandbox}}

{{FreedImg
| file = Iceberg.jpg
| width = 25%
| link = w:Iceberg{{!}}Iceberg article at Wikipedia
| alt = WS Iceberg
}}
{{FreedImg}}
{{FreedImg/sandbox}}
{{FreedImg
| file = Iceberg.jpg
| width = 25%
| alt = WS Iceberg
}}
{{FreedImg}}
{{FreedImg/sandbox}}
{{FreedImg
| file = Iceberg.jpg
| width = 25%
| link = w:Iceberg{{!}}Iceberg article at Wikipedia
}}
{{FreedImg}}
{{FreedImg/sandbox}}
{{FreedImg
| file = Iceberg.jpg
| width = 25%
| link = w:Iceberg{{!}}Iceberg article at Wikipedia
| multicap = yes
| caption = {{right|{{Smaller|From Iceberg at Wikipedia}}}}
}}
{{FreedImg}}
{{FreedImg/sandbox}}
{{FreedImg
| file = Iceberg.jpg
| width = 25%
| link = w:Iceberg{{!}}Iceberg article at Wikipedia
| multicap = yes
| caption = <span style="display:block;text-align:right;font-size:83%;">From Iceberg at Wikipedia</span>
}}
{{FreedImg}}
{{FreedImg/sandbox}}
{{FreedImg
| type = score
| width = 50%
| file = <score>{ \clef bass \time 3/4 g,4 (b,4 [d4 f4 a4]) r4 \bar "|." }</score>
}}
{{FreedImg}}
{{FreedImg/sandbox}}
{{FreedImg
| file = Iceberg.jpg
| width = 10%
| imgstyle = outline: solid 3px blue;
| caption = An iceberg
| tstyle = background-color: yellow;color: #202122; font-family:serif;
| cstyle = border: dashed 1px red; padding: 10px;
}}
{{FreedImg}}
{{FreedImg/sandbox}}
Missing image
[edit]{{FreedImg
| file =
| width = 25%
}}
{{FreedImg}}
The file parameter must be given (use "missing" if the image needs to be added later)
{{FreedImg/sandbox}}
The file parameter must be given (use "missing" if the image needs to be added later)
{{FreedImg
| file = missing
| width = 25%
}}
{{FreedImg}}
{{FreedImg/sandbox}}
Removed image
[edit]{{FreedImg
| file = removed
| width = 25%
}}
{{FreedImg}}
{{FreedImg/sandbox}}
{{FreedImg
| file = removed
| srcdoc = https://en.wikisource.org/wiki/Template:FreedImg/testcases
| width = 25%
}}
{{FreedImg}}
It can be viewed in the original at https://en.wikisource.org/wiki/Template:FreedImg/testcases.
{{FreedImg/sandbox}}
It can be viewed in the original at https://en.wikisource.org/wiki/Template:FreedImg/testcases.
Broken image
[edit]{{FreedImg
| file = This image does not exist.png
| width = 25%
}}
{{FreedImg}}
{{FreedImg/sandbox}}
Night mode inversion
[edit]<div class="skin-theme-clientpref-night" style="background: #101418; color: #eaecf0;">
{{FreedImg
| file = Decline and Fall, Waugh, 1928, frontispiece.svg
| width = 512px
| alt = <!--Alt text should go here.-->
| caption = The Wedding was an Unparalleled Success among the Lower Orders.
| night-mode-invert = false
}}
{{FreedImg
| file = Decline and Fall, Waugh, 1928, frontispiece.svg
| width = 512px
| alt = <!--Alt text should go here.-->
| caption = The Wedding was an Unparalleled Success among the Lower Orders.
| night-mode-invert = true
}}
</div>
{{FreedImg}}
{{FreedImg/sandbox}}
Breaks under Firefox browser
[edit]- All examples below display OK in
- Internet Explorer 11
- Opera 26
- Chrome/Chromium 36.1
{{FreedImg
| file = The Evolution of Worlds 0236.jpg
| width = 400px
| caption = {{small-caps|Mars.}}<br/>{{smaller|NORTH POLAR CAP.{{gap|100px}}SOUTH POLAR CAP.}}<br/><span style="font-size:69%;text-align:left;white-space:nowrap;"><span style="display:inline-block;padding-right:1em;width:22%;">At maximum<br/>At minimum</span><span style="display:inline-block;padding-right:1em;width:22%;">full extent of white<br/>inner circle</span><span style="display:inline-block;padding-left:1em;width:22%;">At maximum<br/>At minimum</span><span style="display:inline-block;padding-left:1em;width:22%;">white<br/>nothing</span></span>
}}
{{FreedImg}}
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimumfull extent of white
inner circleAt maximum
At minimumwhite
nothing
{{FreedImg/sandbox}}
- Caption span styled as display
- inline (works in F/F)
{{FreedImg
| file = The Evolution of Worlds 0236.jpg
| width = 400px
| caption = {{small-caps|Mars.}}<br/>{{smaller|NORTH POLAR CAP.{{gap|100px}}SOUTH POLAR CAP.}}<br/><span style="font-size:69%;text-align:left;white-space:nowrap;"><span style="display:inline-block;padding-right:1em;width:22%;">At maximum<br/>At minimum</span><span style="display:inline-block;padding-right:1em;width:22%;">full extent of white<br/>inner circle</span><span style="display:inline-block;padding-left:1em;width:22%;">At maximum<br/>At minimum</span><span style="display:inline-block;padding-left:1em;width:22%;">white<br/>nothing</span></span>
|sdisplay=inline
}}
{{FreedImg}}
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimumfull extent of white
inner circleAt maximum
At minimumwhite
nothing
{{FreedImg/sandbox}}
- Caption span styled as display
- block (works in F/F)
{{FreedImg
| file = The Evolution of Worlds 0236.jpg
| width = 400px
| caption = {{small-caps|Mars.}}<br/>{{smaller|NORTH POLAR CAP.{{gap|100px}}SOUTH POLAR CAP.}}<br/><span style="font-size:69%;text-align:left;white-space:nowrap;"><span style="display:inline-block;padding-right:1em;width:22%;">At maximum<br/>At minimum</span><span style="display:inline-block;padding-right:1em;width:22%;">full extent of white<br/>inner circle</span><span style="display:inline-block;padding-left:1em;width:22%;">At maximum<br/>At minimum</span><span style="display:inline-block;padding-left:1em;width:22%;">white<br/>nothing</span></span>
|sdisplay=block
}}
{{FreedImg}}
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimumfull extent of white
inner circleAt maximum
At minimumwhite
nothing
{{FreedImg/sandbox}}
- Caption as DIV
{{FreedImg
| file = The Evolution of Worlds 0236.jpg
| width = 400px
| multicap = yes
| caption = {{small-caps|Mars.}}<br/>{{smaller|NORTH POLAR CAP.{{gap|100px}}SOUTH POLAR CAP.}}<br/><span style="font-size:69%;text-align:left;white-space:nowrap;"><span style="display:inline-block;padding-right:1em;width:22%;">At maximum<br/>At minimum</span><span style="display:inline-block;padding-right:1em;width:22%;">full extent of white<br/>inner circle</span><span style="display:inline-block;padding-left:1em;width:22%;">At maximum<br/>At minimum</span><span style="display:inline-block;padding-left:1em;width:22%;">white<br/>nothing</span></span>
|sdisplay=block
}}
{{FreedImg}}
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimumfull extent of white
inner circleAt maximum
At minimumwhite
nothing
{{FreedImg/sandbox}}
- Large image
{{FreedImg
| file = Hans Holbein the Younger - The Ambassadors - Google Art Project.jpg
}}
{{FreedImg}}
{{FreedImg/sandbox}}