Template:Infobox sport: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
| colspan="2" style="text-align: center;" | | | colspan="2" style="text-align: center;" | | ||
{{#if:{{{image|}}}|[[File:{{{image}}}|{{{image_size|220px}}}|{{{caption|}}}]]}}{{#if:{{{caption|}}}|<br /><div style="font-size: 90%; padding-top: 3px;">{{{caption}}}</div>}} | {{#if:{{{image|}}}|[[File:{{{image}}}|{{{image_size|220px}}}|{{{caption|}}}]]}}{{#if:{{{caption|}}}|<br /><div style="font-size: 90%; padding-top: 3px;">{{{caption}}}</div>}} | ||
|- | |- | ||
! | {{#if:{{{body|}}}| | ||
! scope="row" | Highest governing body | |||
| {{{body}}} | |||
}} | |||
|- | |- | ||
! colspan="2" style="text-align: center; background-color: #efefef; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;" | Characteristics | ! colspan="2" style="text-align: center; background-color: #efefef; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;" | Characteristics | ||
|- | |- | ||
! | {{#if:{{{nickname|}}}| | ||
| {{{ | ! scope="row" | Nickname(s) | ||
| {{{nickname}}} | |||
|- | |- | ||
! | }} | ||
| {{{ | {{#if:{{{contact|}}}| | ||
! scope="row" | Contact | |||
| {{{contact}}} | |||
|- | |- | ||
! | }} | ||
| {{{ | {{#if:{{{team|}}}| | ||
! scope="row" | Team members | |||
| {{{team}}} | |||
|- | |- | ||
! | }} | ||
| {{{ | {{#if:{{{type|}}}| | ||
! scope="row" | Type | |||
| {{{type}}} | |||
|- | |- | ||
! Venue | }} | ||
| {{{venue| | {{#if:{{{equipment|}}}| | ||
! scope="row" | Equipment | |||
| {{{equipment}}} | |||
|- | |||
}} | |||
{{#if:{{{venue|}}}| | |||
! scope="row" | Venue | |||
| {{{venue}}} | |||
|- | |||
}} | |||
|- | |- | ||
! colspan="2" style="text-align: center; background-color: #efefef; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;" | History | ! colspan="2" style="text-align: center; background-color: #efefef; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;" | History | ||
|- | |- | ||
! First played | {{#if:{{{first_played|}}}| | ||
| {{{first_played|}}} | ! scope="row" | First played | ||
| {{{first_played}}} | |||
|- | |||
}} | |||
{{#if:{{{registered|}}}| | |||
! scope="row" | Registered players | |||
| {{{registered}}} | |||
|- | |||
}} | |||
|- | |- | ||
! | ! colspan="2" style="text-align: center; background-color: #efefef; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;" | Presence | ||
| | |||
|- | |- | ||
! | {{#if:{{{region|}}}| | ||
! scope="row" | Country or region | |||
| {{{region}}} | |||
|- | |- | ||
}} | |||
|- | |- | ||
{{#if:{{{olympic|}}}| | {{#if:{{{olympic|}}}| | ||
! Olympic | ! scope="row" | Olympic | ||
| {{{olympic}}} | | {{{olympic}}} | ||
|- | |- | ||
}} | }} | ||
! colspan="2" style="text-align: center; background-color: #efefef; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;" | | |- | ||
! colspan="2" style="text-align: center; background-color: #efefef; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;" | Competitions | |||
|- | |- | ||
| colspan="2" style="text-align: center; font-style: italic;" | {{{leagues|}}} | | colspan="2" style="text-align: center; font-style: italic;" | {{{leagues|}}} | ||
| Line 53: | Line 83: | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Copy and paste this code to use for any sport: | |||
<pre> | <pre> | ||
{{Infobox sport | {{Infobox sport | ||
| name = | | name = | ||
| image = | | image = | ||
| caption = | | caption = | ||
| | | body = | ||
| nickname = | | nickname = | ||
| contact = | | contact = | ||
| team = | | team = | ||
| type = | | type = | ||
| equipment = | | equipment = | ||
| venue = | | venue = | ||
| first_played = | | first_played = | ||
| registered = | | registered = | ||
| events = | | events = | ||
| leagues = | | olympic = | ||
| leagues = | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
{{Infobox sport | {{Infobox sport | ||
| | | name = | ||
| | | image = | ||
| | | caption = | ||
| | | body = | ||
| | | nickname = | ||
| | | contact = | ||
| | | team = | ||
| | | type = | ||
| | | equipment = | ||
|venue= | | venue = | ||
| | | first_played = | ||
| | | registered = | ||
| | | events = | ||
| | | olympic = | ||
| | | leagues = | ||
}} | }} | ||
Revision as of 07:07, 16 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 =
| events =
| olympic =
| leagues =
}}
|
| |
| Characteristics | |
|---|---|
| History | |
| Presence | |
| Competitions | |
Template loop detected: Template:Infobox sport