Difference between revisions of "Template:Infobox dragon season"

From Golly.Life Wiki

(Created page with "<includeonly>{{Infobox | name = Dragon Cup Season {{{season}}} | abovestyle = background:#aaa; color:#272B30; | above = Dragon Cup Season {{{season}}} | im...")
 
 
(2 intermediate revisions by the same user not shown)
Line 53: Line 53:
 
     | label4 = Seed 4 | data4 = {{#if:{{{monterey_bay_league_seed4_abbr|}}}|{{Main Page Thumbnail|{{{monterey_bay_league_seed4_abbr|DragonCup}}}.png|{{TeamAbbrToName|{{{monterey_bay_league_seed4_abbr}}}}} logo|{{TeamAbbrToName|{{{monterey_bay_league_seed4_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{monterey_bay_league_seed4_abbr}}}}}]]|&nbsp;}}
 
     | label4 = Seed 4 | data4 = {{#if:{{{monterey_bay_league_seed4_abbr|}}}|{{Main Page Thumbnail|{{{monterey_bay_league_seed4_abbr|DragonCup}}}.png|{{TeamAbbrToName|{{{monterey_bay_league_seed4_abbr}}}}} logo|{{TeamAbbrToName|{{{monterey_bay_league_seed4_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{monterey_bay_league_seed4_abbr}}}}}]]|&nbsp;}}
  
  }}
 
 
| header13 = Divination
 
|  data14 = {{Infobox | subbox = yes
 
    |  label1 = Arcana      |  data1 = {{{arcana|}}}
 
    |  label2 = Title      |  data2 = {{{title|}}}
 
 
   }}
 
   }}
  
Line 91: Line 85:
 
| san_francisco_bay_league_seed3_abbr = OB
 
| san_francisco_bay_league_seed3_abbr = OB
 
| san_francisco_bay_league_seed4_abbr = MVM
 
| san_francisco_bay_league_seed4_abbr = MVM
 
| arcana = TBD
 
| title = TBD
 
 
}}
 
}}
 
</nowiki>
 
</nowiki>
Line 100: Line 91:
 
The {{Tl|Infobox season}} template will pass these arguments to the {{Tl|Infobox}} template, inserting the right bits of information in the right places to produce this:
 
The {{Tl|Infobox season}} template will pass these arguments to the {{Tl|Infobox}} template, inserting the right bits of information in the right places to produce this:
  
{{Infobox toroidal season
+
{{Infobox dragon season
 
| season = 1
 
| season = 1
  
Line 106: Line 97:
 
| end_date = 2021-05-26
 
| end_date = 2021-05-26
  
| champion_abbr = SFBS
+
| champion_abbr = AI
  
| cold_league_seed1_abbr = LBFB
+
| monterey_bay_league_seed1_abbr = BCC
| cold_league_seed2_abbr = TB
+
| monterey_bay_league_seed2_abbr = AI
| cold_league_seed3_abbr = SS
+
| monterey_bay_league_seed3_abbr = MM
| cold_league_seed4_abbr = OSHA
+
| monterey_bay_league_seed4_abbr = SCS
  
| hot_league_seed1_abbr = DET
+
| san_francisco_bay_league_seed1_abbr = SGSC
| hot_league_seed2_abbr = SFBS
+
| san_francisco_bay_league_seed2_abbr = RS
| hot_league_seed3_abbr = SAC
+
| san_francisco_bay_league_seed3_abbr = OB
| hot_league_seed4_abbr = MILF
+
| san_francisco_bay_league_seed4_abbr = MVM
 
 
| arcana = TBD
 
| title = TBD
 
}}
 
 
 
 
 
 
 
--------------------------
 
 
 
Now if we leave out some team abbreviations, it should be gracefully handled:
 
 
 
 
 
{{Infobox toroidal season
 
| season = 1
 
 
 
| start_date = 2021-05-24
 
| end_date = 2021-05-26
 
 
 
| champion_abbr = SFBS
 
 
 
| cold_league_seed1_abbr =
 
| cold_league_seed2_abbr = TB
 
| cold_league_seed3_abbr = SS
 
| cold_league_seed4_abbr = OSHA
 
 
 
| hot_league_seed1_abbr =
 
| hot_league_seed2_abbr =
 
| hot_league_seed3_abbr = SAC
 
| hot_league_seed4_abbr = MILF
 
 
 
| arcana = TBD
 
| title = TBD
 
 
}}
 
}}
  
 
[[Category:Teams]]
 
[[Category:Teams]]
 
[[Category:Infobox]]
 
[[Category:Infobox]]
 +
[[Category:Dragon Cup]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:20, 3 November 2025

The {{Infobox dragon season}} template is used to define an infobox for a Dragon Cup season.

Here is how you use it:


{{Infobox dragon season
| season = 1

| start_date = 2021-05-24
| end_date = 2021-05-26

| champion_abbr = AI

| monterey_bay_league_seed1_abbr = BCC
| monterey_bay_league_seed2_abbr = AI
| monterey_bay_league_seed3_abbr = MM
| monterey_bay_league_seed4_abbr = SCS

| san_francisco_bay_league_seed1_abbr = SGSC
| san_francisco_bay_league_seed2_abbr = RS
| san_francisco_bay_league_seed3_abbr = OB
| san_francisco_bay_league_seed4_abbr = MVM
}}

The {{Infobox season}} template will pass these arguments to the {{Infobox}} template, inserting the right bits of information in the right places to produce this:

Dragon Cup Season 1
Dragon Cup logo
Dragon Cup Season 1
Season Dates
Start 2021-05-24
End 2021-05-26
Timeline
Next Season ▶▶ Season 2
Championship
Dragon Champion

Aptos Investigators logo

Aptos Investigators
Pennants
San Francisco Bay League  
Monterey Bay League  
San Francisco Bay Seeds
Seed 1

San Gregorio Sand Crabs logo

San Gregorio Sand Crabs
Seed 2

Richmond Slicks logo

Richmond Slicks
Seed 3

Oakland Bees logo

Oakland Bees
Seed 4

Mountain View Miners logo

Mountain View Miners
Monterey Bay Seeds
Seed 1

Boulder Creek Cardsharps logo

Boulder Creek Cardsharps
Seed 2

Aptos Investigators logo

Aptos Investigators
Seed 3

Monterey Meteorologists logo

Monterey Meteorologists
Seed 4

Sand City Sidewinders logo

Sand City Sidewinders
 
Template:Infobox dragon season   •   edit