Difference between revisions of "Template:Infobox PBA conference"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
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 = Total attendance
| data3 = {{{attendance<includeonly>|</includeonly>}}}
+
| data3 = {{{attendance|}}}
  
 
| label4 = Average attendance
 
| label4 = Average attendance
| data4 = {{{average_attendance<includeonly>|</includeonly>}}}
+
| data4 = {{{average_attendance|}}}
  
 
| label5 = TV partner(s)
 
| label5 = TV partner(s)
| data5 = {{{TV<includeonly>|</includeonly>}}}
+
| data5 = {{{TV|}}}
  
| header6 = [[{{{year}}} PBA {{{conference_name}}} Finals|Finals]]
+
| header6 = {{#if:{{{champion|}}}{{{runner-up|}}}|{{#ifexist:{{{year}}} PBA {{{conference_name}}} Finals|[[{{{year}}} PBA {{{conference_name}}} Finals|Finals]]|Finals}}}}
 
| label7 = Champions
 
| label7 = Champions
| data7 = {{{champion<includeonly>|</includeonly>}}}
+
| data7 = {{{champion|}}}
  
 
| label8 = Runners-up
 
| label8 = Runners-up
| data8 = {{{runner-up<includeonly>|</includeonly>}}}
+
| data8 = {{{runner-up|}}}
  
| header9 = [[:List of Philippine Basketball Association awards|Awards]]
+
| header9 = {{#if:{{{best_player|}}}{{{best_import|}}}{{{finals_mvp|}}}|[[:List of Philippine Basketball Association awards|Awards]]}}
  
 
| label10 = [[Philippine Basketball Association Best Player of the Conference Award|Best Player]]
 
| label10 = [[Philippine Basketball Association Best Player of the Conference Award|Best Player]]
| data10 = {{{best_player<includeonly>|</includeonly>}}}
+
| data10 = {{{best_player|}}}
  
 
| label11 = [[Bobby Parks PBA Best Import of the Conference Award|Best Import]]
 
| label11 = [[Bobby Parks PBA Best Import of the Conference Award|Best Import]]
| data11 = {{{best_import<includeonly>|</includeonly>}}}
+
| data11 = {{{best_import|}}}
  
 
| label12 = [[Philippine Basketball Association Finals Most Valuable Player Award|Finals MVP]]
 
| label12 = [[Philippine Basketball Association Finals Most Valuable Player Award|Finals MVP]]
| data12 = {{{finals_mvp<includeonly>|</includeonly>}}}
+
| data12 = {{{finals_mvp|}}}
  
| header13 = PBA {{{conference_name}}} chronology
+
| header13 = {{#if:{{{prevconf_year|}}}{{{nextconf_year|}}}|PBA {{{conference_name}}} chronology}}
| data14 = {{#if:{{{prevconf_year<includeonly>|</includeonly>}}} |{{align|left|{{auto link|{{{prevconf_link}}}|&lt;&nbsp;{{{prevconf_year}}}}}|}} }}
+
| data14 = {{#if:{{{prevconf_year|}}} |{{align|left|{{auto link|{{{prevconf_link}}}|&lt;&nbsp;{{{prevconf_year}}}}}|}} }}
{{#if:{{{nextconf_year<includeonly>|</includeonly>}}}|{{align|right|{{auto link|{{{nextconf_link}}}|{{{nextconf_year}}}&nbsp;&gt;}}|}} }}
+
{{#if:{{{nextconf_year|}}}|{{align|right|{{auto link|{{{nextconf_link}}}|{{{nextconf_year}}}&nbsp;&gt;}}|}} }}
  
| header15 = {{#if:{{{prev_conf<includeonly>|</includeonly>}}}|PBA conference chronology}}
+
| header15 = {{#if:{{{prev_conf|}}}{{{next_conf|}}}|PBA conference chronology}}
| data16 = {{#if:{{{prev_conf<includeonly>|</includeonly>}}} |{{align|left|{{auto link|{{{prev_conf_link}}}|&lt;&nbsp;{{{prev_conf}}}}}|}} }}
+
| data16 = {{#if:{{{prev_conf|}}} |{{align|left|{{auto link|{{{prev_conf_link}}}|&lt;&nbsp;{{{prev_conf}}}}}|}} }}
{{#if:{{{next_conf<includeonly>|</includeonly>}}} |{{align|right|{{auto link|{{{next_conf_link}}}|{{{next_conf}}}&nbsp;&gt;}}|}} }}
+
{{#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 | 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            =
 
| color text      =
 
 
| year            =  
 
| year            =  
 
| conference_name  =  
 
| conference_name  =  
Line 73: Line 72:
 
| nextconf_link    =  
 
| nextconf_link    =  
 
| nextconf_year    =  
 
| nextconf_year    =  
}}
+
}}</pre>
</pre>
 
 
[[Category:Philippine Basketball Association infobox templates| ]]
 
[[Category:Philippine Basketball Association infobox templates| ]]
</noinclude>
+
}}</noinclude>

Revision as of 15:04, 15 December 2016

[[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  = 
| logo             = 
| pixels           = 
| caption          = 
| duration         = 
| attendance       = 
| TV               = 
| best_player      = 
| best_import      = 
| finals_mvp       = 
| champion         = 
| runner-up        = 
| prevconf_link    = 
| prevconf_year    = 
| nextconf_link    = 
| nextconf_year    = 
}}