Template:Film year/doc
Appearance
| This is a documentation subpage for Template:Film year. It may contain usage information, categories and other content that is not part of the original template page. |
| This template should always be substituted – use {{subst:Film year}}. Any accidental transclusions will be automatically substituted by a bot. |
This template creates a link to an article about a film, attempting to correctly guess the article name.
How it works
[edit]Consider the following input: {{Film year|Foo|1234}}
- Check if "Foo (1234 film)" exists, if so, return
[[Foo (1234 film)|Foo]] - Check if "Foo (film)" exists, if so, return
[[Foo (film)|Foo]] - Return
[[Foo]]
See also
[edit]- {{Film date}}
- {{Film show year}}