Difference between revisions of "Template:Infobox User/gender"
J McKalling (Talk | contribs) (Created page with "<includeonly> {{#switch: {{lc:{{{1|}}}}} | hide = {{categorizer|category=Hidden gender users|label=''hidden''|display=infobox|nocat={{{nocat|false}}}}} | male = {{categorizer|...") |
(No difference)
|
Revision as of 22:53, 1 January 2013
This template offers a multiple choice for defining the gender category of your userpage. It can also automatically categorize the page under that category.
Parameters
- The selected gender from the following values (no parameter name and values are case insensitive):
- male
- female
- hide
- any other (non)empty value defaults to: unknown
- nocat: Whether or not to suppress categorization under the chosen category (defaults to false, which means auto categorization).
Note: If you wish not to expose your gender, use the "hide" value.
Syntax
{{Infobox User/gender|value}}
Examples
Any of the above values may be used like this:
{{Infobox User/gender|male}} {{Infobox User/gender|female}}
The case of the value is not important:
{{Infobox User/gender|feMALE}}
- Female [list all]
If you don't want to expose your gender, you could specify "hide", like this:
{{Infobox User/gender|hide}}
- hidden [list all]
You may also leave your "gender" undefined (which would raise the Users of unknown gender maintenance task) by not specifying any valid value, so these all have the same result:
{{Infobox User/gender}} {{Infobox User/gender|}} {{Infobox User/gender|both}} {{Infobox User/gender|uncle}} {{Infobox User/gender|yellow}}
- unknown [list all]
The nocat parameter may be used to suppress automatic categorization like this (any value will do):
{{Infobox User/gender|male|nocat=true}}
This would render the same result as the first example above, but would not automatically categorize under Category:Male users. This feature works both on valid values and the maintenance task mentioned above.