Template:File/testcases

From Gentoo Wiki
Jump to: navigation, search
Note
This is the template test case page for Template:File and its sandbox version. You may have to purge this page to update the examples.
No parameter
Wiki code {{File}}

Main version
{{File template error}}
Parameter 1. unnamed not defined. For correct usage see File template's documentation on the 1. unnamed parameter.
Sandbox version
Parameter: 1. unnamed
Wiki code {{File|filename}}

Main version
{{File template error}}
Parameter 3. unnamed not defined. For correct usage see File template's documentation on the 3. unnamed parameter.
Sandbox version


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

Main version
Filefilename

'"`UNIQ--pre-00000007-QINU`"'

This is a deprecated template and will be removed soon!!! Help us update this template!

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

'"`UNIQ--pre-0000000B-QINU`"'

This is a deprecated template and will be removed soon!!! Help us update this template!

Sandbox version