Template:File/testcases

Template:Template testcases notice

No parameter
Wiki code
{{File}}

Main version Template:Error

Sandbox version


Parameter: 1. unnamed
Wiki code
{{File|filename}}

Main version Template:Error

Sandbox version


Parameter: 1. unnamed, 2. unnamed (empty), 3. unnamed
Wiki code
{{File|filename||<pre>
file content
  this
    that
</pre>}}

Main version
Filefilename

file content
  this
    that

Sandbox version


Parameter: 1. unnamed, 2. unnamed , 3. unnamed
Wiki code
{{File|filename|some description|<pre>
file content
  this
    that
</pre>}}

Main version
Filefilenamesome description

file content
  this
    that

Sandbox version
Last modified on 22 August 2014, at 09:26