Jump to content

Template:NFL predraft and Template:NFL predraft/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Rename per edit request
 
+width and style as into invoke and ifexpr
 
Line 1: Line 1:
{| class="wikitable" style="text-align:center"
{| class="wikitable" style="text-align:center; {{#if:{{{width|}}}|width:{{{width|}}}; }} {{#if:{{{style|}}}|{{{style|}}} }}"
|+ Pre-draft measurables
|+ Pre-draft measurables
{{trim|1=
{{trim|1=
Line 25: Line 25:
|rawdata={{{broad ft|0}}} {{{broad in|0}}} }}}}{{#if:{{{bench|}}} |{{!}}{{!}}<!-- bench (conditional row) --><span class="nowrap">{{{bench|}}} {{#ifeq:{{{bench|}}}|X||reps}}</span>}}{{#if:{{{wonderlic|}}} |{{!}}{{!}}<!-- wonderlic (conditional row) --><span class="nowrap">{{{wonderlic|}}}</span>}}
|rawdata={{{broad ft|0}}} {{{broad in|0}}} }}}}{{#if:{{{bench|}}} |{{!}}{{!}}<!-- bench (conditional row) --><span class="nowrap">{{{bench|}}} {{#ifeq:{{{bench|}}}|X||reps}}</span>}}{{#if:{{{wonderlic|}}} |{{!}}{{!}}<!-- wonderlic (conditional row) --><span class="nowrap">{{{wonderlic|}}}</span>}}
}}<!-- 5x time units (sec), not checked -->
}}<!-- 5x time units (sec), not checked -->
|-
|}
{{#if:{{{note|}}} |{{!}} colspan=13 {{!}}{{{note|}}} }}
{{#if:{{{note|}}} |<div style="text-align:center; {{#if:{{{width|}}}|width:{{{width|}}}; }}">{{{note|}}}</div>}}<!-- end of table
|}<!-- end of table


Parameter check
Parameter check
Line 33: Line 32:
|unknown={{main other|[[Category:Pages using Template:NFL predraft with unknown parameters|_VALUE_{{PAGENAME}}]]}}
|unknown={{main other|[[Category:Pages using Template:NFL predraft with unknown parameters|_VALUE_{{PAGENAME}}]]}}
|preview=Page using [[Template:NFL predraft]] with unknown parameter "_VALUE_"
|preview=Page using [[Template:NFL predraft]] with unknown parameter "_VALUE_"
| arm span | arm span note | bench | broad ft | broad in | cone drill | dash | hand span | hand span note | height ft | height in | height note | note | shuttle | ten split | twenty split | vertical | vertical note | weight | weight note | wonderlic
| arm span | arm span note | bench | broad ft | broad in | cone drill | dash | hand span | hand span note | height ft | height in | height note | note | shuttle | ten split | twenty split | vertical | vertical note | weight | weight note | wonderlic | width | style
}}{{#ifexpr:{{#invoke:String|find|{{{height ft}}}{{{height in}}}{{{weight}}}{{{arm span}}}{{{hand span}}}{{{dash}}}{{{ten split}}}{{{twenty split}}}{{{vertical}}}{{{broad ft}}}{{{broad in}}}{{{bench}}}{{{wonderlic}}}|NA}}|[[Category:NFL predraft articles with NA parameter values]]
}}{{#ifexpr:{{#invoke:String|find|{{{height ft}}}{{{height in}}}{{{weight}}}{{{arm span}}}{{{hand span}}}{{{dash}}}{{{ten split}}}{{{twenty split}}}{{{vertical}}}{{{broad ft}}}{{{broad in}}}{{{bench}}}{{{wonderlic}}}{{{width}}}{{{style}}}|NA}}|[[Category:NFL predraft articles with NA parameter values]]
}}{{#ifexpr:{{#invoke:String|find|{{{height ft}}}{{{height in}}}{{{weight}}}{{{arm span}}}{{{hand span}}}{{{dash}}}{{{ten split}}}{{{twenty split}}}{{{vertical}}}{{{broad ft}}}{{{broad in}}}{{{bench}}}{{{wonderlic}}}|N/A}}|[[Category:NFL predraft articles with NA parameter values]]
}}{{#ifexpr:{{#invoke:String|find|{{{height ft}}}{{{height in}}}{{{weight}}}{{{arm span}}}{{{hand span}}}{{{dash}}}{{{ten split}}}{{{twenty split}}}{{{vertical}}}{{{broad ft}}}{{{broad in}}}{{{bench}}}{{{wonderlic}}}{{{width}}}{{{style}}}|N/A}}|[[Category:NFL predraft articles with NA parameter values]]
}}<!--
}}<!--