Template:Infobox user: Difference between revisions
From Pikmin Fanon
mNo edit summary |
Blower Pot (talk | contribs) (Fixed the thing of the parameter titles being as normal letters. Discovered from my infobox) |
||
(40 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| | {| class="infobox" align="right" style="width: 30em; background-color:#fff; font-size: 80%; text-align: left; border-style: solid; border-width: 2px; border-color: grey" | ||
! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | {{#if:{{{icon|}}} | | |||
{{{!}} style = "min-width:100%;" | |||
{{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name|{{PAGENAME}}}}} | |||
{{!}} style = "width: 32px;" {{!}} [[File:{{{icon}}}|40px|The icon used to represent this user.]] | |||
{{!}}} | ''{{{name|{{PAGENAME}} }}}'' }} | |||
|- | |- | ||
| | {{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]|}} | ||
|- | |||
{{#if: {{{ | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | ||
{{!}}- | |- | ||
{{!}} | {{#if:{{{t1|}}}|! width="40%" style="background: #eef" {{!}} {{{t1|Title}}} | ||
{{!}} {{{i1|No information}}}|}} | |||
| | |- | ||
}} | {{#if:{{{t2|}}}|! width="40%" style="background: #eef" {{!}} {{{t2|Title}}} | ||
{{!}} {{{i2|No information}}}|}} | |||
|- | |||
{{#if:{{{t3|}}}|! width="40%" style="background: #eef" {{!}} {{{t3|Title}}} | |||
{{!}} {{{i3|No information}}}|}} | |||
|- | |||
{{#if:{{{t4|}}}|! width="40%" style="background: #eef" {{!}} {{{t4|Title}}} | |||
{{!}} {{{i4|No information}}}|}} | |||
|- | |||
{{#if:{{{t5|}}}|! width="40%" style="background: #eef" {{!}} {{{t5|Title}}} | |||
{{!}} {{{i5|No information''}}}|}} | |||
|- | |||
{{#if:{{{t6|}}}|! width="40%" style="background: #eef" {{!}} {{{t6|Title}}} | |||
{{!}} {{{i6|No information}}}|}} | |||
|- | |||
{{#if:{{{t7|}}}|! width="40%" style="background: #eef" {{!}} {{{t7|Title}}} | |||
{{!}} {{{i7|No information}}}|}} | |||
|- | |||
{{#if:{{{t8|}}}|! width="40%" style="background: #eef" {{!}} {{{t8|Title}}} | |||
{{!}} {{{i8|No information}}}|}} | |||
|- | |||
{{#if:{{{t9|}}}|! width="40%" style="background: #eef" {{!}} {{{t9|Title}}} | |||
{{!}} {{{i9|No information}}}|}} | |||
|- | |||
{{#if:{{{t10|}}}|! width="40%" style="background: #eef" {{!}} {{{t10|Title}}} | |||
{{!}} {{{i10|No information}}}|}} | |||
|- | |- | ||
{{#if:{{{t11|}}}|! width="40%" style="background: #eef" {{!}} {{{t11|Title}}} | |||
{{!}} {{{i11|No information}}}|}} | |||
|}<noinclude> | |||
{{clear}} | |||
{{#if: {{{ | |||
{{ | |||
{{!}} | |||
{ | |||
{{ | |||
==Info== | |||
{{todo|Some parameters could serve a dedicated purpose. Use Pikipedia's user infobox for inspiration.}} | |||
This template is used at the top of a [[Help:User page|user's page]]. This creates an information box with data about the user. | |||
==Parameters== | |||
{|class="wikitable" | |||
! Parameter !! Mandatory !! Default !! Detailed description | |||
|- | |||
! name | |||
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' || Specify your name here it is different from the title of the page. | |||
|- | |||
! image | |||
| No || || Image name, with extension. | |||
|- | |||
! size | |||
| No || || Image size. | |||
|- | |||
! caption | |||
| No || || Caption for the image, if needed. | |||
|- | |||
! icon | |||
| No || 40px || Icon file name, with extension. | |||
|- | |||
! t1 | |||
| No || || Title for the first piece of data about the user. | |||
|- | |||
! i1 | |||
| No || || Information for the first piece of data about the user. | |||
|- | |||
! t2 | |||
| No || || Title for the second piece of data about the user. | |||
|- | |||
! i2 | |||
| No || || Information for the second piece of data about the user. | |||
|- | |||
! t3 | |||
| No || || Title for the third piece of data about the user. | |||
|- | |||
! i3 | |||
| No || || Information for the third piece of data about the user. | |||
|- | |||
! t4 | |||
| No || || Title for the fourth piece of data about the user. | |||
|- | |||
! i4 | |||
| No || || Information for the fourth piece of data about the user. | |||
|- | |||
! t5 | |||
| No || || Title for the fifth piece of data about the user. | |||
|- | |||
! i5 | |||
| No || || Information for the fifth piece of data about the user. | |||
|- | |||
! t6 | |||
| No || || Title for the sixth piece of data about the user. | |||
|- | |||
! i6 | |||
| No || ||Information for the sixth piece of data about the user. | |||
|- | |||
! t7 | |||
| No || || Title for the seventh piece of data about the user. | |||
|- | |||
! i7 | |||
| No || || Information for the seventh piece of data about the user. | |||
|- | |||
! t8 | |||
| No || || Title for the eighth piece of data about the user. | |||
|- | |||
! i8 | |||
| No || || Information for the eighth piece of data about the user. | |||
|- | |||
! t9 | |||
| No || || Title for the ninth of data about the user. | |||
|- | |||
! i9 | |||
| No || || Information for the ninth piece of data about the user. | |||
|- | |||
! t10 | |||
| No || || Title for the tenth piece of data about the user. | |||
|- | |||
! i10 | |||
| No || || Information for the tenth piece of data about the user. | |||
|- | |||
! t11 | |||
| No || || Title for the eleventh piece of data about the user. | |||
|- | |||
! i11 | |||
| No || || Information for the eleventh piece of data about the user. | |||
|} | |||
==Skeleton== | |||
<pre> | |||
{{infobox | |||
|name= | |||
|image= | |||
|size= | |||
|caption= | |||
|icon= | |||
|t1= | |||
|i1= | |||
|t2= | |||
|i2= | |||
|t3= | |||
|i3= | |||
|t4= | |||
|i4= | |||
|t5= | |||
|i5= | |||
|t6= | |||
|i6= | |||
|t7= | |||
|i7= | |||
|t8= | |||
|i8= | |||
|t9= | |||
|i9= | |||
|t10= | |||
|i10= | |||
|t11= | |||
|i11= | |||
}} | |||
</pre> | |||
[[Category:Infobox templates]]</noinclude> | |||
[[Category: | |||
</noinclude> |
Latest revision as of 06:23, 2 February 2024
Infobox user |
---|
Info
|
This template is used at the top of a user's page. This creates an information box with data about the user.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
name | No | {{PAGENAME}} | Specify your name here it is different from the title of the page. |
image | No | Image name, with extension. | |
size | No | Image size. | |
caption | No | Caption for the image, if needed. | |
icon | No | 40px | Icon file name, with extension. |
t1 | No | Title for the first piece of data about the user. | |
i1 | No | Information for the first piece of data about the user. | |
t2 | No | Title for the second piece of data about the user. | |
i2 | No | Information for the second piece of data about the user. | |
t3 | No | Title for the third piece of data about the user. | |
i3 | No | Information for the third piece of data about the user. | |
t4 | No | Title for the fourth piece of data about the user. | |
i4 | No | Information for the fourth piece of data about the user. | |
t5 | No | Title for the fifth piece of data about the user. | |
i5 | No | Information for the fifth piece of data about the user. | |
t6 | No | Title for the sixth piece of data about the user. | |
i6 | No | Information for the sixth piece of data about the user. | |
t7 | No | Title for the seventh piece of data about the user. | |
i7 | No | Information for the seventh piece of data about the user. | |
t8 | No | Title for the eighth piece of data about the user. | |
i8 | No | Information for the eighth piece of data about the user. | |
t9 | No | Title for the ninth of data about the user. | |
i9 | No | Information for the ninth piece of data about the user. | |
t10 | No | Title for the tenth piece of data about the user. | |
i10 | No | Information for the tenth piece of data about the user. | |
t11 | No | Title for the eleventh piece of data about the user. | |
i11 | No | Information for the eleventh piece of data about the user. |
Skeleton
{{infobox |name= |image= |size= |caption= |icon= |t1= |i1= |t2= |i2= |t3= |i3= |t4= |i4= |t5= |i5= |t6= |i6= |t7= |i7= |t8= |i8= |t9= |i9= |t10= |i10= |t11= |i11= }}