Template:FreedImg/testcases

From Wikisource
Jump to navigation Jump to search

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
}}
WS Iceberg
WS Iceberg
{{FI
 | file     = Iceberg.jpg
 | width    = 25%
 | alt      = WS Iceberg
}}
WS Iceberg
WS Iceberg
{{FI
 | file     = Iceberg.jpg
 | width    = 25%
 | link     = w:Iceberg{{!}}Iceberg article at Wikipedia
}}
Iceberg article at Wikipedia
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}}}}
}}
Iceberg article at Wikipedia
From Iceberg at Wikipedia
Iceberg article at Wikipedia
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>
}}
Iceberg article at Wikipedia
From Iceberg at Wikipedia
Iceberg article at Wikipedia
From Iceberg at Wikipedia
{{FI
 | type  = score
 | width = 50%
 | file  = <score>{ \clef bass \time 3/4 g,4 (b,4 [d4 f4 a4]) r4 \bar "|." }</score>
}}
{ \clef bass \time 3/4 g,4 (b,4 [d4 f4 a4]) r4 \bar "|." }
{ \clef bass \time 3/4 g,4 (b,4 [d4 f4 a4]) r4 \bar "|." }
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
Mars.
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimum
full extent of white
inner circle
At maximum
At minimum
white
nothing
  • Caption span styled as display:inline (works in F/F)
Mars.
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimum
full extent of white
inner circle
At maximum
At minimum
white
nothing
  • Caption span styled as display:block (works in F/F)
Mars.
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimum
full extent of white
inner circle
At maximum
At minimum
white
nothing


  • Caption as DIV
Mars.
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimum
full extent of white
inner circle
At maximum
At minimum
white
nothing

Testing main template[edit]

  • Breaks under Firefox browser:
  • All examples below displays OK in
  • Internet Explorer 11
  • Opera 26
  • Chrome/Chromium 36.1
Mars.
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimum
full extent of white
inner circle
At maximum
At minimum
white
nothing
  • Caption span styled as display:inline (works in F/F)
Mars.
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimum
full extent of white
inner circle
At maximum
At minimum
white
nothing
  • Caption span styled as display:block (works in F/F)
Mars.
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimum
full extent of white
inner circle
At maximum
At minimum
white
nothing