Difference between revisions of "Template:Infobox PBA season/sandbox"
Jump to navigation
Jump to search
Template documentation
imported>WOSlinker (sync) |
imported>WOSlinker (sync) |
||
| Line 1: | Line 1: | ||
| − | {| | + | {{infobox |
| − | | | + | | bodyclass = vcard |
| − | + | | abovestyle = font-size:100%; background-color: {{{Color|LightSteelBlue}}} | |
| − | |- | + | | headerstyle = background-color: #E0E7EF |
| − | + | | above = {{auto link|{{{PBAyear}}} PBA season|{{{PBAyear}}}}} <span class="fn org">{{#if: {{{team2<includeonly>|</includeonly>}}}|[[{{{team}}}|{{{team2}}}]]|[[{{{team}}}]]}}</span> season | |
| − | {{ | + | | subheaderstyle = font-size:88%; |
| − | {{ | + | | subheader = {{{misc|}}} |
| − | + | ||
| − | | | + | | label1 = Head coach |
| − | | | + | | class1 = agent |
| − | {{ | + | | data1 = {{{coach|}}} |
| − | {{ | + | |
| − | {{ | + | | label2 = Owner(s) |
| − | |{ | + | | data2 = {{{owners|}}} |
| − | {{# | + | |
| − | {{ | + | | label3 = Arena |
| − | + | | data3 = {{{arena|}}} | |
| − | |{{ | + | |
| − | + | | header4 = {{{1c-name}}} results | |
| − | {| | + | |
| − | | | + | | label5 = Record |
| − | + | | data5 = {{{1c-wins}}}–{{{1c-losses}}} <small>{{#ifexpr:({{{1c-wins|0}}} + {{{1c-losses|0}}}) = 0| |<br />({{#ifexpr:{{{1c-losses}}} = 0|1.000|.{{padleft:{{#expr:({{{1c-wins}}}/({{{1c-wins}}} + {{{1c-losses}}}) * 1000) round 0}}|3}}}})}}</small> | |
| − | | | + | |
| − | | | + | | label6 = Place |
| − | + | | data6 = {{#iferror:{{#expr:{{{1c-place}}}+0}}{{#switch:{{{1c-place}}} |1=st |2=nd |3=rd |th}} | {{{1c-place}}} }} | |
| − | | | + | |
| − | + | | label7 = Playoff finish | |
| − | | | + | | data7 = {{{1c-playoffs|}}} |
| − | | | + | |
| − | + | | header8 = {{{2c-name}}} results | |
| − | |- | + | |
| − | | | + | | label9 = Record |
| − | | | + | | data9 = {{{2c-wins}}}–{{{2c-losses}}} <small>{{#ifexpr:({{{2c-wins|0}}} + {{{2c-losses|0}}}) = 0| |<br />({{#ifexpr:{{{2c-losses}}} = 0|1.000|.{{padleft:{{#expr:({{{2c-wins}}}/({{{2c-wins}}} + {{{2c-losses}}}) * 1000) round 0}}|3}}}})}}</small> |
| − | | | + | |
| − | + | | label10 = Place | |
| − | | | + | | data10 = {{#iferror:{{#expr:{{{2c-place}}}+0}}{{#switch:{{{2c-place}}} |1=st |2=nd |3=rd |th}} | {{{2c-place}}} }} |
| − | {{#if:{{{3c-name | + | |
| − | {{ | + | | label11 = Playoff finish |
| − | + | | data11 = {{{2c-playoffs|}}} | |
| − | + | ||
| − | + | | header12 = {{#if:{{{3c-name|}}}| {{{3c-name}}} results }} | |
| − | {{ | + | |
| − | {{ | + | | label13 = Record |
| − | {{ | + | | data13 = {{#if:{{{3c-name|}}}| {{{3c-wins}}}–{{{3c-losses}}} <small>{{#ifexpr:({{{3c-wins|0}}} + {{{3c-losses|0}}}) = 0| |<br />({{#ifexpr:{{{3c-losses}}} = 0|1.000|.{{padleft:{{#expr:({{{3c-wins}}}/({{{3c-wins}}} + {{{3c-losses}}}) * 1000) round 0}}|3}}}})}}</small> }} |
| − | + | ||
| − | }} | + | | label14 = Place |
| − | {{ | + | | data14 = {{#if:{{{3c-name|}}}| {{#iferror:{{#expr:{{{3c-place}}}+0}}{{#switch:{{{3c-place}}} |1=st |2=nd |3=rd |th}} | {{{3c-place}}} }} }} |
| − | + | ||
| − | + | | label15 = Playoff finish | |
| − | + | | data15 = {{#if:{{{3c-name|}}}| {{{3c-playoffs|}}} }} | |
| − | + | ||
| − | + | | data16 = {{#if:{{{pol_team|}}}| <hr><small>Stats @ <span class="plainlinks">[http://www.pba-online.net/teams/team-stats.php?id={{{pol_team}}} PBA-Online.net]</span></small> }} | |
| − | + | ||
| − | + | | header17 = {{#if:{{{no_seasonlist|}}}||{{#if: {{{team2|}}}|{{auto link|List of {{{team}}} seasons|{{{team2}}} seasons}}|{{auto link|List of {{{team}}} seasons|{{{team}}} seasons}} }} }} | |
| − | + | ||
| − | + | | belowclass = noprint | |
| − | + | | below = {{#if:{{{prevseason|}}}{{{nextseason|}}} | |
| − | + | |{{succession links | |
| − | + | |left = {{#if:{{{prevseason|}}}|{{auto link|{{{prevseason}}} {{{team}}} season|{{{prevseason}}} }} }} | |
| − | + | |right= {{#if:{{{nextseason|}}}|{{auto link|{{{nextseason}}} {{{team}}} season|{{{nextseason}}} }} }} | |
| − | + | }} | |
| − | + | }} | |
| − | + | }}<noinclude>{{documentation | |
| + | | content = | ||
| + | This template was derived from [[Template:Infobox NBA season]] for use in [[Philippine Basketball Association]] team season articles. | ||
| + | == Usage == | ||
| + | Required fields with * | ||
<pre> | <pre> | ||
| − | |||
{{Infobox PBA season | {{Infobox PBA season | ||
| PBAyear = * | | PBAyear = * | ||
| Line 83: | Line 86: | ||
| 2c-playoffs = * | | 2c-playoffs = * | ||
<!---3rd conference---> | <!---3rd conference---> | ||
| − | | 3c-name = | + | | 3c-name = |
| − | | 3c-wins = | + | | 3c-wins = (if not yet ongoing, place 0) |
| − | | 3c-losses = | + | | 3c-losses = (if not yet ongoing, place 0) |
| − | | 3c-place = | + | | 3c-place = (if not yet ongoing, place TBD) |
| − | | 3c-playoffs = | + | | 3c-playoffs = (if not yet ongoing, place TBD) |
| owners = | | owners = | ||
| television = | | television = | ||
| Line 112: | Line 115: | ||
[[Category:Philippine Basketball Association infobox templates|PBA season]] | [[Category:Philippine Basketball Association infobox templates|PBA season]] | ||
| − | </noinclude> | + | }}</noinclude> |
Latest revision as of 22:11, 20 September 2017
| {{{PBAyear}}} [[{{{team}}}|{{{team2}}}]] season | |
|---|---|
| {{{1c-name}}} results | |
| Record | {{{1c-wins}}}–{{{1c-losses}}} |
| Place | {{{1c-place}}} |
| {{{2c-name}}} results | |
| Record | {{{2c-wins}}}–{{{2c-losses}}} |
| Place | {{{2c-place}}} |
| {{{team}}} seasons | |
| This is the template sandbox page for Template:Infobox PBA season (diff). |
This template was derived from Template:Infobox NBA season for use in Philippine Basketball Association team season articles.
Usage
Required fields with *
{{Infobox PBA season
| PBAyear = *
| team = * (present name of the team)
| team2 = (for teams who took a different team name during a past season)
| misc =
| coach = *
<!---1st conference--->
| 1c-name = *
| 1c-wins = *
| 1c-losses = *
| 1c-place = *
| 1c-playoffs = *
<!---2nd conference--->
| 2c-name = *
| 2c-wins = *
| 2c-losses = *
| 2c-place = *
| 2c-playoffs = *
<!---3rd conference--->
| 3c-name =
| 3c-wins = (if not yet ongoing, place 0)
| 3c-losses = (if not yet ongoing, place 0)
| 3c-place = (if not yet ongoing, place TBD)
| 3c-playoffs = (if not yet ongoing, place TBD)
| owners =
| television =
| radio =
| pol_team = *
| prevseason = *
| nextseason = *
}}
for "pol_team" links:
Enter a number from 1 to 10, each corresponding to a team link at PBA-Online.net
- 1 = Air21 Express
- 2 = Alaska Aces
- 3 = Barangay Ginebra Kings
- 4 = Coca-Cola Tigers
- 5 = San Miguel Beermen
- 6 = Purefoods TJ Giants
- 7 = Red Bull Barako
- 8 = Sta. Lucia Realtors
- 9 = Talk 'N Text Tropang Texters
- 10 = Rain or Shine Elasto Painters
Microformat
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |