Toggle 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
Sasoriza (talk | contribs)
m →‎Very Optionial: sp. "Optionial" > "Optional"
LIMAFOX76 (talk | contribs)
m Text replacement - "\[\[es\:(.*)\]\]" to ""
 
(37 intermediate revisions by 11 users not shown)
Line 5: Line 5:
|- class="hiddenStructure{{{photo|}}}"
|- class="hiddenStructure{{{photo|}}}"
| colspan="2" style="padding: 1em 0; text-align: center;" | [[Image:{{{photo}}}|200px|{{PAGENAME}}]]
| 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'''
Line 22: Line 30:
}}
}}
}}
}}
|- 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'''  
Line 34: Line 45:
| 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 58: Line 72:
| colspan="2" align="center" | [[Image:SOK-Pip.png|15px]] '''Star of Kobol'''
| 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|  
{{#ifeq:{{#expr:({{#if:{{{favepi|}}}|1|0}}) >= 1|1|0}}|1|  
{{!}}- style="text-align:center;"
{{!}}- style="text-align:center;"
Line 64: Line 84:
{{#if:{{{favepi|}}}| {{!}}- style="vertical-align: top;"
{{#if:{{{favepi|}}}| {{!}}- style="vertical-align: top;"
{{!}} style="white-space: nowrap;" {{!}} '''Favorite Episode(s)'''
{{!}} style="white-space: nowrap;" {{!}} '''Favorite Episode(s)'''
{{!}} {{{favepi}}}
{{!}} style="white-space: nowrap;" {{!}} {{{favepi}}}
}}
}}
}}
}}
Line 70: Line 90:
{{#if:{{{nocat|}}}
{{#if:{{{nocat|}}}
| <!-- THEN: -->
| <!-- THEN: -->
| <!-- ELSE: --> [[Category:Wikipedians|{{PAGENAME}}]]
| <!-- ELSE: --> [[Category:Galactipedian|{{PAGENAME}}]]
   {{#ifexist:Template:country flag alias {{{countrycode}}}
   {{#ifexist:Template:country flag alias {{{countrycode}}}
   | <!-- THEN: -->
   | <!-- THEN: -->
   {{#if:{{{countrycode|}}}
   {{#if:{{{countrycode|}}}
   | <!-- THEN: -->[[Category:Wikipedians ({{{countrycode|}}})|{{PAGENAME}}]]
   | <!-- THEN: -->[[Category:Galactipedian ({{{countrycode|}}})|{{PAGENAME}}]]
   | <!-- ELSE: -->
   | <!-- ELSE: -->
   }}
   }}
   | <!-- ELSE: -->
   | <!-- ELSE: -->
   {{#if:{{{countrycode|}}}
   {{#if:{{{countrycode|}}}
   | <!-- THEN: -->{{#ifexist:Category:Wikipedians ({{{countrycode}}})|[[Category:Wikipedians ({{{countrycode|}}})|{{PAGENAME}}]]}}
   | <!-- THEN: -->{{#ifexist:Category:Galactipedian ({{{countrycode}}})|[[Category:Galactipedian ({{{countrycode|}}})|{{PAGENAME}}]]}}
   | <!-- ELSE: -->
   | <!-- 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=
| admin=
| sok=
| nocat=
| noflag=
| favepi=
| favepi=
| showEC=
| away=
| awayid=
| wgastrike=
}}
}}
</pre>
</pre>
Line 118: 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 131: 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. Will show your flag if it's installed. If your flag is not installed, it will show "earth".
* '''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]].
** <code>Earth</code> as to indicate from the planet Earth
** <code>Earth</code> as to indicate from the planet Earth
* '''admin''': Enter "Y" if you are an admin
* '''admin''': Enter "Y" if you are an Chief.
* '''sok''': Enter "Y" if you are an [[BW:STAR|Star of Kobol]] award "winner".
* '''bcrat''': Enter "Y" if you are a Senior Chief.
* '''nocat''': Enter "Y" if you don't want to be included in the ''[[:Category:Wikipedians]]''.
** 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.
* '''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 ===
=== Very Optional ===
Line 145: Line 181:
[[Category:Templates using ParserFunctions|User Data]]
[[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

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

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

Optional parameters

  • 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

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