Template:Infobox sports league: Difference between revisions

From EarthMC
Jump to navigation Jump to search
sayerleft (talk | contribs)
No edit summary
sayerleft (talk | contribs)
No edit summary
 
Line 1: Line 1:
<includeonly>{| class="infobox" style="float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background-color: #f8f9fa; width: 24em; font-size: 88%; line-height: 1.5em; border-spacing: 2px;"
<includeonly>{| class="infobox" style="float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background-color: #f8f9fa; width: 24em; font-size: 88%; line-height: 1.5em; border-spacing: 2px;"
|+ style="font-size: 125%; font-weight: bold; background-color: #efefef; border: 1px solid #a2a9b1; padding: 5px;" | {{{name|{{PAGENAME}}}}}
|+ style="font-size: 125%; font-weight: bold; background-color: #efefef; border: 1px solid #a2a9b1; padding: 5px;" | {{{name|{{PAGENAME}}}}}
{{#if:{{{current_season|}}}|
{{#if:{{{currentseason|}}}|
<tr><th colspan="2" style="text-align: center; background-color: #333; color: white; border: 1px solid #a2a9b1; font-size: 110%; padding: 3px;">Current season, competition or edition:<br><em>{{{current_season}}}</em></th></tr>
<tr><th colspan="2" style="text-align: center; background-color: #333; color: white; border: 1px solid #a2a9b1; font-size: 110%; padding: 3px;">Current season, competition or edition:<br><em>{{{currentseason}}}</em></th></tr>
}}
}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|

Latest revision as of 09:25, 16 January 2026

Usage

This version only displays rows if the parameter is filled.

{{Infobox sports league
| name        = 
| image       = 
| caption     = 
| sport       = 
| founded     = 
| founder     = 
| region      = 
| teams       = 
| champion    = 
| most_titles = 
| formerly =
| first_season =
| ceased =
| replacedby =
| owner =
| commissioner =
| organizer =
| conferences =
| divisions =
| hq =
| broadcaster =
}}