Template:Infobox attraction model and Template:Infobox basketball club season: Difference between pages

From IxWiki
(Difference between pages)
Jump to navigation Jump to search
>Zyxw
(Allow optional _in parameters to use in conjuction with _ft parameters.)
 
>H-Hurry
No edit summary
 
Line 1: Line 1:
{{Infobox
{{Infobox
|bodystyle    = vcard
| bodyclass = vcard
|above        = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
| title      = {{{club|<includeonly>{{PAGENAME}}</includeonly>}}}
|abovestyle  = fn org
| titleclass = fn org
 
| above      = {{#if:{{{season|}}}|{{{season|}}} season}}
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|{{{logodimensions|{{{logo_dimensions|}}}}}}}}}|sizedefault=250px}}
| abovestyle = font-weight: normal; font-size: 100%
|caption      =  
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
|image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|{{{imagedimensions|{{{image_dimensions|}}}}}}}}}|sizedefault=250px}}
| caption    = {{{caption|}}}
|caption2     = {{{caption|}}}
| label2     = {{#if:{{{ownertitle|}}}|{{{ownertitle}}}|Owner}}
 
| data2      = {{{owner|}}}
|headerstyle  = font-size:110%; text-align:center; background-color:lightgray; font-weight:normal; font-style:italic;
| class2    = agent
|labelstyle  = width:10em;
| label3    = {{#if:{{{chrtitle|}}}|{{{chrtitle}}}|Chairman}}
 
| data3      = {{{chairman|}}}
|label1  = Status
| class3    = agent
|data1    = {{#switch: {{lc:{{{status|{{{Status|}}}}}}}}
| label4    = {{#if:{{{mgrtitle|}}}|{{{mgrtitle}}}|Head coach}}
| in production = <span style="color:darkgreen">In Production</span>
| data4      = {{{coach|{{{manager|}}}}}}
| discontinued = <span style="color:#CC0000">Discontinued</span>
| class4    = agent
| in development = <span style="color:purple">In Development</span>
| label5    = {{#if:{{{gm|}}}|{{{gm}}}|General manager}}
| #default = {{{status|}}}
| data5      = {{{gm|{{{gm|}}}}}}
}}
| class5    = agent
 
| label6    = {{#if:{{{stdtitle|}}}|{{{stdtitle}}}|Arena}}
|label2  = First manufactured
| data6      = {{{stadium|}}}
|data2    = {{{first_produced|}}}
| class6    = label
 
| label7    = {{{league|}}}
|label3  = {{abbr|No.|Number}} of installations
| data7      = {{{league result|}}}
|data3    = {{{No. of installations|{{{installations|}}}}}}
| label8    = {{#if:{{{playoffs result|}}}|{{0}}Playoffs}}
 
| data8      = {{#if:{{{playoffs result|}}}|{{0}}{{{playoffs result|}}}}}
|label4  = Manufacturer
| label9    = {{{league2|}}}
|data4  = {{#if:{{{manufacturer|}}}|[[{{{manufacturer}}}]]}}
| data9      = {{{league2 result|}}}
 
| label10    = {{#if:{{{playoffs2 result|}}}|{{0}}Playoffs}}
|label5  = Manufacturers
| data10     = {{#if:{{{playoffs2 result|}}}|{{0}}{{{playoffs2 result|}}}}}
|data5  = {{{manufacturer2|}}}
| label11    = {{{cup1|}}}
 
| data11    = {{{cup1 result|}}}
|label6  = Designer
| label12    = {{{cup2|}}}
|data6  = {{{designer|}}}
| data12    = {{{cup2 result|}}}
 
| label13    = {{{cup3|}}}
|label7  = Height
| data13    = {{{cup3 result|}}}
|data7  = {{#if:{{{height_m|}}}
| label14    = {{{cup4|}}}
  |{{convert|{{{height_m}}}|m|ft|abbr=on}}
| data14    = {{{cup4 result|}}}
  |{{#if:{{{height_ft|}}}
| label15    = {{{cup5|}}}
     |{{#if:{{{height_in|}}}
| data15     = {{{cup5 result|}}}
      |{{convert|{{{height_ft}}}|ft|{{{height_in}}}|in|m|1|abbr=on}}
| label16    = {{{cup6|}}}
      |{{convert|{{{height_ft}}}|ft|m|abbr=on}}
| data16    = {{{cup6 result|}}}
      }}
| label17    = {{{cup7|}}}
    }}
| data17    = {{{cup7 result|}}}
  }}
| label18    = {{{cup8|}}}
 
| data18     = {{{cup8 result|}}}
|label8  = Drop
| label20    = {{#if:{{{PIR_leader|}}}|PIR leader| }}
|data8  = {{#if:{{{drop_m|}}}
| data20    = {{#if:{{{PIR_leader|}}}|{{#if:{{{pir_n|}}}|{{flagicon|{{{pir_n}}}|size=20px}}|}} {{{PIR_leader|}}} {{#if:{{{pir|}}}|{{align|right|{{{pir|}}}}} | }} | }}
  |{{convert|{{{drop_m}}}|m|ft|abbr=on}}
| label21    = {{#if:{{{top_scorer|}}}|Scoring leader| }}
  |{{#if:{{{drop_ft|}}}
| data21    = {{#if:{{{top_scorer|}}}|{{#if:{{{ppg_n|}}}|{{flagicon|{{{ppg_n}}}|size=20px}}|}} {{{top_scorer|}}} {{#if:{{{ppg|}}}|{{align|right|{{{ppg|}}}}} | }} | }}
     |{{#if:{{{drop_in|}}}
| label22    = {{#if:{{{rebounds_leader|}}}|Rebounding leader| }}
      |{{convert|{{{drop_ft}}}|ft|{{{drop_in}}}|in|m|1|abbr=on}}
| data22    = {{#if:{{{rebounds_leader|}}}|{{#if:{{{rpg_n|}}}|{{flagicon|{{{rpg_n}}}|size=20px}}|}} {{{rebounds_leader|}}} {{#if:{{{rpg|}}}|{{align|right|{{{rpg|}}}}} | }} | }}
      |{{convert|{{{drop_ft}}}|ft|m|abbr=on}}
| label23    = {{#if:{{{assists_leader|}}}|Assists leader| }}
      }}
| data23    = {{#if:{{{assists_leader|}}}|{{#if:{{{apg_n|}}}|{{flagicon|{{{apg_n}}}|size=20px}}|}} {{{assists_leader|}}} {{#if:{{{apg|}}}|{{align|right|{{{apg|}}}}} | }} | }}
     }}
| label25    = Highest home attendance
  }}
| data25    = {{{highest attendance|}}}
 
| label26    = Lowest home attendance
|label9  = Length
| data26    = {{{lowest attendance|}}}
|data9  = {{#if:{{{length_m|}}}
| label27    = Average home attendance
  |{{convert|{{{length_m}}}|m|ft|abbr=on}}
| data27    = {{{average attendance|}}}
  |{{#if:{{{length_ft|}}}
| label28    = Biggest win
    |{{#if:{{{length_in|}}}
| data28    = {{{largest win|}}}
      |{{convert|{{{length_ft}}}|ft|{{{length_in}}}|in|m|1|abbr=on}}
| label29    = Biggest defeat
      |{{convert|{{{length_ft}}}|ft|m|abbr=on}}
| data29    = {{{largest loss|}}}
      }}
| data31 = {{#if:{{{1_title|}}}{{{1_body|}}}{{{1_pattern_b|}}}{{{1_shorts|}}}{{{1_pattern_s|}}} {{{2_title|}}}{{{2_body|}}}{{{2_pattern_b|}}}{{{2_shorts|}}}{{{2_pattern_s|}}} {{{3_title|}}}{{{3_body|}}}{{{3_pattern_b|}}}{{{3_shorts|}}}{{{3_pattern_s|}}} {{{4_title|}}}{{{4_body|}}}{{{4_pattern_b|}}}{{{4_shorts|}}}{{{4_pattern_s|}}} {{{5_title|}}}{{{5_body|}}}{{{5_pattern_b|}}}{{{5_shorts|}}}{{{5_pattern_s|}}} {{{6_title|}}}{{{6_body|}}}{{{6_pattern_b|}}}{{{6_shorts|}}}{{{6_pattern_s|}}}{{{h_body|}}}{{{h_pattern_b|}}}{{{h_shorts|}}}{{{h_pattern_s|}}}{{{a_body|}}}{{{a_pattern_b|}}}{{{a_shorts|}}}{{{a_pattern_s|}}}
    }}
|<tr><td class="toccolours" style="padding: 0; background:white; text-align: center;" colspan="2">
  }}
<table style="width:100%; text-align:center;">
 
<tr>
|label10  = Speed
{{#if:{{{h_body|}}}{{{h_pattern_b|}}}{{{h_shorts|}}}{{{h_pattern_s|}}}|
|data10  = {{#if:{{{speed_km/h|}}}
<td>{{Basketball kit
  |{{convert|{{{speed_km/h|}}}|km/h|abbr=on}}
| title = {{{h_title|[[Basketball uniform|Home]]}}}
  |{{#if:{{{speed_mph|}}}
| body = {{{h_body|ffffff}}}
    |{{convert|{{{speed_mph}}}|mph|abbr=on}}
| pattern_b = {{{h_pattern_b|_unknown}}}
    }}
| shorts = {{{h_shorts|ffffff}}}
  }}
| pattern_s =  {{{h_pattern_s|}}}
 
}}</td>
|label11  = [[G force]]
}}{{#if:{{{a_body|}}}{{{a_pattern_b|}}}{{{a_shorts|}}}{{{a_pattern_s|}}}|
|data11  = {{{gforce|}}}
<td>{{Basketball kit
 
| title = {{{a_title|[[Basketball uniform|Away]]}}}
|label12  = Capacity
| body = {{{a_body|ffffff}}}
|data12  = {{#if:{{{capacity|}}}|{{{capacity}}} <small>riders per hour</small>}}
| pattern_b = {{{a_pattern_b|_unknown}}}
 
| shorts = {{{a_shorts|ffffff}}}
|label13  = Vehicle type
| pattern_s =  {{{a_pattern_s|}}}
|data13  = {{{vehicle_type|}}}
}}</td>
 
}}{{#if:{{{1_body|}}}{{{1_pattern_b|}}}{{{1_shorts|}}}{{{1_pattern_s|}}}|
|label14  = Vehicles
<td>{{Basketball kit
|data14  = {{{vehicles|}}}
| title = {{{1_title|[[Basketball uniform|Home]]}}}
 
| body = {{{1_body|ffffff}}}
|label15  = Riders per vehicle
| pattern_b = {{{1_pattern_b|_unknown}}}
|data15  = {{{riders_per_vehicle|}}}
| shorts = {{{1_shorts|ffffff}}}
 
| pattern_s =  {{{1_pattern_s|}}}
|label16  = Rows
}}</td>
|data16  = {{{rows|}}}
}}{{#if:{{{2_body|}}}{{{2_pattern_b|}}}{{{2_shorts|}}}{{{2_pattern_s|}}}|
 
<td>{{Basketball kit
|label17  = Riders per row
| title = {{{2_title|[[Away colours|Away]]}}}
|data17  = {{{riders_per_row|}}}
| body = {{{2_body|eeeeee}}}
 
| pattern_b = {{{2_pattern_b|_unknown}}}
|label18  = Duration
| shorts = {{{2_shorts|eeeeee}}}
|data18  = {{{duration|}}}
| pattern_s = {{{2_pattern_s|}}}
 
}}</td>
|label19  = Restraint Style
}}{{#if:{{{3_title|}}}{{{3_body|}}}{{{3_pattern_b|}}}{{{3_shorts|}}}{{{3_pattern_s|}}}|
|data19  = {{{restraint|}}}
<td>{{Basketball kit
 
| title = {{{3_title|[[Third jersey|Third]]}}}
|label20  = {{{custom_label_1|}}}
| body = {{{3_body|}}}
|data20  = {{{custom_value_1|}}}
| pattern_b = {{{3_pattern_b|_unknown}}}
 
| shorts = {{{3_shorts|}}}
|label21  = {{{custom_label_2|}}}
| pattern_s = {{{3_pattern_s|}}}
|data21  = {{{custom_value_2|}}}
}}</td>
 
}}{{#if:{{{3_title|}}}{{{3_body|}}}{{{3_pattern_b|}}}{{{3_shorts|}}}{{{3_pattern_s|}}}|
|label22  = {{{custom_label_3|}}}
</tr><tr>
|data22  = {{{custom_value_3|}}}
}}{{#if:{{{4_title|}}}{{{4_body|}}}{{{4_pattern_b|}}}{{{4_shorts|}}}{{{4_pattern_s|}}}|
 
<td>{{Basketball kit
|label23  = {{{custom_label_4|}}}
| title = {{{4_title|[[Third jersey|Fourth]]}}}
|data23  = {{{custom_value_4|}}}
| body = {{{4_body|}}}
 
| pattern_b = {{{4_pattern_b|_unknown}}}
|label24  = {{{custom_label_5|}}}
| shorts = {{{4_shorts|}}}
|data24  = {{{custom_value_5|}}}
| pattern_s = {{{4_pattern_s|}}}
 
}}</td>
|label25  = {{{custom_label_6|}}}
}}{{#if:{{{5_title|}}}{{{5_body|}}}{{{5_pattern_b|}}}{{{5_shorts|}}}{{{5_pattern_s|}}}|
|data25  = {{{custom_value_6|}}}
<td>{{Basketball kit
 
| title = {{{5_title|[[Third jersey|Fifth]]}}}
|label26  = {{{custom_label_7|}}}
| body = {{{5_body|}}}
|data26  = {{{custom_value_7|}}}
| pattern_b = {{{5_pattern_b|_unknown}}}
 
| shorts = {{{5_shorts|}}}
|label27  = {{{custom_label_8|}}}
| pattern_s = {{{5_pattern_s|}}}
|data27  = {{{custom_value_8|}}}
}}</td>
 
}}{{#if:{{{6_title|}}}{{{6_body|}}}{{{6_pattern_b|}}}{{{6_shorts|}}}{{{6_pattern_s|}}}|
|data28  = {{#if:{{{rcdb_number|}}}|<small>[https://rcdb.com/{{{rcdb_number}}}.htm {{{name}}} at RCDB]</small>}}
<td>{{Basketball kit
 
| title = {{{6_title|[[Third jersey|Sixth]]}}}
}}{{ns0|
| body = {{{6_body|}}}
{{#ifeq: {{{auto-cat}}} | no |  | [[Category:Amusement ride models by name]]}}
| pattern_b = {{{6_pattern_b|_unknown}}}
}}<!-- end ns0 -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Amusement ride article using undocumented parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox attraction model]] with unknown parameter "_VALUE_"|ignoreblank=y| No. of installations | Status | auto-cat | capacity | caption | custom_label_1 | custom_label_2 | custom_label_3 | custom_label_4 | custom_label_5 | custom_label_6 | custom_label_7 | custom_label_8 | custom_value_1 | custom_value_2 | custom_value_3 | custom_value_4 | custom_value_5 | custom_value_6 | custom_value_7 | custom_value_8 | designer | drop_ft | drop_in | drop_m | duration | first_produced | gforce | height_ft | height_in | height_m | image | image_dimensions | image_width | imagedimensions | installations | length_ft | length_in | length_m | logo | logo_dimensions | logo_width | logodimensions | manufacturer | manufacturer2 | name | rcdb_number | restraint | riders_per_row | riders_per_vehicle | rows | speed_km/h | speed_mph | status | vehicle_type | vehicles }}<noinclude>{{documentation}}</noinclude>
| shorts = {{{6_shorts|}}}
| pattern_s = {{{6_pattern_s|}}}
}}</td>
}}</tr>
</table></td></tr>}}
| data32  = {{#if:{{{prevseason|}}}{{{nextseason|}}}|{{succession links| left = {{{prevseason|}}}| right = {{{nextseason|}}} }} }}
| belowstyle = font-size:smaller
| below = {{#if:{{{updated|}}}|All statistics correct as of {{{updated}}}.}}
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 22:06, 29 August 2019