Difference between revisions of "Template:Infobox cup"
From Golly.Life Wiki
(Created page with "<includeonly>{{Infobox | name = {{{name}}} | abovestyle = background:#cfc; color:#272B30; | above = {{{name}}} | image = File:{{{logo}}}|200px|alt...") |
|||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| name = {{{name}}} | | name = {{{name}}} | ||
| − | | abovestyle = background:# | + | | abovestyle = background:#ffe200; color:#272B30; |
| above = {{{name}}} | | above = {{{name}}} | ||
| image = [[File:{{{logo}}}|200px|alt={{{name}}} logo]] | | image = [[File:{{{logo}}}|200px|alt={{{name}}} logo]] | ||
| − | |headerstyle = background:# | + | |headerstyle = background:#ffe200; color:#272B30; |
| − | |labelstyle = background:#272B30; color:# | + | |labelstyle = background:#272B30; color:#ffe200; |
|datastyle = background:#272B30; color:#eee; | |datastyle = background:#272B30; color:#eee; | ||
| header1 = League | | header1 = League | ||
| data2 = {{Infobox | subbox = yes | | data2 = {{Infobox | subbox = yes | ||
| − | | | + | | label2 = Splorts League | data2 = {{{splorts_league|}}} |
| − | | | + | | label3 = CA Rule | data3 = {{{rule_set|}}} |
| − | | | + | | label4 = Geometry | data4 = {{{geometry|}}} |
| − | | | + | | label5 = Rules | data5 = {{{rules_link|}}} |
| − | | | + | | label6 = League Names | data6 = {{{league_names|}}} |
| − | + | | label7 = Division Names | data7 = {{{division_names|}}} | |
| − | + | | label8 = First Season | data8 = {{{first_season|}}} | |
| − | + | | label9 = Start Date | data9 = {{{start_date|}}} | |
| − | + | | label10 = Last Season | data10 = {{{last_season|}}} | |
| − | | | + | | label11 = End Date | data11 = {{{end_date|}}} |
| − | | | ||
}} | }} | ||
| Line 43: | Line 42: | ||
| name = Hellmouth Cup | | name = Hellmouth Cup | ||
| logo = HellmouthCup.png | | logo = HellmouthCup.png | ||
| − | | splorts_league = Golly | + | | splorts_league = Golly |
| + | | rule_set = B3/S23 | ||
| + | | geometry = Infinite Grid | ||
| + | | rules_link = [[Hellmouth Cup/Rules]] | ||
| league_names = Cold, Hot | | league_names = Cold, Hot | ||
| division_names = Fire, Water | | division_names = Fire, Water | ||
| first_season = [[Season 1]] | | first_season = [[Season 1]] | ||
| − | | | + | | start_date = December 9, 2020 |
| − | | | + | | last_season = [[Season 24]] |
| + | | end_date = May 23, 2021 | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
| Line 58: | Line 61: | ||
| name = Hellmouth Cup | | name = Hellmouth Cup | ||
| logo = HellmouthCup.png | | logo = HellmouthCup.png | ||
| − | | splorts_league = Golly | + | | splorts_league = Golly |
| + | | rule_set = B3/S23 | ||
| + | | geometry = Infinite Grid | ||
| + | | rules_link = [[Hellmouth Cup/Rules]] | ||
| league_names = Cold, Hot | | league_names = Cold, Hot | ||
| division_names = Fire, Water | | division_names = Fire, Water | ||
| first_season = [[Season 1]] | | first_season = [[Season 1]] | ||
| − | | | + | | start_date = December 9, 2020 |
| − | | | + | | last_season = [[Season 24]] |
| + | | end_date = May 23, 2021 | ||
}} | }} | ||
[[Category:Infobox]] | [[Category:Infobox]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 04:20, 25 May 2021
The {{Infobox cup}} template is used to define an infobox for a Golly cup.
Here is how you use it:
{{Infobox cup
| name = Hellmouth Cup
| logo = HellmouthCup.png
| splorts_league = Golly
| rule_set = B3/S23
| geometry = Infinite Grid
| rules_link = [[Hellmouth Cup/Rules]]
| league_names = Cold, Hot
| division_names = Fire, Water
| first_season = [[Season 1]]
| start_date = December 9, 2020
| last_season = [[Season 24]]
| end_date = May 23, 2021
}}
The {{Infobox team}} template will pass these arguments to the {{Infobox}} template, inserting the right bits of information in the right places to produce this:
| Hellmouth Cup | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||||||||||||
| League | |||||||||||||||||||||
| |||||||||||||||||||||
| |||||||||||||||||||||