| This is a documentation subpage for Template:GA/Subtopic. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
editThis template validates Wikipedia:Good article nomination subtopics. It serves as a lookup list for GAN subtopics in templates such as {{GA nominee}}. A value passed to this template is matched to the valid subtopic name (or one of its variants), outputting the full name of the subtopic. An invalid value returns only whitespace. There are 32 valid GAN subtopics. For example, passing "langlit" returns "Language and literature", passing "Language and literature" returns "Language and literature", and passing "Xyzzy" returns an empty string. Example of validation: {{#ifeq: {{GA/Subtopic|{{{subtopic}}}}} | subtopic valid | subtopic invalid}}
The following are keywords for GA subtopics:
Agriculture, food and drink · Art and architecture · Computing and engineering · Transport · Geography · Places · Royalty, nobility and heraldry · World history · Language and literature · Mathematics and mathematicians · Film · Television · Media and drama · Albums · Songs · Music · Biology and medicine · Chemistry and materials science · Earth sciences · Physics and astronomy · Philosophy and religion · Culture, sociology and psychology · Education · Economics and business · Law · Magazines and print journalism · Politics and government · Football · Other sports · Recreation · Video games · Warfare