Template:Ifsvg: Difference between revisions
Template page
More actions
fix |
fix |
||
| Line 1: | Line 1: | ||
{{iffile | {{#ifeq: {{lc: {{str endswith| {{PAGENAME}} }} | svg | {{iffile | ||
| {{#ifeq: | |||
{{lc: {{str endswith| {{PAGENAME}} }} }} | |||
| svg | |||
| {{{1|}}} | |||
| {{{2|}}} | |||
}} | |||
}}<noinclude> | |||
Returns 1st param if the file is an SVG 2 otherwise | Returns 1st param if the file is an SVG 2 otherwise | ||
[[Category:File namespace templates]] | [[Category:File namespace templates]] | ||
[[Category:SVG| ]] | [[Category:SVG| ]] | ||
</noinclude> | </noinclude> | ||
Revision as of 20:04, 17 November 2011
Returns 1st param if the file is an SVG 2 otherwise