Difference between revisions of "Template:Infobox User"
From Twinsuniverse
J McKalling (Talk | contribs) m |
J McKalling (Talk | contribs) m (replaced some old code with categorizer syntax) |
||
Line 26: | Line 26: | ||
==Example== | ==Example== | ||
On a user page called "J McKalling": | On a user page called "J McKalling": | ||
− | </noinclude><includeonly>{{ | + | </noinclude><includeonly>{{categorizer|category=Twinsuniverse - Users|display=emptyinfobox|nocat={{{nocat|false}}}}}</includeonly> |
{{Infobox | {{Infobox | ||
|title=<includeonly>{{#if: {{{nickname|}}} |{{{nickname|}}}}}</includeonly><noinclude>Jacky</noinclude> | |title=<includeonly>{{#if: {{{nickname|}}} |{{{nickname|}}}}}</includeonly><noinclude>Jacky</noinclude> |
Revision as of 16:51, 3 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 | |
---|---|
Magic Ball Master |
|
Gender |
Male [list all] |
User | |
Language |
English |
MBN Profile |
{{Infobox User |nickname=Jacky |avatar=J McKalling.png |subtitle=Magic Ball Master |language=English |mbnprofileid=3949 }}