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 |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{infobox | |||
| bodyclass = vcard | |||
| bodystyle = border-color: #{{{color_1|000000}}} | |||
| | | titleclass = fn org | ||
| titlestyle = background: #{{{color_1|000000}}}; color: #{{{color_2|FFFFFF}}}; font-size: 125%; font-weight: bold; | |||
| | | title = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}} | ||
| image = {{{image|}}} | |||
| | | caption = {{{image_caption|}}} | ||
| label1 = Founded | |||
| | | data1 = {{{founded|}}} | ||
| | | label2 = Stadium | ||
{{#if:{{{stadium|}}} | | data2 = {{#if:{{{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}}}}} | | label3 = City | ||
}} | | data3 = {{#if:{{{city|}}}|[[{{{city}}}]]{{#if:{{{region|}}}|, [[{{{region}}}]]}}|}} | ||
| | |||
{{#if:{{{city|}}} | | label4 = Owner | ||
| data4 = {{{owner|}}} | |||
| [[{{{city}}}]]{{#if:{{{region|}}}|, [[{{{region}}}]]}} | |||
}} | | label5 = Chairman | ||
| | | data5 = {{{chairman|}}} | ||
{{#if:{{{ | |||
| | | label6 = Manager | ||
| {{{ | | data6 = {{{manager|}}} | ||
}} | |||
| | | label7 = League | ||
{{#if:{{{ | | data7 = {{#if:{{{league|}}}|[[{{{league}}}]]|}} | ||
| | |||
| {{{ | | label8 = Conference | ||
}} | | data8 = {{#if:{{{conference|}}}|{{{conference}}} Conference|}} | ||
| | |||
{{#if:{{{ | | label9 = Division | ||
| | | data9 = {{#if:{{{division|}}}|{{{division}}} Division|}} | ||
| {{{ | |||
}} | | label10 = Championships | ||
| | | data10 = {{{championships|}}} | ||
{{#if:{{{ | |||
| | | 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}}}}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
{{Documentation | {{Documentation | ||
|content= | |content= | ||
==Usage== | ==Usage== | ||
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 = | | color_1 = Primary color (hex without #) | ||
| color_2 = | | color_2 = Secondary color (hex without #) | ||
| dissolved = {{AN|YEAR}} (if applicable) | | dissolved = {{AN|YEAR}} (if applicable) | ||
| footnotes = Any additional notes | |||
}} | }} | ||
</pre> | </pre> | ||
==Example== | ==Example== | ||
<pre> | <pre> | ||
{{Infobox FBL team | {{Infobox FBL team | ||
Line 156: | Line 125: | ||
}} | }} | ||
</pre> | </pre> | ||
{{Infobox FBL team | {{Infobox FBL team | ||
Line 195: | 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
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 }}
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
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |