Template:User Data: Difference between revisions

Template page
(adding new params)
(rm case-sensitivity, migrating to #switch)
Line 97: Line 97:
   {{#if:{{{nosexcat|}}}
   {{#if:{{{nosexcat|}}}
   |
   |
   |{{#ifeq:{{{sex}}}|Male|[[Category:Male Wikipedians|{{PAGENAME}}]]}}
   |{{#switch:{{{sex}}}
  {{#ifeq:{{{sex}}}|Female|[[Category:Female Wikipedians|{{PAGENAME}}]]}}
      | male
      | Male=[[Category:Male Wikipedians|{{PAGENAME}}]]
      | female
      | Female=[[Category:Female Wikipedians|{{PAGENAME}}]]
      | #default=
      }}
   }}
   }}
}}
}}
Line 142: 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]]''. This option is case-sensitive.
* '''sex''': <code>Male</code> or <code>Female</code>. This option will also place you in ''[[:Category:Male Wikipedians]]'' or ''[[:Category:Female Wikipedians]]''.
* '''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.

Revision as of 10:14, 1 May 2007


Documentation

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

{{User Data
| photo=
| name=
| sex=
| 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=
| nosexcat=
| noflag=
| showEC=
| favepi=
}}

Optional parameters

  • photo: The image filename only.
  • name: Full Name
  • sex: Male or Female. This option will also place you in Category:Male Wikipedians or Category:Female Wikipedians.
  • 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.
  • nosexcat: Enter "Y" if you don't want to be included in Category:Male Wikipedians or Category:Female Wikipedians.
  • 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

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