Difference between revisions of "Template:Ifsvg"

From "PTTLink Wiki"
Jump to navigation Jump to search
Mediawiki>Minorax
m (Protected "Template:Ifsvg": Widely used template: 165928 transclusion(s) found. ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite)))
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)

Latest revision as of 07:59, 24 January 2022

not file

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Ifsvg/doc.

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

Usage

{{Ifsvg |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