|
|
(8 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| <table border="0" cellspacing="0" cellpadding="0" style="float:right; {{t|1=clear:right; border:1px solid #999999;|1{{{border|}}}=}} margin:0 0 0 0; width:250px; background-color:#ffffff; border-collapse:collapse;">{{t|1=|1{{{hideu|}}}=<tr><th style="padding:4px 4px 4px 4px; text-align:left; background:{{{c1|#D6F0F5}}}; {{t|1=text-align:center; line-height:1.5; color:#ffffff;|1{{{border|}}}=}}">Userboxes</th></tr>}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | <table border="0" cellspacing="0" cellpadding="0" style="float:right; {{T|1=clear:right; border:1px solid #002d33;|1{{{border|}}}=}} margin:0 0 0 0; width:250px; background-color:#002d33; border-collapse:collapse;">{{T|1=|1{{{hideu|}}}=<tr><th style="padding:4px 4px 4px 4px; text-align:center; background: #002d33; color: #e5e5ed; font-size:8pt; text-align: center;">Userboxes</th></tr>}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:#2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub1|}}} | | {{{ub1|}}} |
| </td></tr>|1{{{ub1|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | </td></tr>|1{{{ub1|}}}=}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background: #2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub2|}}} | | {{{ub2|}}} |
| </td></tr>|1{{{ub2|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | </td></tr>|1{{{ub2|}}}=}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background: #2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub3|}}} | | {{{ub3|}}} |
| </td></tr>|1{{{ub3|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | </td></tr>|1{{{ub3|}}}=}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background: #2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub4|}}} | | {{{ub4|}}} |
| </td></tr>|1{{{ub4|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | </td></tr>|1{{{ub4|}}}=}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background: #2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub5|}}} | | {{{ub5|}}} |
| </td></tr>|1{{{ub5|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | </td></tr>|1{{{ub5|}}}=}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background: #2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub6|}}} | | {{{ub6|}}} |
| </td></tr>|1{{{ub6|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | </td></tr>|1{{{ub6|}}}=}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background: #2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub7|}}} | | {{{ub7|}}} |
| </td></tr>|1{{{ub7|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | </td></tr>|1{{{ub7|}}}=}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background: #2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub8|}}} | | {{{ub8|}}} |
| </td></tr>|1{{{ub8|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | </td></tr>|1{{{ub8|}}}=}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background: #2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub9|}}} | | {{{ub9|}}} |
| </td></tr>|1{{{ub9|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | </td></tr>|1{{{ub9|}}}=}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background: #2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub10|}}} | | {{{ub10|}}} |
| </td></tr>|1{{{ub10|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | </td></tr>|1{{{ub10|}}}=}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background: #2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub11|}}} | | {{{ub11|}}} |
| </td></tr>|1{{{ub11|}}}=}}{{t|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background:{{{c2|#94C7D1}}};"><td style="padding:0 4px 0 4px;"> | | </td></tr>|1{{{ub11|}}}=}}{{T|1=<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:middle; background: #2b2b2b;"><td style="padding:0 4px 0 4px;"> |
| {{{ub12|}}} | | {{{ub12|}}} |
| </td></tr>|1{{{ub12|}}}=}}</table><noinclude> | | </td></tr>|1{{{ub12|}}}=}}</table><noinclude> |
Line 38: |
Line 38: |
| *ub11 | | *ub11 |
| *ub12 | | *ub12 |
| *c1 (optional color modifier)
| |
| *c2 (optional color modifier)
| |
|
| |
| ===Display parameter===
| |
| *hideu
| |
| *border
| |
|
| |
|
| ===Details=== | | ===Details=== |
| This userbox container is an optional extension that allows the user to nest a maximum of 12 userboxes within their [[Template:user infobox|user infobox]]. | | This userbox container is an optional extension that allows the user to nest a maximum of 12 userboxes within their [[Template:user|user infobox]]. |
|
| |
|
| ===Usage=== | | ===Usage=== |
Line 66: |
Line 60: |
| }}</nowiki></pre> | | }}</nowiki></pre> |
|
| |
|
| ===Notes===
| | {{Clear}} |
| #If any value is assigned to the "border" variable, a standard infobox border will be added to the the userbox container. This feature allows the template to be used independendly from the user infobox template.
| |
| For instance:
| |
| <pre><nowiki>
| |
| {{userbox container | |
| |border=border
| |
| }}</nowiki></pre>
| |
| Produces this:
| |
| {{userbox container
| |
| |border=border
| |
| }}
| |
| {{clear}}
| |
|
| |
|
| ==Example==
| | [[Category:Utility templates|{{PAGENAME}}]][[Category:User page templates|{{PAGENAME}}]]</noinclude> |
| {{userbox container
| |
| |c1=#99ccff
| |
| |c2=#3366cc
| |
| |ub1={{userbox|#6ef7a7|#c5fcdc|en|This user is a native speaker of '''[[Wikipedia:English language|English]]'''.}}
| |
| |ub2={{userbox|#ffb466|#ffe496|fox|This user contributes using '''[[Wikipedia:Mozilla Firefox|Mozilla Firefox]]'''.}}
| |
| |ub3={{userbox|#CC9000|#EFC35B|sw-3|This user has an advanced understanding of the '''[[Star Wars]] [[The Galaxy|Galaxy]]'''.}}
| |
| }}
| |
| {{clear}}
| |
| ===Code===
| |
| <pre><nowiki>
| |
| {{userbox container
| |
| |c1=#99ccff
| |
| |c2=#3366cc
| |
| |ub1={{user en}}
| |
| |ub2={{user fox}}
| |
| |ub3={{user sw-3}}
| |
| }}
| |
| </nowiki></pre>[[Category:Infobox templates|{{PAGENAME}}]][[Category:User page templates|{{PAGENAME}}]]</noinclude>
| |