|
|
Line 1: |
Line 1: |
| <div class="infobox">
| | {| width="250" align="right" cellpadding="3" cellspacing="0" style="border: 2px #333333 solid; background: #000000; border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; margin-top: -1.4em; margin: 0 0 1em 1em; font-size: 12px;color: #ffffff;" |
| <div id="infoboxinternal">
| | |- |
| <table border="0" cellspacing="0" cellpadding="4" class="internal">
| | {{#if: {{{image|}}}| |
| <tr style="text-align:center;"><td colspan="2" class="image" style="background:{{{c2|#111}}};">{{{image|}}}</td></tr>
| | {{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="background: #222222; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller; text-align: center;"}}} {{!}} {{{image}}}}} |
| <tr style="background:{{{c1|#2f6a76}}};" class="name"><th colspan="2">{{{name}}}</th></tr>
| | |- |
| {{t|1=|1{{{hideb|}}}=<tr><th colspan="2" style="background:{{{c2|#111}}};" class="head">'''Biographical information'''</th></tr>}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Birth date</td><td class="infoboxcell">
| | | colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#18555B; text-align:center; font-variant:small-caps;" | '''{{{name}}}''' |
| {{{birth|}}} | | |- |
| </td></tr>|1{{{birth|}}}=}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Birthplace</td><td class="infoboxcell">
| | | colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#002D33; text-align:center; font-size:8pt;" | '''Biographical Information''' |
| {{{birthplace|}}} | | |- |
| </td></tr>|1{{{birthplace|}}}=}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Residence</td><td class="infoboxcell">
| | {{#if: {{{birth|}}}| |
| {{{residence|}}}
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Birth date: |
| </td></tr>|1{{{residence|}}}=}}{{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="background:{{{c2|#111}}};" class="head">'''Physical description'''</th></tr>}}
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| {{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Gender</td><td class="infoboxcell"> | | {{{birth}}}}} |
| {{{gender|}}}
| | |- |
| </td></tr>|1{{{gender|}}}=}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Skin color</td><td class="infoboxcell">
| | {{#if: {{{birthplace|}}}| |
| {{{skin|}}}
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Birthplace: |
| </td></tr>|1{{{skin|}}}=}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Height</td><td class="infoboxcell">
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| {{{height|}}} | | {{{birthplace}}}}} |
| </td></tr>|1{{{height|}}}=}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Weight</td><td class="infoboxcell">
| | |- |
| {{{weight|}}} | | {{#if: {{{residence|}}}| |
| </td></tr>|1{{{weight|}}}=}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Hair color</td><td class="infoboxcell">
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Residence: |
| {{{hair|}}}
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| </td></tr>|1{{{hair|}}}=}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Eye color</td><td class="infoboxcell">
| | {{{residence}}}}} |
| {{{eyes|}}} | | |- |
| </td></tr>|1{{{eyes|}}}=}}{{t|1=|1{{{hideg|}}}=<tr><th colspan="2" style="background:{{{c2|#111}}};" class="head">'''General information'''</th></tr>}}
| | | colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#002D33; text-align:center; font-size:8pt;" | '''Physical Description''' |
| {{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Occupation</td><td class="infoboxcell"> | | |- |
| {{{occupation|}}} | | {{#if: {{{gender|}}}| |
| </td></tr>|1{{{occupation|}}}=}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Hobbies</td><td class="infoboxcell">
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Gender: |
| {{{hobbies|}}} | | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| </td></tr>|1{{{hobbies|}}}=}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Canon contributions</td><td class="infoboxcell">
| | {{{gender}}}}} |
| {{{contribs|}}} | | |- |
| </td></tr>|1{{{contribs|}}}=}}{{t|1=<tr style="background: {{{c3|#222}}};" class="data userboxes"><td colspan="2">
| | {{#if: {{{skin|}}}| |
| {{{userboxes|}}} | | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Skin color: |
| </td></tr>|1{{{userboxes|}}}=}}</table></div><div id="infoboxend" class="plainlinks" style="text-align:center; width:49%;">[[Template:User infobox|[Source]]]</div></div><noinclude>__NOEDITSECTION__ __NOTOC__
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| | {{{skin}}}}} |
| | |- |
| | {{#if: {{{height|}}}| |
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Height: |
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| | {{{height}}}}} |
| | |- |
| | {{#if: {{{weight|}}}| |
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Weight: |
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| | {{{weight}}}}} |
| | |- |
| | {{#if: {{{hair|}}}| |
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Hair: |
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| | {{{hair}}}}} |
| | |- |
| | {{#if: {{{eyes|}}}| |
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Eyes: |
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| | {{{eyes}}}}} |
| | |- |
| | | colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#002D33; text-align:center; font-size:8pt;" | '''General Information''' |
| | |- |
| | {{#if: {{{occupation|}}}| |
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Occupation: |
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| | {{{occupation}}}}} |
| | |- |
| | {{#if: {{{hobbies|}}}| |
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Hobbiess: |
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| | {{{hobbies}}}}} |
| | |- |
| | {{#if: {{{contribs|}}}| |
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Canon contributions: |
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| | {{{contribs}}}}} |
| | |- |
| | {{#if: {{{dossier|}}}| |
| | {{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Dossier: |
| | {{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}} |
| | {{{dossier}}}}} |
| | |- |
| | {{#if: {{{userboxes|}}}| |
| | {{!}} colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#002D33; text-align:center; font-size:8pt;" {{!}} |
| | {{{dossier}}}}} |
| | |- |
| | |colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:#18555B; text-align:center; border-top: 1px solid #111111;" | [[Template:User infobox|[Source]]] |
| | |} |
| | <includeonly>[[Category:RL Bios]]</includeonly> |
| | <noinclude>__NOEDITSECTION__ __NOTOC__ |
| ===Field list=== | | ===Field list=== |
| *image | | *image |
Line 48: |
Line 100: |
| *hobbies | | *hobbies |
| *contribs | | *contribs |
| | *dossier |
| *userboxes (place optional userbox template here) | | *userboxes (place optional userbox template here) |
| *c1 (optional color modifier)
| |
| *c2 (optional color modifier)
| |
| *c3 (optional color modifier)
| |
|
| |
| ===Display parameters===
| |
| *hideb
| |
| *hidep
| |
| *hideg
| |
|
| |
| ===Details===
| |
| This version of the user infobox template allows users to easily recolor the box and gives them the ability to display their userboxes using an optional [[Template:userbox container|userbox container template]] that was specially designed to nest neatly within it.
| |
|
| |
|
| ===Usage=== | | ===Usage=== |
Line 84: |
Line 126: |
| ===Notes=== | | ===Notes=== |
| #All the data fields are collapsible, so do not worry about leaving any of them empty. | | #All the data fields are collapsible, so do not worry about leaving any of them empty. |
| #The three variables (hideb, hidep, and hideg) correspond to the three sub-headings (Biographical information, Physical description, and General information). If you wish to remove one of them, all you must do is append a brief statement to the template code. For instance:
| | |
| <pre><nowiki>
| |
| {{user infobox
| |
| |hideb=hide
| |
| }}</nowiki></pre>
| |
| Produces this:
| |
| {{user infobox
| |
| |hideb=hide
| |
| }}
| |
| {{clear}}
| |
| ==Example== | | ==Example== |
| {{user infobox | | {{user infobox |
Line 105: |
Line 138: |
| |eyes=color | | |eyes=color |
| |hobbies=hobbies | | |hobbies=hobbies |
| |userboxes={{userbox container | | |userboxes= |
| |ub1={{userbox|#6ef7a7|#c5fcdc|en|This user is a native speaker of '''English'''.}}
| | {{user fox}} |
| |ub2={{userbox|#ffb466|#ffe496|fox|This user contributes using '''Mozilla Firefox'''.}}
| |
| |ub3={{userbox|#CC9000|#EFC35B|sw-3|This user has an advanced understanding of the '''[[starwars:Star Wars|Star Wars]] [[The Galaxy|Galaxy]]'''.}}
| |
| }} | |
| }} | | }} |
| {{clear}} | | {{clear}} |
Line 124: |
Line 154: |
| |eyes=color | | |eyes=color |
| |hobbies=hobbies | | |hobbies=hobbies |
| |userboxes={{userbox container | | |userboxes= |
| |ub1={{user en}}
| | {{user fox}} |
| |ub2={{user fox}}
| |
| |ub3={{user sw-3}}
| |
| }} | | }} |
| }}</nowiki></pre>[[Category:Infobox templates|{{PAGENAME}}]][[Category:User page templates|{{PAGENAME}}]]</noinclude> | | }}</nowiki></pre>[[Category:Infobox templates|{{PAGENAME}}]][[Category:User page templates|{{PAGENAME}}]]</noinclude> |