Difference between revisions of "Template:Infobox User"
From Twinsuniverse
J McKalling (Talk | contribs) |
J McKalling (Talk | contribs) (added infobox) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>This template is used as an infobox for user pages. It should be the first of the page. | + | <noinclude>{{Infobox Template |
+ | |purpose=infobox | ||
+ | |singletag=no | ||
+ | |multiline=yes | ||
+ | |gamerelated=no | ||
+ | |suppressible=recursively | ||
+ | |choice=none | ||
+ | |cat1=Twinsuniverse - Users | ||
+ | |var1=infobox_messages!Infobox!active | ||
+ | |var2=maintenance_message!Infobox!active | ||
+ | }} | ||
+ | |||
+ | This template is used as an infobox for user pages. It should be the first of the page. | ||
==Parameters== | ==Parameters== | ||
Line 5: | Line 17: | ||
* '''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 10: | Line 23: | ||
− | '''''Note''': Your gender will be automatically filled in for you depending on your [[Special:Preferences|preferences]], see the [[ | + | '''''Note''': Your gender will be automatically filled in for you depending on your [[Special:Preferences|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.'' | '''''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 20: | Line 33: | ||
|avatar= | |avatar= | ||
|subtitle= | |subtitle= | ||
+ | |lba1= | ||
+ | |lba2= | ||
|language= | |language= | ||
|mbnprofileid= | |mbnprofileid= | ||
Line 26: | Line 41: | ||
==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=<noinclude>J McKalling</noinclude> | |
− | | | + | |theme=navy |
|infoboxname=Infobox User | |infoboxname=Infobox User | ||
|float=yes | |float=yes | ||
− | |image={{{avatar|<noinclude>J McKalling</noinclude>}}} | + | |image={{{avatar|<noinclude>J McKalling.png</noinclude>}}} |
|imagecaption=Avatar of <includeonly>{{PAGENAME}}</includeonly><noinclude>J McKalling</noinclude> | |imagecaption=Avatar of <includeonly>{{PAGENAME}}</includeonly><noinclude>J McKalling</noinclude> | ||
|nocat=<includeonly>{{{nocat|false}}}</includeonly><noinclude>true</noinclude> | |nocat=<includeonly>{{{nocat|false}}}</includeonly><noinclude>true</noinclude> | ||
− | |data1=<includeonly>{{{subtitle|}}}</includeonly><noinclude>Magic Ball | + | |data1=<includeonly>{{{subtitle|}}}</includeonly><noinclude>Magic Ball GrandMaster</noinclude> |
|class1=image | |class1=image | ||
− | |label2= | + | |label2=Nickname |
− | |data2=<includeonly>{{ | + | |data2=<includeonly>{{#if: {{{nickname|}}} |{{{nickname|}}}}}</includeonly><noinclude>Jacky</noinclude> |
− | | | + | |label3=Gender |
− | | | + | |data3=<includeonly>{{Infobox User/gender|{{PAGENAME}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{/gender|J McKalling|nocat=true}}</noinclude> |
− | |label4= | + | |label4=Adventure XP |
− | |data4={{{ | + | |data4=<includeonly>{{Infobox User/adventure|lba1={{{lba1|}}}|lba2={{{lba2|}}}|lba3={{{lba3|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{/adventure|lba2=yes|nocat=true}}</noinclude> |
− | | | + | |header5=User |
− | | | + | |class5=subtitle |
+ | |||
+ | |label6=Language | ||
+ | |data6={{{language|<noinclude>English</noinclude>}}} | ||
+ | |||
+ | |label7=MBN Profile | ||
+ | |data7={{#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 | ||
|nickname=Jacky | |nickname=Jacky | ||
− | |avatar=J McKalling | + | |avatar=J McKalling.png |
− | |subtitle=Magic Ball | + | |subtitle=Magic Ball GrandMaster |
+ | |lba1= | ||
+ | |lba2=yes | ||
|language=English | |language=English | ||
|mbnprofileid=3949 | |mbnprofileid=3949 | ||
}}</nowiki> | }}</nowiki> | ||
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 23:29, 4 June 2014
Infobox User | |
---|---|
Purpose |
Infobox [list all] |
Single tag |
No [list all] |
Multi-line |
Yes [list all] |
Protected |
No [list all] |
Game related |
No [list all] |
Categorization | |
Suppressible |
Recursively [list all] |
Choice |
No choice [list all] |
Categories |
One: [list all] |
Variables | |
Names |
Multiple: [list all] |
Subpages |
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":J McKalling | |
---|---|
Magic Ball GrandMaster |
|
Nickname |
Jacky |
Gender |
Male [list all] |
Adventure XP | |
User | |
Language |
English |
MBN Profile |
{{Infobox User |nickname=Jacky |avatar=J McKalling.png |subtitle=Magic Ball GrandMaster |lba1= |lba2=yes |language=English |mbnprofileid=3949 }}