Difference between revisions of "Template:File/testcases"

From stoney cloud
Jump to: navigation, search
(Created page with "<noinclude>{{Template testcases notice}}</noinclude> <noinclude>{{Testcase |title=No parameter |<nowiki>{{File}}</nowiki> |{{File}} |{{File/sandbox}} }} {{Testcase |title=Parame...")
 
m (1 revision from gentoo-wiki:Template:File/testcases: import from wiki.gentoo.org)
 
(No difference)

Latest revision as of 09:26, 22 August 2014

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