Difference between revisions of "Template:Infobox Asian Games event/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(WIP)
 
imported>Zackmann08
(WIP)
Line 1: Line 1:
<includeonly></includeonly><noinclude>
+
<includeonly>
 +
{{Infobox sports competition event
 +
| event          = {{{event|}}}
 +
| governing_body = OCA
 +
| competition    = {{Title year|page={{{games|{{PAGETITLE}}}}}}} Asian Games
 +
| year          = {{Title year|page={{{games|{{PAGETITLE}}}}}}}
 +
| image          = {{{image|}}}
 +
| image_size    = {{{image_size|}}}
 +
| alt            = {{{alt|}}}
 +
| caption        = {{{caption|}}}
 +
| venue          = {{{venue|}}}
 +
| venues        = {{{venues|}}}
 +
| location      = {{{location|}}}
 +
| date          = {{{date|}}}
 +
| dates          = {{{dates|}}}
 +
| start_date    = {{{start_date|}}}
 +
| end_date      = {{{end_date|}}}
 +
| competitors    = {{{competitors|}}}
 +
| nations        = {{{nations|}}}
 +
| teams          = {{{teams|}}}
 +
| win_label      = {{{win_label|}}}
 +
| win_value      = {{{win_value|}}}
 +
| win_score      = {{{win_score|}}}
 +
| win_time      = {{{win_time|}}}
 +
| website        = {{{website|}}}
 +
| gold          = {{{gold|}}}
 +
| gold_nation    = {{{gold_nation|{{{goldNOC|}}}}}}
 +
| gold2          = {{{gold2|}}}
 +
| gold2_nation  = {{{gold2_nation|{{{goldNOC2|}}}}}}
 +
| gold3          = {{{gold3|}}}
 +
| gold3_nation  = {{{gold3_nation|{{{goldNOC3|}}}}}}
 +
| silver        = {{{silver|}}}
 +
| silver_nation  = {{{silver_nation|{{{silverNOC|}}}}}}
 +
| silver2        = {{{silver2|}}}
 +
| silver2_nation = {{{silver_nation|{{{silverNOC2|}}}}}}
 +
| silver3        = {{{silver3|}}}
 +
| silver3_nation = {{{silver_nation|{{{silverNOC3|}}}}}}
 +
| bronze        = {{{bronze|}}}
 +
| bronze_nation  = {{{bronze_nation|{{{bronzeNOC|}}}}}}
 +
| bronze2        = {{{bronze2|}}}
 +
| bronze2_nation = {{{bronze2_nation|{{{bronzeNOC2|}}}}}}
 +
| bronze3        = {{{bronze3|}}}
 +
| bronze3_nation = {{{bronze3_nation|{{{bronzeNOC3|}}}}}}
 +
| longnames      = {{{longnames|}}}
 +
| previous      = {{{previous|{{{prev|}}}}}}
 +
| next          = {{{next|}}}
 +
}}
 +
<!--
 +
{{Infobox
 +
| bodystyle = width:27em;
 +
| bodyclass = vevent
 +
 
 +
| aboveclass = summary
 +
| abovestyle = font-size:125%; border-bottom:1px #aaa solid
 +
| above = {{{event}}} <br> at the {{{games|Asian Games}}}
 +
 
 +
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|{{{size|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}}}
 +
| imagestyle = border-bottom:1px #aaa solid
 +
| caption = {{{caption|}}}
 +
 
 +
| headerstyle = border-top:1px #aaa solid; padding-bottom:0;
 +
 
 +
| label1 = {{#if:{{{venues|}}}|Venues|Venue}}
 +
| data1 = {{#if:{{{venues|}}}|{{{venues|}}}|{{{venue|}}}}}
 +
 
 +
| label2 = {{#if:{{{dates|}}}|Dates|Date}}
 +
| data2 = {{#if:{{{dates|}}}|{{{dates|}}}|{{{date|}}}}}
 +
 
 +
| label3 = {{#if:{{{competitors|}}}|Competitors|Nations}}
 +
| data3 = {{#if:{{{competitors|}}}
 +
  |{{{competitors}}}{{#if:{{{nations|}}}|&nbsp;from&nbsp;{{{nations}}}&nbsp;{{#ifeq:{{{nations}}}|1|nation|nations}}}}
 +
  |{{{nations|}}}
 +
  }}
 +
 
 +
| label7 = Teams
 +
| data7 = {{{teams|}}}
 +
 
 +
| label8 = {{#if:{{{win_label|}}}|{{{win_label}}}|{{#if:{{{win_score|}}}|Winning&nbsp;score|Winning&nbsp;time}}}}
 +
| data8 = {{#if:{{{win_value|}}}|{{{win_value}}}|{{#if:{{{win_score|}}}|{{{win_score}}}|{{{win_time|}}}}}}}
 +
 
 +
| label9 = Total prize money
 +
| data9 = {{{prize_money|}}}
 +
 
 +
| label10 = Website
 +
| data10 = {{{website|}}}
 +
}}
 +
-->
 +
</includeonly><noinclude>
 
{{testcase table
 
{{testcase table
| event = "event"
+
| event       = Baseball 
| games = "games"
+
| games       = 2006 Asian Games
| image = "image"
+
| image = Placeholder.png
| image_size = "image_size"
+
| image_size = 50px
 
| caption = "caption"  
 
| caption = "caption"  
 
| venues = "venues"  
 
| venues = "venues"  
Line 10: Line 97:
 
| dates = "dates"  
 
| dates = "dates"  
 
| date = "date"  
 
| date = "date"  
| competitors = "competitors"
+
| competitors = 15
| nations = "nations"
+
| nations = 10
 
| teams = "teams"  
 
| teams = "teams"  
 
| gold = "gold"  
 
| gold = "gold"  

Revision as of 19:15, 27 August 2017