Template:Ifsvg: Difference between revisions
Template page
More actions
fix |
m oop |
||
| Line 1: | Line 1: | ||
{{iffile | {{iffile | ||
| {{# | | {{#if: {{str endswith| {{PAGENAME}} | svg }} | {{{1|}}} | {{{2|}}} }} | ||
}} | |||
}}<noinclude> | }}<noinclude> | ||
Returns 1st param if the file is an SVG 2 otherwise | Returns 1st param if the file is an SVG 2 otherwise | ||