Difference between revisions of "Template:Infobox curling competition"
Jump to navigation
Jump to search
imported>Prayerfortheworld (optional dates parameter) |
(use template:infobox) |
||
| Line 1: | Line 1: | ||
| − | { | + | {{Infobox |
| − | | | + | | abovestyle = background: #efefef; font-size:120%; |
| − | | | + | | above = {{{Name|<includeonly>{{PAGENAME}}</includeonly>}}} |
| − | + | ||
| − | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Logo|}}}|size={{{Size|}}}|sizedefault=frameless|title={{{Name}}}}} | |
| − | + | | caption = {{{caption|{{{Optional caption|}}}}}} | |
| − | + | ||
| − | }} | + | | label1 = Host city |
| − | | | + | | data1 = {{{Host city|}}} |
| − | + | ||
| − | | {{{Host city}}} | + | | label2 = Arena |
| − | | | + | | data2 = {{#ifeq:{{{Arena}}}|none||{{{Arena|}}}}} |
| − | {{#ifeq:{{{Arena}}}|none|| | + | |
| − | + | | label3 = Dates | |
| − | + | | data3 = {{#ifeq:{{{Dates}}}|none||{{{Dates|}}}}} | |
| − | | | + | |
| − | {{#ifeq:{{{Dates}}}|none|| | + | | label4 = Attendance |
| − | + | | data4 = {{{Attendance|}}} | |
| − | + | ||
| − | | | + | | label5 = Winner |
| − | + | | data5 = {{{Winner|}}} | |
| − | + | ||
| − | + | | label6 = Winners | |
| − | | | + | | data6 = {{{Winners|}}} |
| − | + | ||
| − | + | | label7 = Men's winner | |
| − | + | | data7 = {{{Men's winner|}}} | |
| − | | | + | |
| − | + | | label8 = Curling club | |
| − | + | | data8 = {{#ifeq:{{{Curling club}}}|none||{{{Curling club|}}}}} | |
| − | + | ||
| − | | | + | | label9 = Skip |
| − | + | | data9 = {{#ifeq:{{{Skip}}}|none||{{{Skip|}}}}} | |
| − | + | ||
| − | + | | label10 = Fourth | |
| − | | | + | | data10 = {{{Fourth|}}} |
| − | {{#ifeq:{{{Curling club}}}|none|| | + | |
| − | + | | label11 = Third | |
| − | + | | data11 = {{#ifeq:{{{Third}}}|none||{{{Third|}}}}} | |
| − | | | + | |
| − | {{#ifeq:{{{Skip}}}|none|| | + | | label12 = Second |
| − | + | | data12 = {{#ifeq:{{{Second}}}|none||{{{Second|}}}}} | |
| − | + | ||
| − | | | + | | label13 = Lead |
| − | + | | data13 = {{#ifeq:{{{Lead}}}|none||{{{Lead|}}}}} | |
| − | + | ||
| − | + | | label14 = Alternate | |
| − | | | + | | data14 = {{{Alternate|}}} |
| − | {{#ifeq:{{{Third}}}|none|| | + | |
| − | + | | label15 = Coach | |
| − | + | | data15 = {{{Coach|}}} | |
| − | | | + | |
| − | {{#ifeq:{{{Second}}}|none|| | + | | label16 = Male |
| − | + | | data16 = {{{Male|}}} | |
| − | + | ||
| − | | | + | | label17 = Female |
| − | {{#ifeq:{{{Lead}}}|none|| | + | | data17 = {{{Female|}}} |
| − | + | ||
| − | + | | label18 = Finalist | |
| − | | | + | | data18 = {{#ifeq:{{{Finalist}}}|none||{{{Finalist|}}}}} |
| − | + | ||
| − | + | | label19 = Women's winner | |
| − | + | | data19 = {{{Women's winner|}}} | |
| − | | | + | |
| − | + | | label20 = Curling club | |
| − | + | | data20 = {{{Curling club2|}}} | |
| − | + | ||
| − | | | + | | label21 = Skip |
| − | + | | data21 = {{{Skip2|}}} | |
| − | + | ||
| − | + | | label22 = Fourth | |
| − | | | + | | data22 = {{{Fourth2|}}} |
| − | + | ||
| − | + | | label23 = Third | |
| − | + | | data23 = {{{Third2|}}} | |
| − | | | + | |
| − | {{#ifeq:{{{Finalist}}}|none|| | + | | label24 = Second |
| − | + | | data24 = {{{Second2|}}} | |
| − | + | ||
| − | | | + | | label25 = Lead |
| − | + | | data25 = {{{Lead2|}}} | |
| − | + | ||
| − | + | | label26 = Alternate | |
| − | | | + | | data26 = {{{Alternate2|}}} |
| − | + | ||
| − | + | | label27 = Coach | |
| − | + | | data27 = {{{Coach2|}}} | |
| − | | | + | |
| − | + | | label28 = Finalist | |
| − | + | | data28 = {{{Finalist2|}}} | |
| − | + | ||
| − | | | + | | label29 = Previous |
| − | + | | data29 = {{{Prev|}}} | |
| − | + | ||
| − | + | | label30 = Next | |
| − | | | + | | data30 = {{{Next|}}} |
| − | + | ||
| − | + | }}<noinclude> | |
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
{{template doc}} | {{template doc}} | ||
</noinclude> | </noinclude> | ||
Revision as of 21:24, 9 March 2014
[[Category:Infobox templates|Template:Remove first word]]
Usage
Template:Parameter names example
{{infobox curling
|Name =
|Logo =
|Size =
|Host city =
|Arena =
|Dates =
|Winner =
|Men's winner =
|Curling club =
|Skip =
|Fourth = <!-- include only if applicable (see below) -->
|Third =
|Second =
|Lead =
|Alternate =
|Coach =
|Finalist =
|Women's winner =
|Curling club2 =
|Skip2 =
|Fourth2 = <!-- include only if applicable (see below) -->
|Third2 =
|Second2 =
|Lead2 =
|Alternate2 =
|Coach2 =
|Finalist2 =
|prev =
|next =
}}
Notes
- The parameters from "Women's winner" to "Finalist2" are optional and should only be used in tournaments with both men's and women's competitions.
- IF no arena/venue can be listed for parameter "Arena", set parameter equal to none.
- IF no curling club can be listed for parameter "Curling club", set parameter equal to none.
- IF no skip or third can be listed (e.g. in a mixed doubles tournament), set parameters equal to none.
- IF skip does not play fourth rocks, list skip as skip and use the Fourth or the Fourth2 parameter to list other teammate.
| The above documentation is transcluded from Template:Infobox curling competition/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. |