Template:FreedImg/testcases
Jump to navigation
Jump to search
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: |
Testing sandbox version[edit]
Code | Main | Sandbox |
---|---|---|
{{FI | file = Iceberg.jpg | width = 25% }} |
||
{{FI | file = Iceberg.jpg | width = 25% | link = w:Iceberg{{!}}Iceberg article at Wikipedia | alt = WS Iceberg }} |
||
{{FI | file = Iceberg.jpg | width = 25% | alt = WS Iceberg }} |
||
{{FI | file = Iceberg.jpg | width = 25% | link = w:Iceberg{{!}}Iceberg article at Wikipedia }} |
||
{{FI | file = Iceberg.jpg | width = 25% | link = w:Iceberg{{!}}Iceberg article at Wikipedia | multicap = yes | caption = {{right|{{Smaller|From Iceberg at Wikipedia}}}} }} |
||
{{FI | 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> }} |
||
{{FI | type = score | width = 50% | file = <score>{ \clef bass \time 3/4 g,4 (b,4 [d4 f4 a4]) r4 \bar "|." }</score> }} |
||
Missing image | ||
{{FI | file = | width = 25% }} |
The file parameter must be given (use "missing" if the image needs to be added later) | The file parameter must be given (use "missing" if the image needs to be added later) |
Image missing | ||
{{FI | file = missing | width = 25% }} |
An image should appear at this position in the text.
|
An image should appear at this position in the text.
|
Broken image | ||
{{FI | file = This image does not exist.png | width = 25% }} |
The specified image (This image does not exist.png) does not exist
|
The specified image (This image does not exist.png) does not exist
|
- Breaks under Firefox browser:
- All examples below displays OK in
- Internet Explorer 11
- Opera 26
- Chrome/Chromium 36.1
- Caption span styled as display:inline (works in F/F)
- Caption span styled as display:block (works in F/F)
- Caption as DIV
Testing main template[edit]
- Breaks under Firefox browser:
- All examples below displays OK in
- Internet Explorer 11
- Opera 26
- Chrome/Chromium 36.1
- Caption span styled as display:inline (works in F/F)
- Caption span styled as display:block (works in F/F)