Difference between revisions of "Template:Infobox PBA conference"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Engr. Smitty
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| bodystyle = width:350px; font-size:90%;
 
 
| abovestyle = background: #DDDDDD
 
| abovestyle = background: #DDDDDD
| above = {{{title|{{{year}}} PBA {{{conference_name}}}}}}
+
| above = <includeonly>{{{title|{{{year}}} PBA {{{conference_name}}}}}}</includeonly>
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo<includeonly>|</includeonly>}}}|size={{{pixels|200px}}}|title={{{caption|{{{year}}} PBA {{{conference}}}} }}} }}
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{pixels|200px}}}|title={{{caption|{{{year}}} PBA {{{conference}}}} }}} }}
 +
| subheader = {{{subheader|}}}
 
| headerstyle = background: #DDDDDD
 
| headerstyle = background: #DDDDDD
  
 
| label1 = Duration
 
| label1 = Duration
| data1 = {{{duration<includeonly>|</includeonly>}}}
+
| data1 = {{{duration|}}}
  
 
| label2 = Number of games
 
| label2 = Number of games
| data2 = {{{no_of_games<includeonly>|</includeonly>}}}
+
| data2 = {{{no_of_games|}}}
  
| label3 = Total attendance
+
| label3 = Number of teams
| data3 = {{{attendance<includeonly>|</includeonly>}}}
+
| data3 = {{{no_of_teams|}}}
  
| label4 = Average attendance
+
| label4 = Total attendance
| data4 = {{{average_attendance<includeonly>|</includeonly>}}}
+
| data4 = {{{attendance|}}}
  
| label5 = TV partner(s)
+
| label5 = Average attendance
| data5 = {{{TV<includeonly>|</includeonly>}}}
+
| data5 = {{{average_attendance|}}}
  
| header6 = [[{{{year}}} PBA {{{conference_name}}} Finals|Finals]]
+
| label6 = TV partner(s)
| label7 = Champions
+
| data6 = {{{TV|}}}
| data7 = {{{champion<includeonly>|</includeonly>}}}
 
  
| label8 = Runners-up
+
| header7 = {{#if:{{{champion|}}}{{{runner-up|}}}|{{#ifexist:{{{year}}} PBA {{{conference_name}}} Finals|[[{{{year}}} PBA {{{conference_name}}} Finals|Finals]]|Finals}}}}
| data8 = {{{runner-up<includeonly>|</includeonly>}}}
+
| label8 = Champions
 +
| data8 = {{{champion|}}}
  
| header9 = [[:List of Philippine Basketball Association awards|Awards]]
+
| label9 = Runners-up
 +
| data9 = {{{runner-up|}}}
  
| label10 = [[Philippine Basketball Association Best Player of the Conference Award|Best Player]]
+
| header10 = {{#if:{{{best_player|}}}{{{best_import|}}}{{{finals_mvp|}}}|[[:List of Philippine Basketball Association awards|Awards]]}}
| data10 = {{{best_player<includeonly>|</includeonly>}}}
 
  
| label11 = [[Bobby Parks PBA Best Import of the Conference Award|Best Import]]
+
| label11 = [[Philippine Basketball Association Best Player of the Conference award|Best Player]]
| data11 = {{{best_import<includeonly>|</includeonly>}}}
+
| data11 = {{{best_player|}}}
  
| label12 = [[Philippine Basketball Association Finals Most Valuable Player Award|Finals MVP]]
+
| label12 = [[Bobby Parks PBA Best Import of the Conference award|Best Import]]
| data12 = {{{finals_mvp<includeonly>|</includeonly>}}}
+
| data12 = {{{best_import|}}}
  
| header13 = PBA {{{conference_name}}} chronology
+
| label13 = [[Philippine Basketball Association Finals Most Valuable Player award|Finals MVP]]
| data14 = {{#if:{{{prevconf_year<includeonly>|</includeonly>}}} |{{align|left|{{auto link|{{{prevconf_link}}}|&lt;&nbsp;{{{prevconf_year}}}}}|}} }}
+
| data13 = {{{finals_mvp|}}}
{{#if:{{{nextconf_year<includeonly>|</includeonly>}}}|{{align|right|{{auto link|{{{nextconf_link}}}|{{{nextconf_year}}}&nbsp;&gt;}}|}} }}
 
  
| header15 = {{#if:{{{prev_conf<includeonly>|</includeonly>}}}|PBA conference chronology}}
+
| header14 = {{#if:{{{prevconf_year|}}}{{{nextconf_year|}}}|PBA {{{conference_name}}} chronology}}
| data16 = {{#if:{{{prev_conf<includeonly>|</includeonly>}}} |{{align|left|{{auto link|{{{prev_conf_link}}}|&lt;&nbsp;{{{prev_conf}}}}}|}} }}
+
| data15 = {{#if:{{{prevconf_year|}}} |{{align|left|{{auto link|{{{prevconf_link}}}|&lt;&nbsp;{{{prevconf_year}}}}}|}} }}
{{#if:{{{next_conf<includeonly>|</includeonly>}}} |{{align|right|{{auto link|{{{next_conf_link}}}|{{{next_conf}}}&nbsp;&gt;}}|}} }}
+
{{#if:{{{nextconf_year|}}}|{{align|right|{{auto link|{{{nextconf_link}}}|{{{nextconf_year}}}&nbsp;&gt;}}|}} }}
 +
 
 +
| header16 = {{#if:{{{prev_conf|}}}{{{next_conf|}}}|PBA conference chronology}}
 +
| data17 = {{#if:{{{prev_conf|}}} |{{align|left|{{auto link|{{{prev_conf_link}}}|&lt;&nbsp;{{{prev_conf}}}}}|}} }}
 +
{{#if:{{{next_conf|}}} |{{align|right|{{auto link|{{{next_conf_link}}}|{{{next_conf}}}&nbsp;&gt;}}|}} }}
  
 
}}<noinclude>
 
}}<noinclude>
Taken from:<br>
+
{{documentation|content=
[[:Template:Infobox sports season]]
+
Taken from: [[:Template:Infobox sports season]]
 
+
{{Generic template demo| year | conference_name | logo | pixels | caption | conference | subheader | duration | no_of_games | no_of_teams | attendance | average_attendance | TV | champion | runner-up | best_player | best_import | finals_mvp | prevconf_year | nextconf_year | prevconf_link | nextconf_link | prev_conf | next_conf | prev_conf_link | next_conf_link }}
 +
== Usage ==
 
<pre>
 
<pre>
 
{{Infobox PBA conference
 
{{Infobox PBA conference
| title           =  
+
| title             =  
| color            =  
+
| year              =  
| color text      =  
+
| conference_name    =  
| year            =  
+
| subheader          =  
| conference_name  =  
+
| logo              =  
| logo             =  
+
| pixels             =  
| pixels          =  
+
| caption            =  
| caption          =  
+
| conference        =  
| duration         =  
+
| duration           =  
| attendance      =  
+
| no_of_games        =  
| TV              =  
+
| no_of_teams        =  
| best_player      =  
+
| attendance        =  
| best_import      =  
+
| average_attendance =  
| finals_mvp      =  
+
| TV                =  
| champion         =  
+
| champion           =  
| runner-up        =  
+
| runner-up         =
| prevconf_link   =  
+
| best_player        =
| prevconf_year    =  
+
| best_import       =
| nextconf_link   =  
+
| finals_mvp        =
| nextconf_year    =  
+
| prevconf_year      =  
}}
+
| prevconf_link     =  
</pre>
+
| nextconf_year      =  
 +
| nextconf_link     =
 +
| prev_conf          =
 +
| prev_conf_link    =
 +
| next_conf          =  
 +
| next_conf_link    =  
 +
}}</pre>
 
[[Category:Philippine Basketball Association infobox templates| ]]
 
[[Category:Philippine Basketball Association infobox templates| ]]
</noinclude>
+
}}</noinclude>

Latest revision as of 13:35, 4 July 2017

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

Template documentation

Taken from: Template:Infobox sports season

  1. redirect Template:Parameter names example

Usage

{{Infobox PBA conference
| title              = 
| year               = 
| conference_name    = 
| subheader          = 
| logo               = 
| pixels             = 
| caption            = 
| conference         = 
| duration           = 
| no_of_games        = 
| no_of_teams        = 
| attendance         = 
| average_attendance = 
| TV                 = 
| champion           = 
| runner-up          = 
| best_player        = 
| best_import        = 
| finals_mvp         = 
| prevconf_year      = 
| prevconf_link      = 
| nextconf_year      = 
| nextconf_link      = 
| prev_conf          = 
| prev_conf_link     = 
| next_conf          = 
| next_conf_link     = 
}}