Template:Infobox FBL team: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
(Created page with "<includeonly> {| class="infobox" style="width: 22em; text-align: left; font-size: 88%; border: 1px solid #999;" ! colspan="2" style="text-align: center; font-size: 125%; font-weight: bold; background-color: #{{{color_1|000000}}}; color: #{{{color_2|FFFFFF}}};" | {{{name|{{PAGENAME}}}}} |- {{#if:{{{image|}}} | colspan="2" style="text-align: center; background-color: #ffffff;" | [[File:{{{image}}}|250px]] }} |- {{#if:{{{founded|}}} | ! Founded | {{{founded}}} }} |- {{#if:{...")
 
No edit summary
Line 3: Line 3:
! colspan="2" style="text-align: center; font-size: 125%; font-weight: bold; background-color: #{{{color_1|000000}}}; color: #{{{color_2|FFFFFF}}};" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="text-align: center; font-size: 125%; font-weight: bold; background-color: #{{{color_1|000000}}}; color: #{{{color_2|FFFFFF}}};" | {{{name|{{PAGENAME}}}}}
|-
|-
{{#if:{{{image|}}}
{{#if:{{{image|}}}|
| colspan="2" style="text-align: center; background-color: #ffffff;" | [[File:{{{image}}}|250px]]
| colspan="2" style="text-align: center; background-color: #ffffff;" | [[File:{{{image}}}|250px]]
}}
}}
|-
|-
{{#if:{{{founded|}}}
{{#if:{{{founded|}}}|
| ! Founded
! Founded
| {{{founded}}}
| {{{founded}}}
}}
}}
|-
|-
{{#if:{{{stadium|}}}
{{#if:{{{stadium|}}}|
| ! Stadium
! Stadium
| {{{stadium}}}{{#if:{{{stadium_capacity|}}}|<br>{{{stadium_capacity}}}}}{{#if:{{{stadium_location|}}}|<br>{{{stadium_location}}}}}
| {{{stadium}}}{{#if:{{{stadium_capacity|}}}|<br>{{{stadium_capacity}}}}}{{#if:{{{stadium_location|}}}|<br>{{{stadium_location}}}}}
}}
}}
|-
|-
{{#if:{{{city|}}}
{{#if:{{{city|}}}|
| ! City
! City
| [[{{{city}}}]]{{#if:{{{region|}}}|, [[{{{region}}}]]}}
| [[{{{city}}}]]{{#if:{{{region|}}}|, [[{{{region}}}]]}}
}}
}}
|-
|-
{{#if:{{{owner|}}}
{{#if:{{{owner|}}}|
| ! Owner
! Owner
| {{{owner}}}
| {{{owner}}}
}}
}}
|-
|-
{{#if:{{{chairman|}}}
{{#if:{{{chairman|}}}|
| ! Chairman
! Chairman
| {{{chairman}}}
| {{{chairman}}}
}}
}}
|-
|-
{{#if:{{{manager|}}}
{{#if:{{{manager|}}}|
| ! Manager
! Manager
| {{{manager}}}
| {{{manager}}}
}}
}}
|-
|-
{{#if:{{{league|}}}
{{#if:{{{league|}}}|
| ! League
! League
| [[{{{league}}}]]
| [[{{{league}}}]]
}}
}}
|-
|-
{{#if:{{{conference|}}}
{{#if:{{{conference|}}}|
| ! Conference
! Conference
| {{{conference}}} Conference
| {{{conference}}} Conference
}}
}}
|-
|-
{{#if:{{{division|}}}
{{#if:{{{division|}}}|
| ! Division
! Division
| {{{division}}} Division
| {{{division}}} Division
}}
}}
|-
|-
{{#if:{{{championships|}}}
{{#if:{{{championships|}}}|
| ! Championships
! Championships
| {{{championships}}}
| {{{championships}}}
}}
}}
|-
|-
{{#if:{{{conference_champs|}}}
{{#if:{{{conference_champs|}}}|
| ! Conference<br>championships
! Conference<br>championships
| {{{conference_champs}}}
| {{{conference_champs}}}
}}
}}
|-
|-
{{#if:{{{division_champs|}}}
{{#if:{{{division_champs|}}}|
| ! Division<br>championships
! Division<br>championships
| {{{division_champs}}}
| {{{division_champs}}}
}}
}}
|-
|-
{{#if:{{{colors|}}}
{{#if:{{{colors|}}}|
| ! Team colors
! Team colors
| {{{colors}}}
| {{{colors}}}
}}
}}
|-
|-
{{#if:{{{nickname|}}}
{{#if:{{{nickname|}}}|
| ! Nickname(s)
! Nickname(s)
| ''{{{nickname}}}''
| ''{{{nickname}}}''
}}
}}
|-
|-
{{#if:{{{mascot|}}}
{{#if:{{{mascot|}}}|
| ! Mascot
! Mascot
| {{{mascot}}}
| {{{mascot}}}
}}
}}
|-
|-
{{#if:{{{website|}}}
{{#if:{{{website|}}}|
| ! Website
! Website
| {{{website}}}
| {{{website}}}
}}
}}
|-
|-
{{#if:{{{dissolved|}}}
{{#if:{{{dissolved|}}}|
| ! Dissolved
! Dissolved
| {{{dissolved}}}
| {{{dissolved}}}
}}
}}
Line 129: Line 129:


==Example==
==Example==
The code below:
<pre>
<pre>
{{Infobox FBL team
{{Infobox FBL team
Line 156: Line 155:
}}
}}
</pre>
</pre>
Produces:


{{Infobox FBL team
{{Infobox FBL team

Revision as of 16:06, 1 November 2024


Template documentation

Usage

Copy the template below and fill in the desired fields:

{{Infobox FBL team
| name              = Team name
| image             = Team logo.png
| founded           = {{AN|YEAR}}
| stadium           = Stadium name
| stadium_capacity  = XX,XXX
| stadium_location  = City, Region
| city              = City name
| region            = Region name
| owner             = Owner name/company
| chairman          = Chairman name
| manager           = Manager name
| league            = Federal Baseball League
| conference        = First or Second
| division          = Coastal/Mountain/Plains/Maritime
| championships     = Number (Years)
| conference_champs = Number (Years)
| division_champs   = Number (Years)
| colors            = Color 1, Color 2, Color 3
| nickname          = Team nickname(s)
| mascot            = Mascot name
| website           = www.example.nax
| color_1           = Hex code (without #)
| color_2           = Hex code (without #)
| dissolved         = {{AN|YEAR}} (if applicable)
}}

Example

{{Infobox FBL team
| name              = Narbonne Athletics
| founded           = {{AN|1670}}
| stadium           = Stade Municipal
| stadium_capacity  = 45,000
| stadium_location  = Narbonne, Alduria
| city              = Narbonne
| region            = Alduria
| owner             = Athletics Baseball Group
| chairman          = Jean-Pierre Dubois
| manager           = Henri Belfort
| league            = Federal Baseball League
| conference        = First
| division          = Coastal
| championships     = 1 ({{AN|1737}})
| conference_champs = 2 ({{AN|1675}}, {{AN|1737}})
| division_champs   = 8 ({{AN|1672}}, {{AN|1675}}, {{AN|1689}}, {{AN|1695}}, {{AN|1712}}, {{AN|1726}}, {{AN|1734}}, {{AN|1737}})
| colors            = Green, Gold, White
| nickname          = The A's
| mascot            = Ajax the Eagle
| website           = www.narbonneathletics.nax
| color_1           = 003831
| color_2           = FFB81C
}}


colspan="2" style="text-align: center; background-color: #ffffff;" {{{dissolved}}}
Narbonne Athletics
Founded
Stadium
City
Owner
Chairman
Manager
League
Conference
Division
Championships
Conference
championships
Division
championships
Team colors
Nickname(s)
Mascot
Website


Notes

  • All fields are optional - empty fields will not display
  • Use full page names for links (don't use piped links in parameters)
  • Conference should be either "First" or "Second"
  • Division should be "Coastal", "Mountain", "Plains", or "Maritime"
  • Dates should use AN calendar format
  • Images should be uploaded to the wiki before using in the template
  • Color codes should be 6-digit hex without the # symbol