Template:File extension/doc

Usage
Get the extensions of the parameter:


 * the input. Optional. Defaults to the root page name, only in File, Index or Page namespace.