Basics

Mnemonic of this template's title related to its purpose: "m[an] w[oman]."

Defined values

Static input: male
Code Default result
{{mw|m}} m
{{mw|men}} m
{{mw|men's}} m
{{mw|male}} m
{{mw|boys}} m
{{mw|boys'}} m
Static input: female
Code Default result
{{mw|w}} f
{{mw|women}} f
{{mw|women's}} f
{{mw|f}} f
{{mw|female}} f
{{mw|girls}} f
{{mw|girls'}} f
Static input: other
Code Default result
{{mw|both}} both
{{mw|coed}} co-ed
{{mw|co-ed}} co-ed
{{mw|mixed}} mixed
{{mw|other}} other
{{mw|neutral}} neutral
{{mw|none}} none
Static input: blank
Code Default result
{{mw}}
{{mw|blank}}

Undefined values

Static input: undefined values
Code Default result
{{mw|yes}} undefined
{{mw|true}} undefined
{{mw|foo}} undefined
{{mw|bar}} undefined
{{mw|whatever}} undefined

Usage in templates

Example: Parameter |gender=

Basic usage
Template code Parameter input Result
{{mw|{{{gender|}}}}} male m
{{mw|{{{gender|}}}}} female f
{{mw|{{{gender|}}}}} mixed mixed
Overwrite output values
Template code Parameter input Result
{{mw|{{{gender|}}}|m=Gentlemen's|f=Ladies'|mixed=Mixed}} m Gentlemen's
{{mw|{{{gender|}}}|m=Gentlemen's|f=Ladies'|mixed=Mixed}} f Ladies'
{{mw|{{{gender|}}}|m=Gentlemen's|f=Ladies'|mixed=Mixed}} mixed Mixed
{{mw|{{{gender|}}}|m=Gentlemen's|f=Ladies'|mixed=Mixed}} other other