Template:LGBTQ films list lead/sandbox
Appearance
This is a list of lesbian, gay, bisexual or transgender-related films. It contains theatrically released films that deal with important gay, lesbian, bisexual, or transgender characters or issues and may have same-sex romance or relationships as a plot device.
This is the template sandbox page for Template:LGBTQ films list lead (diff). |
Usage:
{{LGBTQ films list lead}}
: generally used.{{LGBTQ films list lead|excludeyear=true}}
: used for one case, List of LGBT-related films by year.
For usage in examples, the template can hard-code the year by using the second parameter or |year=
.
This template checks the last word of the page name for a year. If the page name doesn't end with a year and neither |year=
nor |excludeyear=
are set then it outputs an error, and automatically categorizes the page into Category:Errors reported by LGBTQ films list lead.