Template:Infobox User/gender

From Twinsuniverse
< Template:Infobox User
Revision as of 22:09, 5 June 2014 by J McKalling (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Infobox User/gender
Purpose

Infobox [list all]

Single tag

No [list all]

Multi-line

No [list all]

Protected

No [list all]

Game related

Yes [list all]

Categorization
Suppressible

Recursively [list all]

Choice

No choice [list all]

Categories

Multiple: [list all]

Variables
Names

none [list all]

Subpages

This template automatically defines the gender category of a userpage. It can also automatically categorize the page under that category.

Parameters

  1. The username to automatically check the gender of (no parameter name, case sensitive)
  • nocat: Whether or not to suppress categorization under the chosen category (defaults to false, which means auto categorization).


Note: The gender will be determined according to the user's preference setting.

Syntax

To use, this template only requires a username.

{{Infobox User/gender|username}}

Examples

Depending on the chosen setting of the specified user, the result would be either:

{{Infobox User/gender|{{PAGENAME}}}}
Male [list all]
Female [list all]


If the user didn't disclose their gender, the result would be:

undisclosed [list all]


The nocat parameter may be used to suppress automatic categorization like this (any value will do):

{{Infobox User/gender|{{PAGENAME}}|nocat=true}}

This would render the same result as usual, but would not automatically categorize under the respective category. This feature works both on the specified and undisclosed settings.