Template:User Data: Difference between revisions

Template page
(rm case-sensitivity, migrating to #switch)
(Adding gender and nogendercat params)
Line 8: Line 8:
|style="white-space: nowrap;" | '''Name'''
|style="white-space: nowrap;" | '''Name'''
| {{{name}}}
| {{{name}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{sex|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{gender|{{{sex|}}}}}}"
| '''Sex'''
| '''Gender'''
| {{{sex}}}
| {{{gender|{{{sex|}}}}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{born_day|}}}{{{born_month|}}}{{{born_year|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{born_day|}}}{{{born_month|}}}{{{born_year|}}}"
| '''Date of birth'''
| '''Date of birth'''
Line 95: Line 95:
   }}
   }}
   }}
   }}
   {{#if:{{{nosexcat|}}}
   {{#if:{{{nogendercat|{{{nosexcat|}}}}}}
   |
   |
   |{{#switch:{{{sex}}}
   |{{#switch:{{{gender|{{{sex|}}}}}}
       | male
       | male
       | Male=[[Category:Male Wikipedians|{{PAGENAME}}]]
       | Male=[[Category:Male Wikipedians|{{PAGENAME}}]]
Line 115: Line 115:
| photo=
| photo=
| name=
| name=
| sex=
| gender=
| age=
| age=
| born_day=
| born_day=
Line 137: Line 137:
| sok=
| sok=
| nocat=
| nocat=
| nosexcat=
| nogendercat=
| noflag=
| noflag=
| showEC=
| showEC=
Line 147: Line 147:
* '''photo''': The image filename only.
* '''photo''': The image filename only.
* '''name''': Full Name
* '''name''': Full Name
* '''sex''': <code>Male</code> or <code>Female</code>. This option will also place you in ''[[:Category:Male Wikipedians]]'' or ''[[:Category:Female Wikipedians]]''.
* '''gender''': <code>Male</code> or <code>Female</code>. This option will also place you in ''[[:Category:Male Wikipedians]]'' or ''[[:Category:Female Wikipedians]]''.
* '''sex:''': Alias for '''gender''', preserved for backwards compatibility.
* '''age''': Your age. Only used if one of '''born_day''', '''born_month''' and '''born_year''' isn't specified.
* '''age''': Your age. Only used if one of '''born_day''', '''born_month''' and '''born_year''' isn't specified.
* '''born_day''', '''born_month''' and '''born_year''': Your date of birth in numericals. If all three are specified, your age is calculated and shown as well.
* '''born_day''', '''born_month''' and '''born_year''': Your date of birth in numericals. If all three are specified, your age is calculated and shown as well.
Line 169: Line 170:
* '''sok''': Enter "Y" if you are a [[BW:STAR|Star of Kobol]] award "winner".
* '''sok''': Enter "Y" if you are a [[BW:STAR|Star of Kobol]] award "winner".
* '''nocat''': Enter "Y" if you don't want to be included in any category.
* '''nocat''': Enter "Y" if you don't want to be included in any category.
* '''nosexcat''': Enter "Y" if you don't want to be included in ''[[:Category:Male Wikipedians]]'' or ''[[:Category:Female Wikipedians]]''.
* '''nogendercat''': Enter "Y" if you don't want to be included in ''[[:Category:Male Wikipedians]]'' or ''[[:Category:Female Wikipedians]]''.
* '''nosexcat''': Alias for '''nogendercat''', preserved for backwards compatibility.
* '''noflag''': Enter "Y" if you don't want your country flag to show up.
* '''noflag''': Enter "Y" if you don't want your country flag to show up.
* '''showEC''': Enter "Y" if you want your edit count to be shown.
* '''showEC''': Enter "Y" if you want your edit count to be shown.

Revision as of 08:47, 2 May 2007


Documentation[edit]

This template is used on User pages for quick info about a BSG Wiki Member. It provides lower case parameters only. If you are not going to include any of these parameters, and you still want to be part of the "Category:Wikipedians", just insert [[Category:Wikipedians|{{PAGENAME}}]] somewhere on your userpage. Similarly, you can add yourself to Category:Female Wikipedians by using [[Category:Female Wikipedians|{{PAGENAME}}]].

Usage[edit]

{{User Data
| photo=
| name=
| gender=
| age=
| born_day=
| born_month=
| born_year=
| location=
| timezone=
| email=
| gmail=
| aim=
| icq=
| callsign=
| parents=
| siblings=
| children=
| marital status=
| occupation=
| rank= 
| countrycode=
| admin=
| sok=
| nocat=
| nogendercat=
| noflag=
| showEC=
| favepi=
}}

Optional parameters[edit]

  • photo: The image filename only.
  • name: Full Name
  • gender: Male or Female. This option will also place you in Category:Male Wikipedians or Category:Female Wikipedians.
  • sex:: Alias for gender, preserved for backwards compatibility.
  • age: Your age. Only used if one of born_day, born_month and born_year isn't specified.
  • born_day, born_month and born_year: Your date of birth in numericals. If all three are specified, your age is calculated and shown as well.
  • location: Where you live.
  • timezone: Your timezone (e.g. GMT +1)
  • email: Email Address
  • gmail: Google Username
  • aim: AIM Username
  • icq: ICQ Username
  • callsign: Online Nickname
  • parents: How many parents
  • siblings: How many siblings
  • children: How many children
  • marital status: Current marital status
  • occupation: What you do for a living
  • rank: Your "pretend" BSG Wiki Rank
  • countrycode: Your country code in all capital letters. Will show your flag if it's installed. If your flag is not installed, it will show "earth".
    • US, UK, or others. For a full listing of installed country codes, see here.
    • Earth as to indicate from the planet Earth
  • admin: Enter "Y" if you are an admin
  • sok: Enter "Y" if you are a Star of Kobol award "winner".
  • nocat: Enter "Y" if you don't want to be included in any category.
  • nogendercat: Enter "Y" if you don't want to be included in Category:Male Wikipedians or Category:Female Wikipedians.
  • nosexcat: Alias for nogendercat, preserved for backwards compatibility.
  • noflag: Enter "Y" if you don't want your country flag to show up.
  • showEC: Enter "Y" if you want your edit count to be shown.

Very Optional[edit]

  • favepi: Enter your favorite episode(s). If you have more than one, follow each one with <br />. You may wikify.