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
LIMAFOX76 (talk | contribs)
m Text replacement - "\[\[es\:(.*)\]\]" to ""
 
(26 intermediate revisions by 10 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'''
Line 43: 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 64: Line 69:
| '''Rank'''
| '''Rank'''
| {{{rank}}}
| {{{rank}}}
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{showEC|}}}"
| '''Edit count'''
| [[Special:Editcount/{{PAGENAME}}|{{Special:Editcount/{{PAGENAME}}}}]]
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{sok|}}}"
|- style="vertical-align: top; text-align: left;" class="hiddenStructure{{{sok|}}}"
| 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|}}}"
|- style="vertical-align: top; text-align: center;" class="hiddenStructure{{{bcrat|}}}"
| colspan="2" | {{PAGENAME}} is a [[Battlestar Wiki:Bureaucrats|Bureaucrat]]
| 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 78: 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 84: 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: -->
   }}
   }}
Line 101: Line 107:
   |{{#switch:{{{gender|}}}
   |{{#switch:{{{gender|}}}
       | male
       | male
       | Male=[[Category:Male Wikipedians|{{PAGENAME}}]]
       | Male=[[Category:Male Galactipedian|{{PAGENAME}}]]
       | female
       | female
       | Female=[[Category:Female Wikipedians|{{PAGENAME}}]]
       | Female=[[Category:Female Galactipedian|{{PAGENAME}}]]
       | #default=
       | #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. Similarly, you can add yourself to [[:Category:Female Wikipedians]] or [[:Category:Male Wikipedians]] by using <code><nowiki>[[Category:Female Wikipedians|{{PAGENAME}}]]</nowiki></code> or <code><nowiki>[[Category:Male Wikipedians|{{PAGENAME}}]]</nowiki></code>.
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= Patricia
| gender=
| gender= Female
| age=
| born_day=
| born_month=
| born_year= 1976
| location=
| location=
| countrycode=
| timezone=
| timezone=
| email=
| gmail=
| aim=
| icq=
| callsign=
| callsign=
| parents= Yes
| siblings=
| children= No
| marital status= Engaged
| occupation=
| rank=  
| rank=  
| countrycode= USA
| favepi=
| admin=
| bcrat=
| sok=
| nocat=
| nogendercat=
| noflag=
| showEC=
| showEC=
| favepi=
| away=
| awayid=
| wgastrike=
}}
}}
</pre>
</pre>
Line 150: Line 142:
* '''photo''': The image filename only.
* '''photo''': The image filename only.
* '''name''': Full Name
* '''name''': Full Name
* '''gender''': <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 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.'''
** '''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.
* '''age''': Your age. Only used if one of '''born_day''', '''born_month''' and '''born_year''' isn't specified.
Line 160: Line 152:
* '''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 170: Line 163:
** <code>US</code>, <code>UK</code>, or others. For a full listing of installed country codes, see [[Template:Country_flag|here]].
** <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.
* '''bcrat''': Enter "Y" if you are a bureaucrat
* '''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".
* '''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.
* '''nogendercat''': 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 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.
* '''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 184: 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.