Jump to content

Template:Topic cat/file name

From Wikinews, the free news source you can write!

{{{1}}}

[edit] Template documentation

This template trims the file extension (the part after the last ".") off a file name.

Usage

Specify the file name as unnamed parameter.

Internals

Uses {{evalx}}. If there is no ".", returns the parameter unchanged. Can be used to produce a slightly civilized alt text when none is specified.