Difference between revisions of "Template:Infobox sports conference"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (replace {{PAGENAME}} with {{PAGENAMEBASE}} to remove any disambiguation if article name is used as infobox title, using AWB)
imported>Piranha249
(Added new sections)
Line 22: Line 22:
 
| label8 = Founded
 
| label8 = Founded
 
| data8 = {{{founded|}}}
 
| data8 = {{{founded|}}}
| label9 = Inaugural season
+
| label9 = {{#if:{{{countries|}}}|Countries|Country}}
| data9 = {{{inaugural|}}}
+
| data9 = {{#if:{{{countries|}}}|{{{countries}}}|{{{country|}}}}}
| label10 = Ceased
+
| label10 = President
| data10 = {{{folded|}}}
+
| data10 = {{{president|}}}
| label11 = Replaced by
+
| label11 = Inaugural season
| data11 = {{{replaced|}}}
+
| data11 = {{{inaugural|}}}
| header12 ={{#if:{{{members|}}}|Members|{{#if:{{{teams|}}}|Teams|}}}}
+
| label12 = Ceased
| label13 = No. of {{#if:{{{members|}}}|members|teams}}
+
| data12 = {{{folded|}}}
| data13 = {{#if:{{{members|}}}|{{{members}}}|{{{teams|}}}}}
+
| label13 = Replaced by
| header14 ={{#if:{{{last_champs|{{{recent_champs|}}}}}}{{{most_champs|}}}|Championships}}
+
| data13 = {{{replaced|}}}
| label15 = {{#if: {{{folded|}}} | Last | Most recent }} {{{title|{{PAGENAME}}}}} champion(s)
+
| header14 ={{#if:{{{members|}}}|Members|{{#if:{{{teams|}}}|Teams|}}}}
| data15 = {{{champion|{{{last_champs|{{{recent_champs|}}} }}} }}}
+
| label15 = No. of {{#if:{{{members|}}}|members|teams}}
| label16 = Most {{{title|{{PAGENAME}}}}} titles
+
| data15 = {{#if:{{{members|}}}|{{{members}}}|{{{teams|}}}}}
| data16 = {{{most_champs|}}}
+
| header16 ={{#if:{{{last_champs|{{{recent_champs|}}}}}}{{{most_champs|}}}|Championships}}
| header17 = {{#if:{{{website|}}}|Official website}}
+
| label17 = {{#if: {{{folded|}}} | Last | Most recent }} {{{title|{{PAGENAME}}}}} champion(s)
| data18 = {{{website|}}}
+
| data17 = {{{champion|{{{last_champs|{{{recent_champs|}}} }}} }}}
| header19 = {{#if:{{{map|}}}|{{infobox|child=yes
+
| label18 = Most {{{title|{{PAGENAME}}}}} titles
 +
| data18 = {{{most_champs|}}}
 +
| header19 = {{#if:{{{website|}}}|Official website}}
 +
| data20 = {{{website|}}}
 +
| header21 = {{#if:{{{map|}}}|{{infobox|child=yes
 
   | title = Map
 
   | title = Map
 
   | image = {{{map|}}}
 
   | image = {{{map|}}}
 
   | caption = {{{map_caption|}}}
 
   | caption = {{{map_caption|}}}
 
   }} }}
 
   }} }}
| header20 = {{#if:{{{footnotes|}}}|Notes}}
+
| header22 = {{#if:{{{footnotes|}}}|Notes}}
| data21 = {{{footnotes|}}}
+
| data23 = {{{footnotes|}}}
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Revision as of 21:28, 25 April 2017

Template:PAGENAMEBASE

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

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

Usage

This template is used to create an infobox in an article about a sports conference or division within a league.

Template:Parameter names example

{{Infobox sports conference
| title           = 
| logo            = 
| pixels          = <!-- use a format of ##px, such as 120px -->
| caption         = 
| conference      = <!-- only use if the article is a division within a conference -->
| league          =
| sport           = <!-- or | sports = -->
| headquarters    =
| region          =
| formerly        = 
| founded         = 
| country         = <!-- or | countries = -->
| president       =
| inaugural       = 
| teams           = <!--For the number of teams, not a list-->
| folded          = 
| replaced        =
| champion        = 
| most_champs     = 
| website         =
| map             =
| map_caption     =
| footnotes       =
}}

See also

lv:Veidne:Sporta konferences infokaste