Difference between revisions of "Template:Infobox curling competition"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Protected "Template:Infobox curling competition": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or conf...)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| abovestyle = background: #efefef; font-size:120%;
+
| bodystyle = width:auto; max-width:30em
 +
| abovestyle = background: #efefef; font-size:125%;
 
| above = {{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}
 
| above = {{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}
  
Line 51: Line 52:
 
| data15 = {{{Coach|}}}
 
| data15 = {{{Coach|}}}
  
| label16 = Male
+
| label16 = Female
| data16 = {{{Male|}}}
+
| data16 = {{{Female|}}}
  
| label17 = Female
+
| label17 = Male
| data17 = {{{Female|}}}
+
| data17 = {{{Male|}}}
  
 
| label18 = Finalist
 
| label18 = Finalist
Line 90: Line 91:
 
| data28 = {{{Finalist2|}}}
 
| data28 = {{{Finalist2|}}}
  
| label29 = Previous
+
| belowstyle = background: #efefef;
| data29 = {{{Prev|}}}
+
| below      = {{#if:{{{prev|}}}|{{align|left|«&nbsp;'''{{{prev}}}'''}} }} {{#if:{{{next|}}}|{{align|right|'''{{{next|}}}'''&nbsp;»}} }}
 
 
| label30 = Next
 
| data30 = {{{Next|}}}
 
 
 
 
}}<noinclude>
 
}}<noinclude>
{{template doc}}
+
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 18:59, 10 January 2018

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

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.