Difference between revisions of "Template:Infobox NBA draft"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 38: Line 38:
 
{{#switch:{{#if:{{{dleague|}}}|D}}{{#if:{{{exp_teams|}}}|E}}
 
{{#switch:{{#if:{{{dleague|}}}|D}}{{#if:{{{exp_teams|}}}|E}}
 
|DE =  
 
|DE =  
<tr><th colspan=2>NBA Development League [[Expansion draft|Expansion Draft]]</th></tr>
+
<tr><th colspan=2>{{#ifexpr:{{{year|{{CURRENTYEAR}}}}} > 2004|NBA Development League|NBDL}} [[Expansion draft|Expansion Draft]]</th></tr>
 
<tr>
 
<tr>
 
<td style="text-align:left;font-weight:bold">{{#if:{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=prev dl expansion}}|&lt;&nbsp;{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=prev dl expansion}} }}</td>
 
<td style="text-align:left;font-weight:bold">{{#if:{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=prev dl expansion}}|&lt;&nbsp;{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=prev dl expansion}} }}</td>
Line 44: Line 44:
 
</tr>
 
</tr>
 
|D =  
 
|D =  
<tr><th colspan=2>NBA Development League Draft</th></tr>
+
<tr><th colspan=2>{{#ifexpr:{{{year|{{CURRENTYEAR}}}}} > 2004|NBA Development League|NBDL}} Draft</th></tr>
 
<tr>
 
<tr>
 
<td style="text-align:left;font-weight:bold">{{#if:{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=prev dl}}|&lt;&nbsp;{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=prev dl}} }}</td>
 
<td style="text-align:left;font-weight:bold">{{#if:{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=prev dl}}|&lt;&nbsp;{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=prev dl}} }}</td>
Line 68: Line 68:
 
{{#switch:{{#if:{{{dleague|}}}|D}}{{#if:{{{exp_teams|}}}|E}}
 
{{#switch:{{#if:{{{dleague|}}}|D}}{{#if:{{{exp_teams|}}}|E}}
 
|DE = <table style="width:100%; margin: 0; background: #eee">
 
|DE = <table style="width:100%; margin: 0; background: #eee">
<tr><th colspan=2 style="white-space:nowrap">NBA Development League Draft<br />{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=dl}} </th></tr></table>
+
<tr><th colspan=2 style="white-space:nowrap">{{#ifexpr:{{{year|{{CURRENTYEAR}}}}} > 2004|NBA Development League|NBDL}} Draft<br />{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=dl}} </th></tr></table>
|D = {{#if:{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=dl expansion}}|<table style="width:100%; margin: 0; background: #eee"><tr><th colspan=2 style="white-space:nowrap">NBA Development League [[Expansion draft|Expansion Draft]]<br />{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=dl expansion}}</th></tr></table>}}
+
|D = {{#if:{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=dl expansion}}|<table style="width:100%; margin: 0; background: #eee"><tr><th colspan=2 style="white-space:nowrap">{{#ifexpr:{{{year|{{CURRENTYEAR}}}}} > 2004|NBA Development League|NBDL}} [[Expansion draft|Expansion Draft]]<br />{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=dl expansion}}</th></tr></table>}}
 
|E = <table style="width:100%; margin: 0; background: #eee">
 
|E = <table style="width:100%; margin: 0; background: #eee">
 
<tr><th colspan=2>{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=current}} [[National Basketball Association Draft|{{#ifexpr:{{{year|{{CURRENTYEAR}}}}} > 1949|NBA|BAA}} Draft]]</th></tr></table>
 
<tr><th colspan=2>{{infobox NBA Draft/link|year={{{year|{{CURRENTYEAR}}}}}|type=current}} [[National Basketball Association Draft|{{#ifexpr:{{{year|{{CURRENTYEAR}}}}} > 1949|NBA|BAA}} Draft]]</th></tr></table>

Revision as of 23:41, 5 November 2012

2025 NBA Draft
General information
NBA Draft
Template:Infobox NBA Draft/link Template:Infobox NBA Draft/link >
Template:Infobox NBA Draft/link NBA Expansion Draft

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

Template documentation[create]