Tolkien Gateway

Template:User infobox

(Difference between revisions)
m (Not sure why the name isn't working properly but beginning to get annoyed)
m
 
Line 1: Line 1:
<includeonly><div style="float: right; margin: 0 0 .5em .5em; width: 264px;"> <table border="0" cellspacing="0" cellpadding="4" style="width: 264px; background: {{{BG3|#F0F0F0}}}; border-collapse: collapse; border: 1px solid {{{BG1|#1034A6}}}; {{t|1=border-bottom: 0px;|1{{{userboxes|}}}=}} line-height: 1.5;clear:right;"> {{t|1=<tr><th colspan="2" style="font-weight: normal; padding: 0; background: {{{BG1|#1034A6}}}; color: white;">{{{image}}}</th></tr>|1{{{image|}}}=}} <tr style="color: white; background: {{{BG1|#1034A6}}};"><th colspan="2">{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> <tr><th colspan="2" style="color: white; background: {{{BG1|#1034A6}}}; font-size: 80%; padding: 0;">Gatekeeper</th></tr> {{t|1=<tr><th colspan="2" style="font-size: 80%; font-weight: normal; background: {{{BG2|#318CE7}}};">'''Biographical Information'''</th></tr>|1{{{othernames|}}}{{{position|}}}{{{language|}}}{{{location|}}}{{{occupation|}}}{{{birth|}}}{{{birthlocation|}}}{{{age|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other&nbsp;names</td><td style="font-size: 80%;">{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Position</td><td style="font-size: 80%;">{{{position}}}</td></tr>|1{{{position|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Language</td><td style="font-size: 80%;">{{{language}}}</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Location</td><td style="font-size: 80%;">{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Occupation</td><td style="font-size: 80%;">{{{occupation}}}</td></tr>|1{{{occupation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Birth</td><td style="font-size: 80%;">{{{birth}}} {{#if:{{{birth|}}}|<br/>}} {{{birthlocation|}}}</td></tr>|1{{{birth|}}}{{{birthlocation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Age</td><td style="font-size: 80%;">{{{age}}}</td></tr>|1{{{age|}}}=}} <tr style="vertical-align: top;"><td style="font-size: 80%;">Edit&nbsp;Count</td><td style="font-size: 80%;">{{Special:Editcount/{{PAGENAME}}}}</td></tr> {{t|1=<tr><th colspan="2" style="font-size: 80%; font-weight: normal; background: {{{BG2|#318CE7}}};">'''Physical Description'''</th></tr>|1{{{gender|}}}{{{height|}}}{{{hair|}}}{{{eyes|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Gender</td><td style="font-size: 80%;">{{{gender}}}</td></tr>|1{{{gender|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Height</td><td style="font-size: 80%;">{{{height}}}</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Hair&nbsp;colour</td><td style="font-size: 80%;">{{{hair}}}</td></tr>|1{{{hair|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Eye&nbsp;colour</td><td style="font-size: 80%;">{{{eyes}}}</td></tr>|1{{{eyes|}}}=}} <tr><th colspan="2" style="font-size: 80%; font-weight: normal; background: {{{BG2|#318CE7}}};">'''Contact Information'''</th></tr> <tr style="vertical-align: top;"><td style="font-size: 80%;">Talk&nbsp;page</td><td style="font-size: 80%;">[[User talk:{{PAGENAME}}|{{PAGENAME}}]]</td></tr> {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">[[Tolkien Gateway:Chat|IRC]]</td><td style="font-size: 80%;">{{{irc}}}</td></tr>|1{{{irc|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">E-mail</td><td style="font-size: 80%;">{{{email}}}</td></tr>|1{{{email|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other&nbsp;profiles</td><td style="font-size: 80%;">{{{facebook}}}{{#if:{{{facebook|}}}|<br/>}}{{{twitter}}}{{#if:{{{twitter|}}}|<br/>}}{{{linkedin}}}</td></tr>|1{{{facebook|}}}{{{twitter|}}}{{{linkedin|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Website</td><td style="font-size: 80%;">{{{website}}}</td></tr>|1{{{website|}}}=}} {{t|1=<tr><th colspan="2" style="font-size: 80%; font-weight: normal; background: {{{BG2|#318CE7}}};">'''Infoboxes'''</th></tr>|1{{{userboxes|}}}=}} </table> {{t|1=<div style="overflow-y: scroll; overflow-x: {{{noscroll|hidden}}}; border: 1px solid {{{BG1|#1034A6}}}; border-top: 0; padding: 2px 2px 2px 3px; background: {{{BG3|#F0F0F0}}}; height: {{{userboxheight|196px}}}; min-height: 1px;">{{{userboxes}}} </div>|1{{{userboxes|}}}=}}</div></includeonly><noinclude>
+
<includeonly><div style="float: right; margin: 0 0 .5em .5em; width: 264px;"> <table border="0" cellspacing="0" cellpadding="4" style="width: 264px; background: {{{BG3|#F0F0F0}}}; border-collapse: collapse; border: 1px solid {{{BG1|#1034A6}}}; {{t|1=border-bottom: 0px;|1{{{userboxes|}}}=}} line-height: 1.5;clear:right;"> {{t|1=<tr><th colspan="2" style="font-weight: normal; padding: 0; background: {{{BG1|#1034A6}}}; color: white;">{{{image}}}</th></tr>|1{{{image|}}}=}} <tr style="color: white; background: {{{BG1|#1034A6}}};"><th colspan="2">{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> <tr><th colspan="2" style="color: white; background: {{{BG1|#1034A6}}}; font-size: 80%; padding: 0;">Gatekeeper</th></tr> {{t|1=<tr><th colspan="2" style="font-size: 80%; font-weight: normal; background: {{{BG2|#318CE7}}};">'''Biographical Information'''</th></tr>|1{{{othernames|}}}{{{position|}}}{{{language|}}}{{{location|}}}{{{occupation|}}}{{{birth|}}}{{{birthlocation|}}}{{{age|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other&nbsp;names</td><td style="font-size: 80%;">{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Position</td><td style="font-size: 80%;">{{{position}}}</td></tr>|1{{{position|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Language</td><td style="font-size: 80%;">{{{language}}}</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Location</td><td style="font-size: 80%;">{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Occupation</td><td style="font-size: 80%;">{{{occupation}}}</td></tr>|1{{{occupation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Birth</td><td style="font-size: 80%;">{{{birth}}} {{#if:{{{birth|}}}|<br/>}} {{{birthlocation|}}}</td></tr>|1{{{birth|}}}{{{birthlocation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Age</td><td style="font-size: 80%;">{{{age}}}</td></tr>|1{{{age|}}}=}} <tr style="vertical-align: top;"><td style="font-size: 80%;">Edit&nbsp;Count</td><td style="font-size: 80%;">{{Special:Editcount/{{PAGENAME}}}}</td></tr> {{t|1=<tr><th colspan="2" style="font-size: 80%; font-weight: normal; background: {{{BG2|#318CE7}}};">'''Physical Description'''</th></tr>|1{{{gender|}}}{{{height|}}}{{{hair|}}}{{{eyes|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Gender</td><td style="font-size: 80%;">{{{gender}}}</td></tr>|1{{{gender|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Height</td><td style="font-size: 80%;">{{{height}}}</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Hair&nbsp;colour</td><td style="font-size: 80%;">{{{hair}}}</td></tr>|1{{{hair|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Eye&nbsp;colour</td><td style="font-size: 80%;">{{{eyes}}}</td></tr>|1{{{eyes|}}}=}} <tr><th colspan="2" style="font-size: 80%; font-weight: normal; background: {{{BG2|#318CE7}}};">'''Contact Information'''</th></tr> <tr style="vertical-align: top;"><td style="font-size: 80%;">Talk&nbsp;page</td><td style="font-size: 80%;">[[User talk:{{PAGENAME}}|{{PAGENAME}}]]</td></tr> {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">E-mail</td><td style="font-size: 80%;">{{{email}}}</td></tr>|1{{{email|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other&nbsp;profiles</td><td style="font-size: 80%;">{{{facebook}}}{{#if:{{{facebook|}}}|<br/>}}{{{twitter}}}{{#if:{{{twitter|}}}|<br/>}}{{{linkedin}}}</td></tr>|1{{{facebook|}}}{{{twitter|}}}{{{linkedin|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Website</td><td style="font-size: 80%;">{{{website}}}</td></tr>|1{{{website|}}}=}} {{t|1=<tr><th colspan="2" style="font-size: 80%; font-weight: normal; background: {{{BG2|#318CE7}}};">'''Infoboxes'''</th></tr>|1{{{userboxes|}}}=}} </table> {{t|1=<div style="overflow-y: scroll; overflow-x: {{{noscroll|hidden}}}; border: 1px solid {{{BG1|#1034A6}}}; border-top: 0; padding: 2px 2px 2px 3px; background: {{{BG3|#F0F0F0}}}; height: {{{userboxheight|196px}}}; min-height: 1px;">{{{userboxes}}} </div>|1{{{userboxes|}}}=}}</div></includeonly><noinclude>
 
{{user infobox
 
{{user infobox
 
| image={{{image}}}
 
| image={{{image}}}
Line 15: Line 15:
 
| hair={{{hair}}}
 
| hair={{{hair}}}
 
| eyes={{{eyes}}}
 
| eyes={{{eyes}}}
| irc={{{irc}}}
 
 
| email={{{email}}}
 
| email={{{email}}}
 
| facebook={{{facebook}}}
 
| facebook={{{facebook}}}
Line 38: Line 37:
 
| hair=
 
| hair=
 
| eyes=
 
| eyes=
| irc=
 
 
| email=
 
| email=
 
| facebook=
 
| facebook=

Latest revision as of 13:33, 29 December 2021

{{{image}}}
{{{name}}}
Gatekeeper
Biographical Information
Other names{{{othernames}}}
Position{{{position}}}
Language{{{language}}}
Location{{{location}}}
Occupation{{{occupation}}}
Birth{{{birth}}}
{{{birthlocation}}}
Age{{{age}}}
Edit Count
Physical Description
Gender{{{gender}}}
Height{{{height}}}
Hair colour{{{hair}}}
Eye colour{{{eyes}}}
Contact Information
Talk pageUser infobox
E-mail{{{email}}}
Other profiles{{{facebook}}}
{{{twitter}}}
{{{linkedin}}}
Website{{{website}}}
Infoboxes
{{{userboxes}}}
{{user infobox
| image=
| name=
| othernames=
| position=
| language=
| location=
| occupation=
| birth=
| birthlocation=
| age=
| gender=
| height=
| hair=
| eyes=
| email=
| facebook=
| twitter=
| linkedin=
| website=
| userboxes=
}}

Any unused parameter, can be completely removed. Advanced users can add the following parameters:

| BG1=
| BG2=
| BG3=
| userboxheight=
| noscroll=
  • BG1 changes the dark blue background colour;
  • BG2 changes the light blue background colour;
  • BG3 changes the pale grey background colour;
  • noscroll removes the scroll bar on the userbox section altogether.
  • userboxheight changes the height of the userbox section (set by default to 195px);
    • 49px = one infobox;
    • 99px = two infoboxes;
    • 147px = three userboxes;
    • 195px = four userboxes;
    • 245px = five userboxes;
    • 294px = six infoboxes;
    • 342px = seven userboxes;