Difference between revisions of "Template:Infobox User"

From Twinsuniverse
Jump to: navigation, search
(Created page with "<noinclude>This template is used as an infobox for user pages. It should be the first of the page. ==Parameters== * '''nickname''': An optional alternate name to display at t...")
 
Line 5: Line 5:
 
* '''avatar''': The image filename of your avatar if you want one, which you can [[Special:Upload|upload]] yourself (case sensitive, defaults to empty portrait, see [[Template:Articleimage]])
 
* '''avatar''': The image filename of your avatar if you want one, which you can [[Special:Upload|upload]] yourself (case sensitive, defaults to empty portrait, see [[Template:Articleimage]])
 
* '''subtitle''': An optional text to display below your avatar (case sensitive, defaults to nothing displayed)
 
* '''subtitle''': An optional text to display below your avatar (case sensitive, defaults to nothing displayed)
* '''gender''': Whether you are male or female (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/gender|gender]] subpage)
 
 
* '''language''': The language you're best in (case sensitive, defaults to nothing displayed)
 
* '''language''': The language you're best in (case sensitive, defaults to nothing displayed)
 
* '''mbnprofileid''': The ID of your MBN profile if you have one (numeric, defaults to no MBN profile link displayed)
 
* '''mbnprofileid''': The ID of your MBN profile if you have one (numeric, defaults to no MBN profile link displayed)
 
* '''nocat''': Whether or not to suppress categorization of your user page (defaults to false, which means auto categorization).
 
* '''nocat''': Whether or not to suppress categorization of your user page (defaults to false, which means auto categorization).
  
 +
 +
'''''Note''': Your gender will be automatically filled in for you depending on your [[Special:Preferences|preferences]], see the [[Template:{{PAGENAME}}/gender|gender]] subpage.''
  
 
'''''Note''': The article is automatically categorized under [[:Category:Articles without an image]] if no filename was specified, or [[:Category:Articles with a missing image]] if the specified filename doesn't exist. The '''nocat''' parameter will also suppress these.''
 
'''''Note''': The article is automatically categorized under [[:Category:Articles without an image]] if no filename was specified, or [[:Category:Articles with a missing image]] if the specified filename doesn't exist. The '''nocat''' parameter will also suppress these.''
Line 19: Line 20:
 
  |avatar=
 
  |avatar=
 
  |subtitle=
 
  |subtitle=
|gender=
 
 
  |language=
 
  |language=
 
  |mbnprofileid=
 
  |mbnprofileid=
Line 40: Line 40:
  
 
  |label2=Gender
 
  |label2=Gender
  |data2=<includeonly>{{Infobox User/gender|{{{gender|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/gender|male|nocat=true}}</noinclude>
+
  |data2=<includeonly>{{Infobox User/gender|{{PAGENAME}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/gender|J McKalling|nocat=true}}</noinclude>
  
 
  |header3=User
 
  |header3=User
Line 55: Line 55:
 
  |avatar=J McKalling
 
  |avatar=J McKalling
 
  |subtitle=Magic Ball Master
 
  |subtitle=Magic Ball Master
|gender=male
 
 
  |language=English
 
  |language=English
 
  |mbnprofileid=3949
 
  |mbnprofileid=3949

Revision as of 19:58, 2 January 2013

This template is used as an infobox for user pages. It should be the first of the page.

Parameters

  • nickname: An optional alternate name to display at the top of your infobox (case sensitive, defaults to {{PAGENAME}})
  • avatar: The image filename of your avatar if you want one, which you can upload yourself (case sensitive, defaults to empty portrait, see Template:Articleimage)
  • subtitle: An optional text to display below your avatar (case sensitive, defaults to nothing displayed)
  • language: The language you're best in (case sensitive, defaults to nothing displayed)
  • mbnprofileid: The ID of your MBN profile if you have one (numeric, defaults to no MBN profile link displayed)
  • nocat: Whether or not to suppress categorization of your user page (defaults to false, which means auto categorization).


Note: Your gender will be automatically filled in for you depending on your preferences, see the gender subpage.

Note: The article is automatically categorized under Category:Articles without an image if no filename was specified, or Category:Articles with a missing image if the specified filename doesn't exist. The nocat parameter will also suppress these.

Syntax

Copy and paste the following for quick use:

{{Infobox User
 |nickname=
 |avatar=
 |subtitle=
 |language=
 |mbnprofileid=
}}

Example

On a user page called "J McKalling":

Jacky

The image "J McKalling" is missing or has no description page

Magic Ball Master

Gender

Male [list all]

User
Language

English

MBN Profile

J McKalling

{{Infobox User
 |nickname=Jacky
 |avatar=J McKalling
 |subtitle=Magic Ball Master
 |language=English
 |mbnprofileid=3949
}}