Template:Ifpng/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Returns 1st param if the page is an PNG file, 2d parameter if it is a non-PNG file, nothing if it is not a file.

Usage

{{Ifpng/doc |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1value if trueemptyoptional
2value if falseemptyoptional

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: no user group specified