Difference between revisions of "Template:Infobox snooker tournament"
Jump to navigation
Jump to search
imported>Armbrust (better order for parameters) |
imported>Zyxw m (replace {{PAGENAME}} with {{PAGENAMEBASE}} to remove any disambiguation if article name is used as infobox title, using AWB) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Infobox |
− | | title = {{{tournament_name|<includeonly>{{ | + | | title = {{{tournament_name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} |
| headerstyle = background-color: lightgreen | | headerstyle = background-color: lightgreen | ||
− | | | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}} |
| header2 = {{#if:{{{venue|}}}{{{location|}}}{{{country|}}}{{{establishment|}}}{{{organisation|}}}{{{format|}}}{{{prizefund|}}}{{{winners_share|}}}{{{final year|}}}|Tournament information}} | | header2 = {{#if:{{{venue|}}}{{{location|}}}{{{country|}}}{{{establishment|}}}{{{organisation|}}}{{{format|}}}{{{prizefund|}}}{{{winners_share|}}}{{{final year|}}}|Tournament information}} | ||
Line 16: | Line 16: | ||
| label7 = {{nowrap|Organisation(s)}} | | label7 = {{nowrap|Organisation(s)}} | ||
| data7 = {{{organisation|}}} | | data7 = {{{organisation|}}} | ||
− | | label8 | + | | label8 = Format |
| data8 = {{{format|}}} | | data8 = {{{format|}}} | ||
| label9 = {{nowrap|Total prize fund}} | | label9 = {{nowrap|Total prize fund}} | ||
| data9 = {{{prizefund|}}} | | data9 = {{{prizefund|}}} | ||
− | | label10 | + | | label10 = {{nowrap|Recent edition}} |
− | | data10 | + | | data10 = {{{Recent edition|}}} |
− | | label11 | + | | label11 = {{nowrap|Current champion(s)}} |
| data11 = {{{Current Champion|}}} | | data11 = {{{Current Champion|}}} | ||
− | | label12 | + | | label12 = {{nowrap|Final year}} |
− | | data12 | + | | data12 = {{{final year|}}} |
− | | label13 | + | | label13 = {{nowrap|Final champion(s)}} |
− | | data13 | + | | data13 = {{{Final Champion|}}} |
+ | |||
}}<noinclude>{{doc}}</noinclude> | }}<noinclude>{{doc}}</noinclude> |
Latest revision as of 02:23, 1 December 2016
[[Category:Infobox templates|Template:Remove first word]]
Usage
Template:Parameter names example
{{Infobox snooker tournament | tournament_name = | image = | venue = | location = | country = | establishment = | organisation = | format = | prizefund = | winners_share = | final year = | Recent edition = | Current Champion = | Final Champion = }}
The above documentation is transcluded from Template:Infobox snooker tournament/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |