Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:User Data: Difference between revisions

Template page
More languages
Shane (talk | contribs)
LIMAFOX76 (talk | contribs)
m Text replacement - "\[\[es\:(.*)\]\]" to ""
 
(67 intermediate revisions by 12 users not shown)
Line 4: Line 4:
| colspan="2" style="text-align: center; font-size: larger;" | '''{{PAGENAME}}'''
| colspan="2" style="text-align: center; font-size: larger;" | '''{{PAGENAME}}'''
|- class="hiddenStructure{{{photo|}}}"
|- class="hiddenStructure{{{photo|}}}"
| colspan="2" style="padding: 1em 0; text-align: center;" | [[Image:{{{photo}}}|200px]]
| colspan="2" style="padding: 1em 0; text-align: center;" | [[Image:{{{photo}}}|200px|{{PAGENAME}}]]
|- class="hiddenStructure{{{away|}}}"
| colspan="2" style="text-align:center; font-size: large;" | '''This user is {{#if:{{{awayid|}}}|[[#{{{awayid}}}|away]]|away}}'''
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{name|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{name|}}}"
|style="white-space: nowrap;"|'''Name'''
|style="white-space: nowrap;" | '''Name'''
| {{{name}}}
| {{{name}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{age|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{gender|}}}"
| '''Gender'''
| {{{gender|}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{born_day|}}}{{{born_month|}}}{{{born_year|}}}"
| '''Date of birth'''
| {{#if:{{{born_month|}}}|{{MONTHNAME|{{{born_month|}}}}}}} {{{born_day|}}}{{#if:{{{born_year|}}}|, {{{born_year|}}}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{age|}}}{{#ifeq:{{#expr:{{#if:{{{born_day|}}}|1|0}}+{{#if:{{{born_month|}}}|1|0}}+{{#if:{{{born_year|}}}|1|0}}}}|3|a}}"
| '''Age'''
| '''Age'''
| {{{age}}}
| {{#ifeq:{{#expr:{{#if:{{{born_day|}}}|1|0}}+{{#if:{{{born_month|}}}|1|0}}+{{#if:{{{born_year|}}}|1|0}}}}|3|{{age|{{{born_year}}}|{{{born_month}}}|{{{born_day}}}}}|{{{age}}}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{location|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{location|}}}"
| '''Location'''
| '''Location'''
| {{{location}}}
| {{{location}}}
{{#if:{{{noflag|}}}
|
| {{#if:{{{countrycode|}}}
| {{!}}- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{countrycode|}}}"
{{!}} '''Country'''
{{!}} {{flag|{{{countrycode}}}}}
}}
}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{timezone|}}}"
| '''Timezone'''
| {{{timezone}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{email|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{email|}}}"
|style="white-space: nowrap;"| '''Email'''  
| style="white-space: nowrap;" | '''Email'''  
|{{{email}}}
| {{{email}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{gmail|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{gmail|}}}"
|style="white-space: nowrap;"|'''Gmail/GTalk'''
| style="white-space: nowrap;" |'''Gmail/GTalk'''
| {{{gmail}}}
| {{{gmail}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{aim|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{aim|}}}"
|style="white-space: nowrap;"|'''AIM'''
| style="white-space: nowrap;" |'''AIM'''
| {{{aim}}}
| {{{aim}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{icq|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{icq|}}}"
|style="white-space: nowrap;"|'''ICQ'''
| style="white-space: nowrap;" |'''ICQ'''
| {{{icq}}}
| {{{icq}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{twitter|}}}"
| style="white-space: nowrap;" |'''Twitter'''
| {{{twitter}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{callsign|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{callsign|}}}"
| '''Callsign'''
| '''Callsign'''
Line 39: Line 61:
| {{{children}}}
| {{{children}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{marital status|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{marital status|}}}"
|style="white-space: nowrap;"|'''Marital Status'''
| style="white-space: nowrap;" |'''Marital Status'''
| {{{marital status}}}
| {{{marital status}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{occupation|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{occupation|}}}"
|'''Occupation'''
| '''Occupation'''
|{{{occupation}}}
| {{{occupation}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{rank|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{rank|}}}"
| '''Rank'''
| '''Rank'''
| {{{rank}}}
| {{{rank}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{sok|}}}"
| colspan="2" align="center" | [[Image:SOK-Pip.png|15px]] '''Star of Kobol'''
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{admin|}}}"
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{admin|}}}"
| colspan="2"| {{PAGENAME}} is an [[Battlestar Wiki:Administrators|Administrator]]
| colspan="2" | {{PAGENAME}} is a [[Battlestar Wiki:Administrators|Chief]]
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{bcrat|}}}"
| colspan="2" | {{PAGENAME}} is a [[Battlestar Wiki:Bureaucrats|Senior Chief]]
|- class="hiddenStructure{{{wgastrike|}}}"
| colspan="2" style="text-align: center;" | [[Image:WGA-support.jpg]]
|- class="hiddenStructure{{{wgastrike|}}}"
| colspan="2" style="text-align: center;" | {{PAGENAME}} supported the 2007 [http://www.fans4writers.com/ WGA strike].
{{#ifeq:{{#expr:({{#if:{{{favepi|}}}|1|0}}) >= 1|1|0}}|1|
{{!}}- style="text-align:center;"
! class="infoboxheader" colspan="2" {{!}} '''Battlestar Galactica'''
{{#if:{{{favepi|}}}| {{!}}- style="vertical-align: top;"
{{!}} style="white-space: nowrap;" {{!}} '''Favorite Episode(s)'''
{{!}} style="white-space: nowrap;" {{!}} {{{favepi}}}
}}
}}
|}
|}
{{#if:{{{nocat|}}}
{{#if:{{{nocat|}}}
| <!-- THEN: -->
| <!-- THEN: -->
| [[Category:Wikipedians|{{PAGENAME}}]] {{#if:{{{countrycode|}}}|[[Category:Wikipedians ({{{countrycode|}}})|{{PAGENAME}}]]|<!-- ELSE: --> }}
| <!-- ELSE: --> [[Category:Galactipedian|{{PAGENAME}}]]
  {{#ifexist:Template:country flag alias {{{countrycode}}}
  | <!-- THEN: -->
  {{#if:{{{countrycode|}}}
  | <!-- THEN: -->[[Category:Galactipedian ({{{countrycode|}}})|{{PAGENAME}}]]
  | <!-- ELSE: -->
  }}
  | <!-- ELSE: -->
  {{#if:{{{countrycode|}}}
  | <!-- THEN: -->{{#ifexist:Category:Galactipedian ({{{countrycode}}})|[[Category:Galactipedian ({{{countrycode|}}})|{{PAGENAME}}]]}}
  | <!-- ELSE: -->
  }}
  }}
  {{#if:{{{nogendercat|}}}
  |
  |{{#switch:{{{gender|}}}
      | male
      | Male=[[Category:Male Galactipedian|{{PAGENAME}}]]
      | female
      | Female=[[Category:Female Galactipedian|{{PAGENAME}}]]
      | #default=
      }}
  }}
  {{#if:{{{wgastrike|}}}|[[Category:Users supporting the WGA strike|{{PAGENAME}}]]}}
}}
}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
= Documentation =
= 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 <code><nowiki>[[Category:Wikipedians|{{PAGENAME}}]]</nowiki></code> somewhere on your userpage.
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:Galactipedian]]", just insert <code><nowiki>[[Category:Galactipedian|{{PAGENAME}}]]</nowiki></code> somewhere on your userpage. Similarly, you can add yourself to [[:Category:Female Galactipedian]] or [[:Category:Male Galactipedian]] by using <code><nowiki>[[Category:Female Galactipedian|{{PAGENAME}}]]</nowiki></code> or <code><nowiki>[[Category:Male Galactipedian|{{PAGENAME}}]]</nowiki></code>.<br/>
If you rather see yourself as a universal Wikipedia user, you can also add yourself to "[[:Category:Wikipedians]]" with <code><nowiki>[[Category:Wikipedians|{{PAGENAME}}]]</nowiki></code>


== Usage ==
== Usage ==
<pre>{{User Data
<pre>{{User Data
| name=
| photo=
| photo=
| name=
| gender=
| age=
| location=
| location=
| email=
| countrycode=
| gmail=
| timezone=
| aim=
| icq=
| callsign=
| callsign=
| parents=
| siblings=
| children=
| marital status=
| occupation=
| rank=  
| rank=  
| countrycode=
| favepi=
| admin=
| showEC=
| nocat=
| away=
| awayid=
| wgastrike=
}}
}}
</pre>
</pre>
Line 85: Line 142:
* '''photo''': The image filename only.
* '''photo''': The image filename only.
* '''name''': Full Name
* '''name''': Full Name
* '''age''': Your Age
* '''gender''': <code>Male</code> or <code>Female</code>. This option will also place you in ''[[:Category:Male Galactipedian]]'' or ''[[:Category:Female Galactipedian]]''.
** '''We like to stress that this is the most optional field here. Leaving this blank is OK. You will not be punished for leaving this blank.'''
* '''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.
* '''location''': Where you live.
* '''timezone''': Your timezone (e.g. <code>GMT +1</code>)
* '''email''': Email Address
* '''email''': Email Address
* '''gmail''': Google Username
* '''gmail''': Google Username
* '''aim''': AIM Username
* '''aim''': AIM Username
* '''icq''': ICQ Username
* '''icq''': ICQ Username
* '''twitter''': Twitter username
* '''callsign''': Online Nickname
* '''callsign''': Online Nickname
* '''parents''': How many parents
* '''parents''': How many parents
Line 98: Line 160:
* '''occupation''': What you do for a living
* '''occupation''': What you do for a living
* '''rank''': Your "pretend" BSG Wiki Rank
* '''rank''': Your "pretend" BSG Wiki Rank
* '''countrycode''': Your country code in all capitol letters.
* '''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".
** <code>US</code>, <code>UK</code>, or others. For a full listing of possible country codes please visit [http://www.iana.org/cctld/cctld-whois.htm IANA's Root-Zone Index].
** <code>US</code>, <code>UK</code>, or others. For a full listing of installed country codes, see [[Template:Country_flag|here]].
* '''admin''': Enter "Y" if you are an admin
** <code>Earth</code> as to indicate from the planet Earth
* '''nocat''': Enter "Y" if you don't want to be included in the ''[[:Category:Wikipedians]]''.
* '''admin''': Enter "Y" if you are an Chief.
* '''bcrat''': Enter "Y" if you are a Senior Chief.  
** Note: If you are a senior chief, you don't need to declare the "admin" field.
* '''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.
* '''nogendercat''': Enter "Y" if you don't want to be included in ''[[:Category:Male Galactipedian]]'' or ''[[:Category:Female Galactipedian]]''.
* '''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.
* '''away''': Enter "Y" if you want a "This user is away" message to be shown.
** '''awayid''': If you have provided additional information on your absence in a section on your user page or in a message box, set this parameter to the name of the section or the ID of the message box (see also the id parameter in [[Template:Message box]]), and the word "away" will link to it. If this parameter is not set, the word "away" will not be linked.
* '''wgastrike''': Set to <code>Y</code> if you support the [[w:2007 Writers Guild of America strike|WGA strike]]. To use the WGA support image somewhere else on your user page, use {{tl|WGA strike}}.
 
=== Very Optional ===
* '''favepi''': Enter your favorite episode(s). If you have more than one, follow each one with <code><nowiki><br /></nowiki></code>. You may wikify.
 
[[Category:Infobox|User]]
[[Category:Infobox|User]]
[[Category:Templates using ParserFunctions|User Data]]
[[de:Vorlage:Userdaten]]
[[de:Vorlage:Userdaten]]
[[es:Plantilla:Character Data]]
 
[[fr:Modèle:Données utilisateur]]
</noinclude>
</noinclude>

Latest revision as of 20:33, 23 June 2020


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:Galactipedian", just insert [[Category:Galactipedian|{{PAGENAME}}]] somewhere on your userpage. Similarly, you can add yourself to Category:Female Galactipedian or Category:Male Galactipedian by using [[Category:Female Galactipedian|{{PAGENAME}}]] or [[Category:Male Galactipedian|{{PAGENAME}}]].
If you rather see yourself as a universal Wikipedia user, you can also add yourself to "Category:Wikipedians" with [[Category:Wikipedians|{{PAGENAME}}]]

Usage[edit]

{{User Data
| name= 
| photo=
| gender=
| location=
| countrycode=
| timezone=
| callsign=
| rank= 
| favepi=
| showEC=
| away=
| awayid=
| wgastrike=
}}

Optional parameters[edit]

  • photo: The image filename only.
  • name: Full Name
  • gender: Male or Female. This option will also place you in Category:Male Galactipedian or Category:Female Galactipedian.
    • We like to stress that this is the most optional field here. Leaving this blank is OK. You will not be punished for leaving this blank.
  • 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
  • twitter: Twitter 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 Chief.
  • bcrat: Enter "Y" if you are a Senior Chief.
    • Note: If you are a senior chief, you don't need to declare the "admin" field.
  • 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 Galactipedian or Category:Female Galactipedian.
  • 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.
  • away: Enter "Y" if you want a "This user is away" message to be shown.
    • awayid: If you have provided additional information on your absence in a section on your user page or in a message box, set this parameter to the name of the section or the ID of the message box (see also the id parameter in Template:Message box), and the word "away" will link to it. If this parameter is not set, the word "away" will not be linked.
  • wgastrike: Set to Y if you support the WGA strike. To use the WGA support image somewhere else on your user page, use {{WGA strike}}.

Very Optional[edit]

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