Difference between revisions of "Template:Infobox Australian baseball team season"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 2: Line 2:
 
| bodyclass  = vcard
 
| bodyclass  = vcard
 
| titleclass  = fn org
 
| titleclass  = fn org
| bodystyle  = width:{{{width|300}}}px
+
| bodystyle  = width:300px
 
| title      = {{{team-name<includeonly>|</includeonly>}}}
 
| title      = {{{team-name<includeonly>|</includeonly>}}}
| image      = {{#if: {{{logo|}}} | [[File:{{{logo|}}} {{#if: {{{size|}}} | {{!}}{{{size}}} | {{!}}200px }} {{#if:{{{logo-alt|}}} |{{!}}alt={{{logo-alt|}}} }} {{#if:{{{logo-link|}}} | {{!}} link={{{logo-link|}}}}}]] }}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo<includeonly>|</includeonly>}}}|size={{{size|}}}|sizedefault=200px|alt={{{logo-alt|}}}|link={{{logo-link|}}}}}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
 
| headerstyle = background:#666666;color:#eeeeee;
 
| headerstyle = background:#666666;color:#eeeeee;
| subheader  = {{#if: {{{season<includeonly>|</includeonly>}}} | '''Season:'''<br>''[[{{{season<includeonly>|</includeonly>}}} Australian Baseball League season]]'' }}
+
| subheader  = {{#if: {{{season<includeonly>|</includeonly>}}} | '''Season:'''<br>''[[{{{season<includeonly>|</includeonly>}}} {{ifempty|{{{league<includeonly>|</includeonly>}}}|Australian Baseball League}} season]]'' }}
  
 
| header1    = Team Details
 
| header1    = Team Details
 
| label2      = League
 
| label2      = League
| data2      = {{{league|[[Australian Baseball League]]}}}
+
| data2      = {{#ifexist:{{{league|Australian Baseball League}}}|[[{{{league|Australian Baseball League}}}]]|{{{league|Australian Baseball League}}}}}
 
| label3      = {{{division-alt|Division}}}
 
| label3      = {{{division-alt|Division}}}
 
| data3      = {{{division<includeonly>|</includeonly>}}}
 
| data3      = {{{division<includeonly>|</includeonly>}}}
 
| label4      = City
 
| label4      = City
| data4      = {{{city<includeonly>|</includeonly>}}} {{#if: {{{city-since<includeonly>|</includeonly>}}} | <small>(since {{ABL season|{{{city-since<includeonly>|</includeonly>}}}}})</small> }}
+
| data4      = {{{city<includeonly>|</includeonly>}}} {{#if: {{{city-since<includeonly>|</includeonly>}}} | <small>(since [[{{{city-since<includeonly>|</includeonly>}}} {{ifempty|{{{league<includeonly>|</includeonly>}}}|Australian Baseball League}} season|{{{city-since<includeonly>|</includeonly>}}}]])</small> }}
 
| label5      = Ballpark
 
| label5      = Ballpark
| data5      = {{{ballpark<includeonly>|</includeonly>}}} {{#if: {{{ballpark-since<includeonly>|</includeonly>}}} | <small>(since {{ABL season|{{{ballpark-since<includeonly>|</includeonly>}}}}})</small> }}
+
| data5      = {{{ballpark<includeonly>|</includeonly>}}} {{#if: {{{ballpark-since<includeonly>|</includeonly>}}} | <small>(since [[{{{ballpark-since<includeonly>|</includeonly>}}} {{ifempty|{{{league<includeonly>|</includeonly>}}}|Australian Baseball League}} season|{{{ballpark-since<includeonly>|</includeonly>}}}]])</small> }}
  
 
| header11    = {{#if:{{{manager<includeonly>|</includeonly>}}}{{{owner<includeonly>|</includeonly>}}}{{{general-manager<includeonly>|</includeonly>}}}{{{assistant-gm<includeonly>|</includeonly>}}}| Management}}
 
| header11    = {{#if:{{{manager<includeonly>|</includeonly>}}}{{{owner<includeonly>|</includeonly>}}}{{{general-manager<includeonly>|</includeonly>}}}{{{assistant-gm<includeonly>|</includeonly>}}}| Management}}

Revision as of 18:43, 28 May 2014

{{{team-name}}}
Season:
[[{{{season}}} Script error: No such module "If empty". season]]
[[File:{{{logo}}}|200px]]
Team Details
LeagueAustralian Baseball League
Division{{{division}}}
City{{{city}}} (since [[{{{city-since}}} Script error: No such module "If empty". season|{{{city-since}}}]])
Ballpark{{{ballpark}}} (since [[{{{ballpark-since}}} Script error: No such module "If empty". season|{{{ballpark-since}}}]])
Management
Manager{{{manager}}}
Owner{{{owner}}}
General Manager{{{general-manager}}}
Assistant GM{{{assistant-gm}}}
Local Broadcasting
Television{{{television}}}
Radio{{{radio}}}
← [[{{{prev-season}}} {{{team-name}}} season|{{{prev-season}}}]]
[[{{{next-season}}} {{{team-name}}} season|{{{next-season}}}]] →

[[Category:Infobox templates|Template:Remove first word]]