Difference between revisions of "Template:Infobox User"

From Twinsuniverse
Jump to: navigation, search
m (replaced some old code with categorizer syntax)
(added an "adventure" heading)
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)
 +
* '''lba1''', '''lba2''' and '''lba3''': Whether you have a lot of experience in said adventure (defaults to "no", see the [[/adventure]] 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)
Line 20: Line 21:
 
  |avatar=
 
  |avatar=
 
  |subtitle=
 
  |subtitle=
 +
|lba1=
 +
|lba2=
 
  |language=
 
  |language=
 
  |mbnprofileid=
 
  |mbnprofileid=
Line 42: Line 45:
 
  |data2=<includeonly>{{Infobox User/gender|{{PAGENAME}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{/gender|J McKalling|nocat=true}}</noinclude>
 
  |data2=<includeonly>{{Infobox User/gender|{{PAGENAME}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{/gender|J McKalling|nocat=true}}</noinclude>
  
  |header3=User
+
  |label3=Adventure XP
  |class3=subtitle
+
  |data3=<includeonly>{{Infobox User/adventure|lba1={{{lba1|}}}|lba2={{{lba2|}}}|lba3={{{lba3|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{/adventure|lba2=yes|nocat=true}}</noinclude>
  
  |label4=Language
+
  |header4=User
  |data4={{{language|<noinclude>English</noinclude>}}}
+
  |class4=subtitle
  
  |label5=MBN Profile
+
  |label5=Language
  |data5={{#if: {{{mbnprofileid|}}} |[//forum.magicball.net/member.php?u={{{mbnprofileid|}}} {{PAGENAME}}] |<noinclude>[//forum.magicball.net/member.php?u=3949 J McKalling]</noinclude>}}
+
|data5={{{language|<noinclude>English</noinclude>}}}
 +
 
 +
|label6=MBN Profile
 +
  |data6={{#if: {{{mbnprofileid|}}} |[//forum.magicball.net/member.php?u={{{mbnprofileid|}}} {{PAGENAME}}] |<noinclude>[//forum.magicball.net/member.php?u=3949 J McKalling]</noinclude>}}
 
}}<noinclude>
 
}}<noinclude>
 
  <nowiki>{{Infobox User
 
  <nowiki>{{Infobox User
Line 55: Line 61:
 
  |avatar=J McKalling.png
 
  |avatar=J McKalling.png
 
  |subtitle=Magic Ball Master
 
  |subtitle=Magic Ball Master
 +
|lba1=
 +
|lba2=yes
 
  |language=English
 
  |language=English
 
  |mbnprofileid=3949
 
  |mbnprofileid=3949

Revision as of 18:54, 4 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)
  • lba1, lba2 and lba3: Whether you have a lot of experience in said adventure (defaults to "no", see the /adventure subpage)
  • 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=
 |lba1=
 |lba2=
 |language=
 |mbnprofileid=
}}

Example

On a user page called "J McKalling":

Jacky
Avatar of J McKalling

Magic Ball Master

Gender

Male [list all]

Adventure XP

Twinsen's Odyssey [list all]

User
Language

English

MBN Profile

J McKalling

{{Infobox User
 |nickname=Jacky
 |avatar=J McKalling.png
 |subtitle=Magic Ball Master
 |lba1=
 |lba2=yes
 |language=English
 |mbnprofileid=3949
}}