Difference between revisions of "Template:Infobox Philippine college sports general championship"
Jump to navigation
Jump to search
imported>McVahl (corrected data numbering) |
imported>McVahl (→top: hide all data fields when a season is cancelled, except for host school) |
||
Line 14: | Line 14: | ||
| data1 = {{{host|}}} | | data1 = {{{host|}}} | ||
− | | header2 = {{{title|Overall}}} | + | | header2 = {{#switch:{{lc:{{{cancelled|}}}}}|y|yes=|#default={{{title|Overall}}} }} |
− | | label3 = Seniors | + | | label3 = {{#switch:{{lc:{{{cancelled|}}}}}|y|yes=Status|#default=Seniors}} |
− | | data3 = {{{seniors|}}} | + | | data3 = {{#switch:{{lc:{{{cancelled|}}}}}|y|yes=''Cancelled''|#default={{{seniors|}}} }} |
− | | label4 = Juniors | + | | label4 = Juniors |
− | | data4 = {{{juniors|}}} | + | | data4 = {{{juniors|}}} |
− | | header6 = Seniors' champions | + | | header6 = {{#switch:{{lc:{{{cancelled|}}}}}|y|yes=|#default=Seniors' champions}} |
| data7 = {{Infobox3cols | | data7 = {{Infobox3cols | ||
| child =yes | | child =yes | ||
| label1 = {{align|center|Sport}} | | label1 = {{align|center|Sport}} | ||
− | | data1b = {{align|center|'''Men'''}} | + | | data1b = {{#switch:{{lc:{{{cancelled|}}}}}|y|yes=|#default={{align|center|'''Men'''}} }} |
| data1c = {{align|center|'''Women'''}} | | data1c = {{align|center|'''Women'''}} | ||
| label2 = Basketball | | label2 = Basketball | ||
Line 82: | Line 82: | ||
}} | }} | ||
− | | header8 = Juniors' champions | + | | header8 = {{#switch:{{lc:{{{cancelled|}}}}}|y|yes=|#default=Juniors' champions}} |
| data9 = {{Infobox3cols | | data9 = {{Infobox3cols | ||
| child =yes | | child =yes | ||
| label1 = {{align|center|Sport}} | | label1 = {{align|center|Sport}} | ||
− | | data1b = {{align|center|'''Boys'''}} | + | | data1b = {{#switch:{{lc:{{{cancelled|}}}}}|y|yes=|#default={{align|center|'''Boys'''}} }} |
| data1c = {{align|center|'''Girls'''}} | | data1c = {{align|center|'''Girls'''}} | ||
| label2 = Basketball | | label2 = Basketball | ||
Line 134: | Line 134: | ||
| data15c = {{{sport15-girls|}}} | | data15c = {{{sport15-girls|}}} | ||
}} | }} | ||
− | | data10 = ''<small>(NT) = No tournament; (DS) = Demonstration Sport;<br>(Ex) = Exhibition;</small>'' | + | | data10 = {{#switch:{{lc:{{{cancelled|}}}}}|y|yes=|#default=''<small>(NT) = No tournament; (DS) = Demonstration Sport;<br>(Ex) = Exhibition;</small>''}} |
| below = {{#if: {{{prev|}}}{{{next|}}}| | | below = {{#if: {{{prev|}}}{{{next|}}}| | ||
* [[{{{league|}}} Season {{{prev|}}}|← Season {{{prev|}}}]] | * [[{{{league|}}} Season {{{prev|}}}|← Season {{{prev|}}}]] |
Revision as of 16:59, 11 December 2020
![]() | To test changes, please do so at Template:Infobox Philippine college sports general championship/sandbox first, and then implement them here. See also the companion subpage for test cases at Template:Infobox Philippine college sports general championship/testcases. |
Usage
Template:Parameter names example
{{Infobox Philippine college sports general championship | name = | image = | tagline = | seniors = {{TBD}} | juniors = {{TBD}} | host = | bask-men = {{TBD}} | bask-wom = {{TBD}} | bask-boys = {{TBD}} | bask-girls = {{TBD}} | voll-men = {{TBD}} | voll-wom = {{TBD}} | voll-boys = {{TBD}} | voll-girls = {{TBD}} | sport3 = | sport3-men = | sport3-wom = | sport4 = | jsport4 = | sport4-men = | sport4-wom = | sport4-boys = | sport4-girls = | sport5 = | jsport5 = | sport5-men = | sport5-wom = | sport5-boys = | sport5-girls = | sport6 = | sport6-men = | sport6-wom = | sport6-boys = | sport6-girls = | sport7 = | jsport7 = | sport7-men = | sport7-wom = | sport7-boys = | sport7-girls = | sport8 = | jsport8 = | sport8-men = | sport8-wom = | sport8-boys = | sport8-girls = | sport9 = | sport9-men = | sport9-wom = | sport9-boys = | sport9-girls = | sport10 = | jsport10 = | sport10-men = | sport10-wom = | sport10-boys = | sport10-girls = | sport11 = | jsport11 = | sport11-men = | sport11-wom = | sport11-boys = | sport11-girls = | sport12 = | jsport12 = | sport12-men = | sport12-wom = | sport12-boys = | sport12-girls = | sport13 = | sport13-men = | sport13-wom = | sport13-boys = | sport13-girls = | sport14 = | jsport14 = | sport14-men = | sport14-wom = | sport14-boys = | sport14-girls = | sport15 = | jsport15 = | sport15-men = | sport15-wom = | sport15-boys = | sport15-girls = | sport16 = | sport16-men = | sport16-wom = | poomsae = | cheerdance = | street dance = | ballroom = | league = | prev = | seasonlist = | next = }}
The above documentation is transcluded from Template:Infobox Philippine college sports general championship/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |