| You need to be logged into the wiki to be able to edit! To login or join the wiki, click here. | 
Difference between revisions of "Template:Infobox user/doc"
| Line 14: | Line 14: | ||
| <pre style="overflow: auto"> | <pre style="overflow: auto"> | ||
| {{Infobox person | {{Infobox person | ||
| − |   | name                      = <!--Your username, which will go on top | + |   | name                      = <!--Your username, which will go on top--!> | 
|   | image                     = <!-- Do not include brackets or 'File:'--!> |   | image                     = <!-- Do not include brackets or 'File:'--!> | ||
|   | caption                   =   |   | caption                   =   | ||
Revision as of 13:03, 6 April 2012
The infobox template is a staple among wikis, creating a sidebar to the left side containing information in a brief form. Below is the parameters of the infobox for users.
| Android24557 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| yes | ||||||||||||
| {{{above}}} | ||||||||||||
| {{{header}}} | {{#if: | |||||||||||
| {{{label}}} | }} | |||||||||||
| {{{header}}} | {{#if:{{{subheader2}}} | |||||||||||
| {{{label}}} | }}{{{subheader2}}} | |||||||||||
| {{{header}}} |  }}{{#if:Android standing in his town, Bludwick| Android standing in his town, Bludwick}} | |||||||||||
| {{{label}}} | }}{{#if:2011-06-17 03.41.31.png|  }}{{#if:Android standing in his town, Bludwick| Android standing in his town, Bludwick}} | |||||||||||
| {{{header}}} | {{{caption2}}}}} | |||||||||||
| {{{label}}} | }}{{{image2}}}{{#if:| {{{caption2}}}}} | User info}} | {{#if: | |||||||||
| }} | ||||||||||||
| {{#if:Android24557 | ||||||||||||
| Username | }}Android24557 | |||||||||||
| {{#if: | ||||||||||||
| Join Date | }} | |||||||||||
| {{#if: | ||||||||||||
| Disappeared | }} | |||||||||||
| {{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} | ||||||||||||
| Perma-Banned | }}{{safesubst:#if:|{{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} | |||||||||||
| {{#if: | ||||||||||||
| Left | }} | |||||||||||
| {{#if:Bludwick | ||||||||||||
| Town | }}Bludwick | |||||||||||
| {{#if:Helvanthar | ||||||||||||
| Nation | }}Helvanthar | |||||||||||
| {{#if: | ||||||||||||
| Donated | }} | |||||||||||
| {{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} | ||||||||||||
| Mod | }}Admin{{safesubst:#if:Admin|{{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} | |||||||||||
| {{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} | ||||||||||||
| Player known for | }}{{safesubst:#if:|{{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} | |||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| RP Info | {{#if: | |||||||||||
| }} | ||||||||||||
| {{#if:Android, Model#24557 | ||||||||||||
| RP Name | }}Android, Model#24557 | |||||||||||
| {{#if: | ||||||||||||
| Age | }} | |||||||||||
| {{#if: | ||||||||||||
| Land of origin | }} | |||||||||||
| {{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} | ||||||||||||
| Character known for | }}{{safesubst:#if:|{{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} | |||||||||||
| {{#if: | ||||||||||||
| Occupation | }} | |||||||||||
| {{#if: | ||||||||||||
| Years active | }} | |||||||||||
| {{#if: | ||||||||||||
| Employer | }} | |||||||||||
| {{#if: | ||||||||||||
| Organization | }} | |||||||||||
| {{#if: | ||||||||||||
| Agent | }} | |||||||||||
| {{#if: | ||||||||||||
| Known for | }} | |||||||||||
| {{{credits}}}|}} | Notable credit(s)|Notable work(s)}} | Notable credit(s)|Notable work(s)}} | }}
}}{{#if:}}{{#if:|{{{credits}}}|}} | |||||||||
| {{#if: | ||||||||||||
| Style | }} | |||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| Influenced | }} | |||||||||||
| {{#if: | ||||||||||||
| Home town | }} | |||||||||||
| {{#if: | ||||||||||||
| Salary | }} | |||||||||||
| {{#if: | ||||||||||||
| Net worth | }} | |||||||||||
| {{#if: | ||||||||||||
| Height | }} | |||||||||||
| {{#if: | ||||||||||||
| Weight | }} | |||||||||||
| {{#if: | ||||||||||||
| Television | }} | |||||||||||
| {{#if: | ||||||||||||
| Title | }} | |||||||||||
| {{#if: | ||||||||||||
| Term | }} | |||||||||||
| {{#if: | ||||||||||||
| Predecessor | }} | |||||||||||
| {{#if: | ||||||||||||
| Successor | }} | |||||||||||
| {{#if: | ||||||||||||
| Political party | }} | |||||||||||
| {{#if: | ||||||||||||
| Political movement | }} | |||||||||||
| {{#if: | ||||||||||||
| Opponent(s) | }} | |||||||||||
| {{#if: | ||||||||||||
| Board member of | }} | |||||||||||
| {{#if: | ||||||||||||
| Religion | }} | |||||||||||
| {{#if: | ||||||||||||
| Denomination | }} | |||||||||||
| {{#if: | ||||||||||||
| Criminal charge | }} | |||||||||||
| {{#if: | ||||||||||||
| Criminal penalty | }} | |||||||||||
| {{#if: | ||||||||||||
| Criminal status | }} | |||||||||||
| {{#if: | ||||||||||||
| Spouse | }} | |||||||||||
| {{#if: | ||||||||||||
| Partner | }} | |||||||||||
| {{#if: | ||||||||||||
| Children | }} | |||||||||||
| {{#if: | ||||||||||||
| Parents | }} | |||||||||||
| {{#if: | ||||||||||||
| Relatives | }} | |||||||||||
| {{#if: | ||||||||||||
| Family | }} | |||||||||||
| {{#if: | ||||||||||||
| Call-sign | }} | |||||||||||
| {{#if: | ||||||||||||
| Awards | }} | |||||||||||
| [[File:{{{signature}}}|{{safesubst:#if: | {{safesubst:#iferror:{{safesubst:#expr:>0}} | px}} | {{safesubst:#if:150px | 150px{{safesubst:#iferror:{{safesubst:#expr:150px>0}} | px}} | {{safesubst:#iferror:{{safesubst:#expr:>0}} | px}} }} }}|alt=]]}} | |||||
| Signature | }} {{#if:|[[File:{{{signature}}}|{{safesubst:#if: | {{safesubst:#iferror:{{safesubst:#expr:>0}} | px}} | {{safesubst:#if:150px | 150px{{safesubst:#iferror:{{safesubst:#expr:150px>0}} | px}} | {{safesubst:#iferror:{{safesubst:#expr:>0}} | px}} }}}}|alt=]]}} | ||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | Website}} | {{#if: | ||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if: | ||||||||||||
| }} | ||||||||||||
| {{#if:|Notes {{{footnotes}}}}} | ||||||||||||
| Template:Navbar | ||||||||||||
}}{{#ifeq:|yes||{{#if:Android24557{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}BludwickHelvantharAdmin{{safesubst:#if:Admin|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}Android, Model#24557{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}{{#if:|{{{credits}}}|}}{{#if:|[[File:{{{signature}}}|{{safesubst:#if:
}}
}}|alt=]]}}||{{#switch:
 {{#if: 
       {{#ifeq:|
}}
       {{#ifeq:template|template talk
       }}
     }}
   }}
}}}}}}{{#switch:2011-06-17 03.41.31.png
}}{{#ifeq:Template||{{#if:|{{#ifeq:Template||}}}}{{#if:|}}{{#if:|{{#if:|}}}}}}{{#if:|}}{{#switch:
 {{#if: 
}} }}
}}
Parameters
{{Infobox person
 | name                      = <!--Your username, which will go on top--!>
 | image                     = <!-- Do not include brackets or 'File:'--!>
 | caption                   = 
 | Username                  =
 | Join Date                 = 
 | Disappeared               = <!--Put they date they left, if they left mysteriously--!>
 | Banned reason             = <!--If Permabanned, why?--!>
 | Banned date               = <!--Date of Permaban--!>
 | Left                      = <!--If they left with warning, put the date here --!>
 | Town                      = 
 | Nation                    = 
 | Donated                   = <!--What level of donor are they?---!>
 | Mod                       = <!--Are they a mod--!>
 | User notable achievement1 = <!--What did the player do that was notable?--!>
 | User notable achievement2 = <!--A second achievement field--!>
 | User notable achievement3 =
 | Mod_Date                  = <!--When did they become mod(If they are one)?--->
<!--This is where it switches the RP Info--!>
 | RP Name                   = 
 | Age                       = <!-- How old is your RP character?--!>
 | Homeland                  = <!--Where di your character come from?--!>
 | Ch notable achievement1   = <!--Same as before, but for RP--!>
 | Ch notable achievement2   =
 | Ch notable achievement3   =
 }}
}}
Removing fields
Are some of the fields not applicable? well, one nice thing about Infoboxes is that you can remove any field you want, and it will still work.
