Template:FreedImg/testcases

From Wikisource
Jump to navigation Jump to search

Testing sandbox version[edit]

Code Main Sandbox
{{FI
 | file     = Iceberg.jpg
 | width    = 25%
}}
Iceberg.jpg
Iceberg.jpg
{{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
 | 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%
}}
Lua error in Module:FreedImg at line 134: The file parameter must be given (use "missing" if the image needs to be added later).
[[File:|512px|class=freedImg]]
Image missing
{{FI
 | file     = missing
 | width    = 25%
}}
An image should appear at this position in the text.
Broken image
{{FI
 | file     = This image does not exist.png
 | width    = 25%
}}
Lua error in Module:FreedImg at line 59: 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
The Evolution of Worlds 0236.jpg

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)
The Evolution of Worlds 0236.jpg

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)
The Evolution of Worlds 0236.jpg

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
The Evolution of Worlds 0236.jpg

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
The Evolution of Worlds 0236.jpg
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)
The Evolution of Worlds 0236.jpg
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)
The Evolution of Worlds 0236.jpg
Mars.
NORTH POLAR CAP.SOUTH POLAR CAP.
At maximum
At minimum
full extent of white
inner circle
At maximum
At minimum
white
nothing