Template:File/testcases

From stoney cloud
< Template:File
Revision as of 12:38, 23 August 2012 by Astaecker (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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