Difference between revisions of "Template:Infobox PBA conference"
Jump to navigation
Jump to search
Template documentation
imported>Frietjes |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| − | |||
| 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 | + | | 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 | + | | data1 = {{{duration|}}} |
| label2 = Number of games | | label2 = Number of games | ||
| − | | data2 = {{{no_of_games | + | | data2 = {{{no_of_games|}}} |
| label3 = Total attendance | | label3 = Total attendance | ||
| − | | data3 = {{{attendance | + | | data3 = {{{attendance|}}} |
| label4 = Average attendance | | label4 = Average attendance | ||
| − | | data4 = {{{average_attendance | + | | data4 = {{{average_attendance|}}} |
| label5 = TV partner(s) | | label5 = TV partner(s) | ||
| − | | data5 = {{{TV | + | | 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 | + | | data7 = {{{champion|}}} |
| label8 = Runners-up | | label8 = Runners-up | ||
| − | | data8 = {{{runner-up | + | | 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 | + | | 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 | + | | 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 | + | | data12 = {{{finals_mvp|}}} |
| − | | header13 = PBA {{{conference_name}}} chronology | + | | header13 = {{#if:{{{prevconf_year|}}}{{{nextconf_year|}}}|PBA {{{conference_name}}} chronology}} |
| − | | data14 = {{#if:{{{prevconf_year | + | | data14 = {{#if:{{{prevconf_year|}}} |{{align|left|{{auto link|{{{prevconf_link}}}|< {{{prevconf_year}}}}}|}} }} |
| − | {{#if:{{{nextconf_year | + | {{#if:{{{nextconf_year|}}}|{{align|right|{{auto link|{{{nextconf_link}}}|{{{nextconf_year}}} >}}|}} }} |
| − | | header15 = {{#if:{{{prev_conf | + | | header15 = {{#if:{{{prev_conf|}}}{{{next_conf|}}}|PBA conference chronology}} |
| − | | data16 = {{#if:{{{prev_conf | + | | data16 = {{#if:{{{prev_conf|}}} |{{align|left|{{auto link|{{{prev_conf_link}}}|< {{{prev_conf}}}}}|}} }} |
| − | {{#if:{{{next_conf | + | {{#if:{{{next_conf|}}} |{{align|right|{{auto link|{{{next_conf_link}}}|{{{next_conf}}} >}}|}} }} |
}}<noinclude> | }}<noinclude> | ||
| − | Taken from: | + | {{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 = | ||
| − | |||
| − | |||
| 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]]
Taken from: Template:Infobox sports season
- 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 =
}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |