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 with these links: |
{{FreedImg}} |
---|
{{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}} |
---|
{{FreedImg | file = Aldus leaf - Harvard Oriental Series.svg | width = 370px }} [[File:Aldus leaf - Harvard Oriental Series.svg|370px|center]] {{FreedImg}} {{FreedImg/sandbox}} |
{{FreedImg}} |
---|
{{FreedImg | file = Iceberg.jpg | width = 25% }} {{FreedImg}} {{FreedImg/sandbox}} |
{{FreedImg}} |
---|
{{FreedImg | file = Iceberg.jpg | width = 25% | link = w:Iceberg{{!}}Iceberg article at Wikipedia | alt = WS Iceberg }} {{FreedImg}} {{FreedImg/sandbox}} |
{{FreedImg}} |
---|
{{FreedImg | file = Iceberg.jpg | width = 25% | alt = WS Iceberg }} {{FreedImg}} {{FreedImg/sandbox}} |
{{FreedImg}} |
---|
{{FreedImg | file = Iceberg.jpg | width = 25% | link = w:Iceberg{{!}}Iceberg article at Wikipedia }} {{FreedImg}} {{FreedImg/sandbox}} |
{{FreedImg}} |
---|
{{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}} |
---|
{{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}} |
---|
{{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}} |
Missing image
[edit]{{FreedImg}} |
---|
{{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}} |
---|
{{FreedImg | file = missing | width = 25% }} {{FreedImg}} An image should appear at this position in the text.
{{FreedImg/sandbox}} An image should appear at this position in the text.
|
Broken image
[edit]{{FreedImg}} |
---|
{{FreedImg | file = This image does not exist.png | width = 25% }} {{FreedImg}} The specified image (This image does not exist.png) does not exist
{{FreedImg/sandbox}} The specified image (This image does not exist.png) does not exist
|
Breaks under Firefox browser
[edit]- All examples below display OK in
- Internet Explorer 11
- Opera 26
- Chrome/Chromium 36.1
{{FreedImg}} |
---|
{{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}} {{FreedImg/sandbox}} |
- Caption span styled as display
- inline (works in F/F)
{{FreedImg}} |
---|
{{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}} {{FreedImg/sandbox}} |
- Caption span styled as display
- block (works in F/F)
{{FreedImg}} |
---|
{{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}} {{FreedImg/sandbox}} |
- Caption as DIV
{{FreedImg}} |
---|
{{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}} {{FreedImg/sandbox}} |
- Large image
{{FreedImg}} |
---|
{{FreedImg | file = Hans Holbein the Younger - The Ambassadors - Google Art Project.jpg }} {{FreedImg}} {{FreedImg/sandbox}} |