Template:Infobox FBL team: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
{{infobox
{| class="infobox" style="width: 22em; text-align: left; font-size: 88%; border: 1px solid #999;"
| bodyclass = vcard
! colspan="2" style="text-align: center; font-size: 125%; font-weight: bold; background-color: #{{{color_1|000000}}}; color: #{{{color_2|FFFFFF}}};" | {{{name|{{PAGENAME}}}}}
| bodystyle = border-color: #{{{color_1|000000}}}
|-
| titleclass = fn org
{{#if:{{{image|}}}|
| titlestyle = background: #{{{color_1|000000}}}; color: #{{{color_2|FFFFFF}}}; font-size: 125%; font-weight: bold;
| colspan="2" style="text-align: center; background-color: #ffffff;" | [[File:{{{image}}}|250px]]
| title = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
| image = {{{image|}}}
| caption = {{{image_caption|}}}
 
| label1 = Founded
| data1 = {{{founded|}}}
 
| label2 = Stadium
| data2 = {{#if:{{{stadium|}}}|{{{stadium}}}{{#if:{{{stadium_capacity|}}}|<br>{{{stadium_capacity}}}}}{{#if:{{{stadium_location|}}}|<br>{{{stadium_location}}}}}|}}
 
| label3 = City
| data3 = {{#if:{{{city|}}}|[[{{{city}}}]]{{#if:{{{region|}}}|, [[{{{region}}}]]}}|}}
 
| label4 = Owner
| data4 = {{{owner|}}}
 
| label5 = Chairman
| data5 = {{{chairman|}}}
 
| label6 = Manager
| data6 = {{{manager|}}}
 
| label7 = League
| data7 = {{#if:{{{league|}}}|[[{{{league}}}]]|}}
 
| label8 = Conference
| data8 = {{#if:{{{conference|}}}|{{{conference}}} Conference|}}
 
| label9 = Division
| data9 = {{#if:{{{division|}}}|{{{division}}} Division|}}
 
| label10 = Championships
| data10 = {{{championships|}}}
 
| label11 = Conference<br>championships
| data11 = {{{conference_champs|}}}
 
| label12 = Division<br>championships
| data12 = {{{division_champs|}}}
 
| label13 = Team colors
| data13 = {{{colors|}}}
| labelstyle13 = background: #{{{color_1|000000}}}; color: #{{{color_2|FFFFFF}}}
 
| label14 = Nickname(s)
| data14 = {{#if:{{{nickname|}}}|''{{{nickname}}}''|}}
 
| label15 = Mascot
| data15 = {{{mascot|}}}
 
| label16 = Website
| data16 = {{{website|}}}
 
| label17 = Dissolved
| data17 = {{{dissolved|}}}
 
| below = {{#if:{{{footnotes|}}}|'''Notes:''' {{{footnotes}}}}}
}}
}}
|-
{{#if:{{{founded|}}}|
! Founded
| {{{founded}}}
}}
|-
{{#if:{{{stadium|}}}|
! Stadium
| {{{stadium}}}{{#if:{{{stadium_capacity|}}}|<br>{{{stadium_capacity}}}}}{{#if:{{{stadium_location|}}}|<br>{{{stadium_location}}}}}
}}
|-
{{#if:{{{city|}}}|
! City
| [[{{{city}}}]]{{#if:{{{region|}}}|, [[{{{region}}}]]}}
}}
|-
{{#if:{{{owner|}}}|
! Owner
| {{{owner}}}
}}
|-
{{#if:{{{chairman|}}}|
! Chairman
| {{{chairman}}}
}}
|-
{{#if:{{{manager|}}}|
! Manager
| {{{manager}}}
}}
|-
{{#if:{{{league|}}}|
! League
| [[{{{league}}}]]
}}
|-
{{#if:{{{conference|}}}|
! Conference
| {{{conference}}} Conference
}}
|-
{{#if:{{{division|}}}|
! Division
| {{{division}}} Division
}}
|-
{{#if:{{{championships|}}}|
! Championships
| {{{championships}}}
}}
|-
{{#if:{{{conference_champs|}}}|
! Conference<br>championships
| {{{conference_champs}}}
}}
|-
{{#if:{{{division_champs|}}}|
! Division<br>championships
| {{{division_champs}}}
}}
|-
{{#if:{{{colors|}}}|
! Team colors
| {{{colors}}}
}}
|-
{{#if:{{{nickname|}}}|
! Nickname(s)
| ''{{{nickname}}}''
}}
|-
{{#if:{{{mascot|}}}|
! Mascot
| {{{mascot}}}
}}
|-
{{#if:{{{website|}}}|
! Website
| {{{website}}}
}}
|-
{{#if:{{{dissolved|}}}|
! Dissolved
| {{{dissolved}}}
}}
|}
[[Category:Federal Baseball League]]
</includeonly>
<noinclude>
<noinclude>
{{Documentation
{{Documentation
|content=
|content=
==Usage==
==Usage==
Copy the template below and fill in the desired fields:
Use this template to create infoboxes for Federal Baseball League teams:
<pre>
<pre>
{{Infobox FBL team
{{Infobox FBL team
| name              = Team name
| name              = Team name
| image            = Team logo.png
| image            = Team logo.png
| image_caption    = Logo caption
| founded          = {{AN|YEAR}}
| founded          = {{AN|YEAR}}
| stadium          = Stadium name
| stadium          = Stadium name
Line 122: Line 91:
| mascot            = Mascot name
| mascot            = Mascot name
| website          = www.example.nax
| website          = www.example.nax
| color_1          = Hex code (without #)
| color_1          = Primary color (hex without #)
| color_2          = Hex code (without #)
| color_2          = Secondary color (hex without #)
| dissolved        = {{AN|YEAR}} (if applicable)
| dissolved        = {{AN|YEAR}} (if applicable)
| footnotes        = Any additional notes
}}
}}
</pre>
</pre>
Line 192: Line 162:
[[Category:Infobox templates]]
[[Category:Infobox templates]]
[[Category:Nouvelle Alexandrie templates]]
[[Category:Nouvelle Alexandrie templates]]
[[Category:Federal Baseball League]]
}}
}}
</noinclude>
</noinclude>

Latest revision as of 16:13, 1 November 2024

{{{name}}}
Template documentation

Usage

Use this template to create infoboxes for Federal Baseball League teams:

{{Infobox FBL team
| name              = Team name
| image             = Team logo.png
| image_caption     = Logo caption
| 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           = Primary color (hex without #)
| color_2           = Secondary color (hex without #)
| dissolved         = {{AN|YEAR}} (if applicable)
| footnotes         = Any additional notes
}}

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
}}
Narbonne Athletics
Founded 1670 AN
Stadium Stade Municipal
45,000
Narbonne, Alduria
City Narbonne, Alduria
Owner Athletics Baseball Group
Chairman Jean-Pierre Dubois
Manager Henri Belfort
League Federal Baseball League
Conference First Conference
Division Coastal Division
Championships 1 (1737 AN)
Conference
championships
2 (1675 AN, 1737 AN)
Division
championships
8 (1672 AN, 1675 AN, 1689 AN, 1695 AN, 1712 AN, 1726 AN, 1734 AN, 1737 AN)
Team colors Green, Gold, White
Nickname(s) The A's
Mascot Ajax the Eagle
Website www.narbonneathletics.nax


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