Template:Infobox Six Nations Championship and Template:Infobox attraction model: Difference between pages

From IxWiki
(Difference between pages)
Jump to navigation Jump to search
>Jmcgnh
(Add decat = yes for cases where this template is simply being used for navigation)
 
>Zyxw
(Allow optional _in parameters to use in conjuction with _ft parameters.)
 
Line 1: Line 1:
<includeonly>{{Infobox
{{Infobox
| above = {{{name|{{PAGENAMEBASE}}}}}
|bodystyle    = vcard
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|upright=0.9|alt={{{alt|}}}}}
|above        = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
| caption = {{{caption|}}}
|abovestyle  = fn org
| labelstyle = white-space: nowrap
| datastyle = white-space: nowrap


| label1 = Date
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|{{{logodimensions|{{{logo_dimensions|}}}}}}}}}|sizedefault=250px}}
| data1 = {{{date|}}}
|caption      =  
| label2 = Countries
|image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|{{{imagedimensions|{{{image_dimensions|}}}}}}}}}|sizedefault=250px}}
| data2 = {{{countries|}}}
|caption2    = {{{caption|}}}
| header3 = Tournament statistics
 
| label4 = [[Six Nations Championship#Results|Champions]]
|headerstyle  = font-size:110%; text-align:center; background-color:lightgray; font-weight:normal; font-style:italic;
| data4 = {{{champions|}}} {{#if:{{{count|}}} |({{ordinal|{{{count}}}}} title)}}
|labelstyle  = width:10em;
| label5 = [[Grand Slam (rugby union)|Grand Slam]]
 
| data5 = {{{grand slam|}}}  
|label1  = Status
| label6 = [[Triple Crown (rugby union)|Triple Crown]]
|data1    = {{#switch: {{lc:{{{status|{{{Status|}}}}}}}}
| data6 = {{{triple crown|}}}  
| in production = <span style="color:darkgreen">In Production</span>
| label7 = [[Calcutta Cup]]
| discontinued = <span style="color:#CC0000">Discontinued</span>
| data7 = {{{calcutta cup|}}}  
| in development = <span style="color:purple">In Development</span>
| label8 = [[Millennium Trophy]]
| #default = {{{status|}}}
| data8 = {{{millennium trophy|}}}  
}}
| label9 = [[Centenary Quaich]]
 
| data9 = {{{centenary quaich|}}}  
|label2  = First manufactured
| label10 = [[Giuseppe Garibaldi Trophy]]
|data2    = {{{first_produced|}}}
| data10 = {{{giuseppe garibaldi trophy|}}}
 
| label11 = [[Auld Alliance Trophy]]
|label3  = {{abbr|No.|Number}} of installations
| data11 = {{{auld alliance trophy|}}}
|data3    = {{{No. of installations|{{{installations|}}}}}}
| label12 = [[Doddie Weir Cup]]
 
| data12 = {{{doddie weir cup|}}}
|label4  = Manufacturer
| label13 = Matches played
|data4  = {{#if:{{{manufacturer|}}}|[[{{{manufacturer}}}]]}}
| data13 = {{{matches|}}}
 
| label14 = Attendance
|label5  = Manufacturers
| data14 = {{#if:{{{attendance|}}} | {{formatnum: {{{attendance|}}}}} {{#if:{{{matches|}}} | ({{formatnum: {{#expr: {{{attendance|}}} / {{{matches|}}} round 0}}}} per match)}}}}
|data5  = {{{manufacturer2|}}}
| label15 = Tries scored
 
| data15 = {{#if:{{{tries|}}} | {{formatnum: {{{tries|}}}}} {{#if:{{{matches|}}} | ({{formatnum: {{#expr: {{{tries|}}} / {{{matches|}}} round 2}}}} per match)}}}}
|label6  = Designer
| label16 = Top point scorer(s)
|data6  = {{{designer|}}}
| data16 = {{{top point scorer|}}}
 
| label17 = Top try scorer(s)
|label7  = Height
| data17 = {{{top try scorer|}}}
|data7  = {{#if:{{{height_m|}}}
| label18 = Player of the tournament
  |{{convert|{{{height_m}}}|m|ft|abbr=on}}
| data18 = {{{Player of the tournament|}}}
  |{{#if:{{{height_ft|}}}
| label19 = Official website
    |{{#if:{{{height_in|}}}
| data19 = {{{website|}}}
      |{{convert|{{{height_ft}}}|ft|{{{height_in}}}|in|m|1|abbr=on}}
| below = {{#if:{{{previous year|}}}{{{next year|}}}|<table style="background:#F9F9F9; width:100%">
      |{{convert|{{{height_ft}}}|ft|m|abbr=on}}
<tr>
      }}
<td style="width:50%;text-align:left;">{{#if:{{{previous year|}}} |
    }}
   {{#if:{{{previous tournament|}}} | [[{{{previous tournament|}}}|{{{previous year|}}}]] | {{{previous year|}}}}} (Previous) }}</td>
  }}
<td style="width:50%;text-align:right;">{{#if:{{{next year|}}} |
 
   (Next) {{#if:{{{next tournament|}}} | [[{{{next tournament|}}}|{{{next year|}}}]] | {{{next year|}}}}} → }}</td>
|label8  = Drop
</tr></table> }}
|data8  = {{#if:{{{drop_m|}}}
| decat = {{#if:{{{previous year|}}}{{{previous tournament|}}}{{{next year|}}}{{{next tournament|}}} | yes | no }}
  |{{convert|{{{drop_m}}}|m|ft|abbr=on}}
}}</includeonly><noinclude>
  |{{#if:{{{drop_ft|}}}
{{Documentation}}
    |{{#if:{{{drop_in|}}}
</noinclude>
      |{{convert|{{{drop_ft}}}|ft|{{{drop_in}}}|in|m|1|abbr=on}}
      |{{convert|{{{drop_ft}}}|ft|m|abbr=on}}
      }}
    }}
  }}
 
|label9  = Length
|data9  = {{#if:{{{length_m|}}}
  |{{convert|{{{length_m}}}|m|ft|abbr=on}}
  |{{#if:{{{length_ft|}}}
    |{{#if:{{{length_in|}}}
      |{{convert|{{{length_ft}}}|ft|{{{length_in}}}|in|m|1|abbr=on}}
      |{{convert|{{{length_ft}}}|ft|m|abbr=on}}
      }}
    }}
  }}
 
|label10  = Speed
|data10  = {{#if:{{{speed_km/h|}}}
  |{{convert|{{{speed_km/h|}}}|km/h|abbr=on}}
  |{{#if:{{{speed_mph|}}}
    |{{convert|{{{speed_mph}}}|mph|abbr=on}}
    }}
  }}
 
|label11  = [[G force]]
|data11  = {{{gforce|}}}
 
|label12  = Capacity
|data12  = {{#if:{{{capacity|}}}|{{{capacity}}} <small>riders per hour</small>}}
 
|label13  = Vehicle type
|data13  = {{{vehicle_type|}}}
 
|label14  = Vehicles
|data14  = {{{vehicles|}}}
 
|label15  = Riders per vehicle
|data15  = {{{riders_per_vehicle|}}}
 
|label16 = Rows
|data16   = {{{rows|}}}
 
|label17 = Riders per row
|data17   = {{{riders_per_row|}}}
 
|label18 = Duration
|data18   = {{{duration|}}}
 
|label19 = Restraint Style
|data19   = {{{restraint|}}}
 
|label20  = {{{custom_label_1|}}}
|data20  = {{{custom_value_1|}}}
 
|label21  = {{{custom_label_2|}}}
|data21  = {{{custom_value_2|}}}
 
|label22  = {{{custom_label_3|}}}
|data22   = {{{custom_value_3|}}}
 
|label23  = {{{custom_label_4|}}}
|data23  = {{{custom_value_4|}}}
 
|label24  = {{{custom_label_5|}}}
|data24  = {{{custom_value_5|}}}
 
|label25  = {{{custom_label_6|}}}
|data25   = {{{custom_value_6|}}}
 
|label26  = {{{custom_label_7|}}}
|data26  = {{{custom_value_7|}}}
 
|label27  = {{{custom_label_8|}}}
|data27  = {{{custom_value_8|}}}
 
|data28  = {{#if:{{{rcdb_number|}}}|<small>[https://rcdb.com/{{{rcdb_number}}}.htm {{{name}}} at RCDB]</small>}}
 
}}{{ns0|
{{#ifeq: {{{auto-cat}}} | no |  | [[Category:Amusement ride models by name]]}}
}}<!-- 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>

Latest revision as of 21:49, 6 August 2017