Template:Infobox sport: Difference between revisions

From EarthMC
Jump to navigation Jump to search
sayerleft (talk | contribs)
No edit summary
sayerleft (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="border: 1px solid #a2a9b1; background-color: #f8f9fa; width: 24em; font-size: 88%; line-height: 1.5em; border-spacing: 2px;"
<includeonly>{| class="infobox" style="border: 1px solid #a2a9b1; float: right; margin: 0 0 1em 1em; clear: right;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}}}
|+ style="font-size: 125%; font-weight: bold; background-color: #efefef; border: 1px solid #a2a9b1; padding: 5px;" | {{{name}}}
|-
|-
{{#if:{{{image1<includeonly>|</includeonly>}}} |
{{#if:{{{image|}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}<br>{{{caption|}}}
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image}}}<br>{{{caption|}}}
{{!}}-
{{!}}-
}}
}}

Latest revision as of 05:32, 22 January 2026

Usage

Copy and paste this code to use for any sport:

{{Infobox sport
| name         = 
| image        = 
| caption      = 
| body        = 
| nickname     = 
| contact      = 
| team         = 
| type         = 
| equipment    = 
| venue        = 
| first_played = 
| registered   = 
| region       = 
| olympic      = 
| leagues      = 
}}