Template:File extension
Jump to navigation
Jump to search
This template uses Lua: |
Usage
[edit]Get the extensions of the parameter:
- 1 the input. Optional. Defaults to the root page name, only in File, Index or Page namespace.
Code | Result |
---|---|
{{File extension|Filename.pdf}}
|
|
{{File extension|Filename.djvu}}
|
djvu |
{{File extension|Filename.foobar.djvu}}
|
djvu |
{{File extension|Filename}}
|
|
{{File extension|File:Filename.pdf}}
|