Difference between revisions of "Template:Infobox darts team"

From blackwiki
Jump to navigation Jump to search
imported>DLManiac
imported>JRRobinson
(Minor Tweaks)
Line 30: Line 30:
 
| header9    = {{#if:{{{uniforms|}}}|Jerseys|}}
 
| header9    = {{#if:{{{uniforms|}}}|Jerseys|}}
 
| data10      = <div style="width: 100px; margin: 0 auto; padding: 0;">
 
| data10      = <div style="width: 100px; margin: 0 auto; padding: 0;">
 +
<div style="position: relative; left: 0px; top: 0px; width: 100px; height: 60px; margin: 0 auto; padding: 0; border:1px solid lightgray;">
 +
<!-- Left arm -->
 +
<div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px; background-color: #{{{leftarm}}};"></div>
 +
<div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[File:Kit left arm.svg|top|link=|{{#if: {{{pattern_la|}}}|alt=|alt={{{alt|}}}{{!}}Team colours}}]]</div>
 +
<!-- Body --->
 +
<div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px; background-color: #{{{body}}};"></div>
 +
<div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px;">[[File:Kit body.svg|top|link=|alt=]]</div>
 +
<!-- Right arm -->
 +
<div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px; background-color: #{{{rightarm}}};"></div>
 +
<div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px;">[[File:Kit right arm.svg|top|link=|alt=]]</div>
 +
</div>
 +
 +
| header11    = {{#if:{{{uniforms|}}}|Jerseys|}}
 +
| data12      = <div style="width: 100px; margin: 0 auto; padding: 0;">
 
<div style="position: relative; left: 0px; top: 0px; width: 100px; height: 60px; margin: 0 auto; padding: 0; border:1px solid lightgray;">
 
<div style="position: relative; left: 0px; top: 0px; width: 100px; height: 60px; margin: 0 auto; padding: 0; border:1px solid lightgray;">
 
<!-- Left arm -->
 
<!-- Left arm -->

Revision as of 21:07, 7 November 2020

[[Category:Infobox templates|Template:Remove first word]]

Usage

Template:Parameter names example

{{Infobox darts team
| name           = {{3 letter country code}}
| best_perf      =
| members        = [[player 1 link|player 1 name]] {{PDC Rankings|player 1 name|nochange=1|nodate=1|par=1}} <br/> [[player 2 link|player 2 name]] {{PDC Rankings|player 2 name|nochange=1|nodate=1|par=1}}
| record         =
| uniforms       = (yes to include, blank to ignore)
| leftarm        =
| body           =
| rightarm       =
| title          =
| leftarm_old    =
| body_old       =
| rightarm_old   =
| title_old      =
}}