Template:Infobox sports season: Difference between revisions

From EarthMC
Jump to navigation Jump to search
sayerleft (talk | contribs)
Created page with "<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;" | {{{title|{{PAGENAME}}}}} {{#if:{{{image|}}}| <tr><td colspan="2" style="text-align: center; background-color: #fff; border: 1px solid #a2a9b1;">[..."
 
sayerleft (talk | contribs)
No edit summary
Line 2: Line 2:
|+ style="font-size: 125%; font-weight: bold; background-color: #efefef; border: 1px solid #a2a9b1; padding: 5px;" | {{{title|{{PAGENAME}}}}}
|+ style="font-size: 125%; font-weight: bold; background-color: #efefef; border: 1px solid #a2a9b1; padding: 5px;" | {{{title|{{PAGENAME}}}}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<tr><td colspan="2" style="text-align: center; background-color: #fff; border: 1px solid #a2a9b1;">[[File:{{{image}}}|220px]]<br />{{{caption|}}}</td></tr>
<tr><td colspan="2" style="text-align: center; background-color: #fff; border: 1px solid #a2a9b1;">{{{image}}}<br />{{{caption|}}}</td></tr>
}}
}}
{{#if:{{{league|}}}|
{{#if:{{{league|}}}|
Line 44: Line 44:
|-
|-
| style="{{#if:{{{previous|}}}|}}" valign="top" align="left" |'''←''' {{{previous}}}
| style="{{#if:{{{previous|}}}|}}" valign="top" align="left" |'''←''' {{{previous}}}
!
| style="{{#if:{{{previous|}}}|}}" valign="top" align="right" |{{{next}}} '''→'''  
| style="{{#if:{{{previous|}}}|}}" valign="top" align="right" |{{{next}}} '''→'''  
|-
|-

Revision as of 02:04, 4 February 2026

Usage

This version only displays rows if the parameter is filled.

{{Infobox sports season
| title       = 
| image       = 
| caption     = 
| league      =
| sport       = 
| duration    = 
| matches =
| teams = 
| views =
| color = 
| season =
| title1 =
| title1winner =
| title1runnerup =
| mvp = 
| topscorer =
| award1 =
| award1winner =
| playoff_spots=
| finals=
| finals_winner=
| finals_runnerup=
| finals_MVP=
| previous=
| next=

}}