Difference between revisions of "Template:Infobox GrandSlamTournaments"
Jump to navigation
Jump to search
imported>Frietjes (add bias (could be removed but will see)) |
imported>Frietjes (not needed after changes to Australian Open) |
||
| Line 3: | Line 3: | ||
| title = {{{Name}}} | | title = {{{Name}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Logo|{{{logo|}}}}}}|size={{{Logo size|}}}|alt={{{alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Logo|{{{logo|}}}}}}|size={{{Logo size|}}}|alt={{{alt|}}}}} | ||
| − | | headerstyle = background:{{{Bar Color|transparent}}}; color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black | + | | headerstyle = background:{{{Bar Color|transparent}}}; color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black}}; |
| autoheaders = yes | | autoheaders = yes | ||
| − | | data1 = [{{{Web site}}} <span style="color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black | + | | data1 = [{{{Web site}}} <span style="color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black}};">Official website</span>] |
| − | | rowcellstyle1 = background:{{{Bar Color|transparent}}}; color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black | + | | rowcellstyle1 = background:{{{Bar Color|transparent}}}; color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black}}; font-weight:bold; |
| label2 = Founded | | label2 = Founded | ||
| Line 72: | Line 72: | ||
| data23 = {{{Mixed Most F|}}} | | data23 = {{{Mixed Most F|}}} | ||
| − | | header24 = [[Grand Slam (tennis)|<span style="color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black | + | | header24 = [[Grand Slam (tennis)|<span style="color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black}};">Grand Slam</span>]] |
| rowcellstyle25 = text-align:left; | | rowcellstyle25 = text-align:left; | ||
| data25 = | | data25 = | ||
Revision as of 15:11, 12 October 2020
| This template uses Lua: |
Template:Parameter names example
Usage
{{Infobox GrandSlamTournaments
| Name =
| Last =
| Last alias =
| Current =
| Current alias =
| Logo =
| Logo size =
| Bar Color =
| Founded =
| Editions =
| City =
| Country =
| Venue =
| Surface =
| Men Draw =
| Men Current =
| Men Most S =
| Men Most D =
| Women Draw =
| Women Current =
| Women Most S =
| Women Most D =
| Mixed Draw =
| Mixed Current =
| Mixed Most M =
| Mixed Most F =
| Prize Money =
| Web site =
| Notes =
}}
Colors
- AUS: #0091D2
- FRA: #05482F
- WIM: #006633
- USA: #00288C
| The above documentation is transcluded from Template:Infobox GrandSlamTournaments/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |