Difference between revisions of "Template:Infobox PBA conference"
Jump to navigation
Jump to search
Template documentation
imported>Frietjes |
imported>Engr. Smitty m (→top) |
||
| (4 intermediate revisions by one other user not shown) | |||
| 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 = | + | | label3 = Number of teams |
| − | | data3 = {{{ | + | | data3 = {{{no_of_teams|}}} |
| − | | label4 = | + | | label4 = Total attendance |
| − | | data4 = {{{ | + | | data4 = {{{attendance|}}} |
| − | | label5 = | + | | label5 = Average attendance |
| − | | data5 = {{{ | + | | data5 = {{{average_attendance|}}} |
| − | | | + | | label6 = TV partner(s) |
| − | + | | data6 = {{{TV|}}} | |
| − | | | ||
| − | | | + | | header7 = {{#if:{{{champion|}}}{{{runner-up|}}}|{{#ifexist:{{{year}}} PBA {{{conference_name}}} Finals|[[{{{year}}} PBA {{{conference_name}}} Finals|Finals]]|Finals}}}} |
| − | + | | label8 = Champions | |
| + | | data8 = {{{champion|}}} | ||
| − | | | + | | label9 = Runners-up |
| + | | data9 = {{{runner-up|}}} | ||
| − | | | + | | header10 = {{#if:{{{best_player|}}}{{{best_import|}}}{{{finals_mvp|}}}|[[:List of Philippine Basketball Association awards|Awards]]}} |
| − | |||
| − | | label11 = [[ | + | | label11 = [[Philippine Basketball Association Best Player of the Conference award|Best Player]] |
| − | | data11 = {{{ | + | | data11 = {{{best_player|}}} |
| − | | label12 = [[ | + | | label12 = [[Bobby Parks PBA Best Import of the Conference award|Best Import]] |
| − | | data12 = {{{ | + | | data12 = {{{best_import|}}} |
| − | | | + | | label13 = [[Philippine Basketball Association Finals Most Valuable Player award|Finals MVP]] |
| − | | | + | | data13 = {{{finals_mvp|}}} |
| − | |||
| − | | | + | | header14 = {{#if:{{{prevconf_year|}}}{{{nextconf_year|}}}|PBA {{{conference_name}}} chronology}} |
| − | | | + | | data15 = {{#if:{{{prevconf_year|}}} |{{align|left|{{auto link|{{{prevconf_link}}}|< {{{prevconf_year}}}}}|}} }} |
| − | {{#if:{{{next_conf | + | {{#if:{{{nextconf_year|}}}|{{align|right|{{auto link|{{{nextconf_link}}}|{{{nextconf_year}}} >}}|}} }} |
| + | |||
| + | | header16 = {{#if:{{{prev_conf|}}}{{{next_conf|}}}|PBA conference chronology}} | ||
| + | | data17 = {{#if:{{{prev_conf|}}} |{{align|left|{{auto link|{{{prev_conf_link}}}|< {{{prev_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 | 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 = |
| − | | | + | | year = |
| − | | | + | | conference_name = |
| − | | | + | | subheader = |
| − | | | + | | logo = |
| − | | | + | | pixels = |
| − | | | + | | caption = |
| − | | | + | | conference = |
| − | | duration | + | | duration = |
| − | | | + | | no_of_games = |
| − | | | + | | no_of_teams = |
| − | | | + | | attendance = |
| − | | | + | | average_attendance = |
| − | | | + | | TV = |
| − | | champion | + | | champion = |
| − | | runner-up = | + | | runner-up = |
| − | | prevconf_link | + | | best_player = |
| − | | | + | | best_import = |
| − | | nextconf_link | + | | finals_mvp = |
| − | | | + | | 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]]
Taken from: Template:Infobox sports season
- 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 =
}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |