Jump to content

Template:Infobox Philippine collegiate team: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
+support for MOS:ALT
Add two more parameters to check for unknown parameters
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{infobox
{{infobox
| bodyclass = vcard
| bodyclass = vcard
| titleclass = fn org
| aboveclass = fn org
| above = {{separated entries|separator= and 
| titlestyle = font-size: medium;;
| title ={{{name|{{PAGENAMEBASE}}}}}
|1={{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
|2={{#if:{{{name2|}}}| {{nowrap|{{{name2|}}}}} }}
| subheaderstyle = font-weight:bold;
}}
| subheader = {{#ifexist:{{{schoolname}}} | [[{{{schoolname}}}|{{{schoolname}}}]] | {{{schoolname<includeonly>|</includeonly>}}} }}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{teamlogo<includeonly>|</includeonly>}}}|size={{{size|}}}|sizedefault=125px|alt={{{teamlogo_alt<includeonly>|Logo of {{{name|{{PAGENAMEBASE}}}}}</includeonly>}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{teamlogo<includeonly>|</includeonly>}}}|size={{{size|}}}|sizedefault=125px|alt={{{teamlogo_alt<includeonly>|Logo of {{{name|{{PAGENAMEBASE}}}}}</includeonly>}}}}}


| label1 = League
| label1 = School
| data1 = {{{league<includeonly>|</includeonly>}}}
| data1 = {{{schoolname<includeonly>|</includeonly>}}}


| label2 = Joined
| label2 = League
| data2 = {{{founded<includeonly>|</includeonly>}}}
| data2 = {{{league<includeonly>|</includeonly>}}}


| label3 = Location
| label3 = Joined
| data3 = {{{location<includeonly>|</includeonly>}}}
| data3 = {{{founded<includeonly>|</includeonly>}}}


| label4 = Team colors
| label4 = Former league
| data4 = {{{colors<includeonly>|</includeonly>}}}
| data4 = {{{former_league<includeonly>|</includeonly>}}}


| label5 = Fight song
| label5 = Location
| data5 = {{{song<includeonly>|</includeonly>}}}
| data5 = {{{location<includeonly>|</includeonly>}}}


| label6 = {{nowrap|Women's team}}
| label6 = Venue/s
| data6 = {{{women<includeonly>|</includeonly>}}}
| data6 = {{{venue<includeonly>|</includeonly>}}}


| label7 = {{nowrap|Juniors' team}}
| label7 = Athletic director
| data7 = {{{junior<includeonly>|</includeonly>}}}
| data7 = {{{director<includeonly>|</includeonly>}}}


| label8 = Team colors
| header8 = {{#if: {{{titles<includeonly>|</includeonly>}}} |<div style="background-color:#ccf; width:100%;">Seniors' general championships</div>}}
| data8 = {{{colors<includeonly>|</includeonly>}}}
| data9 = {{unbulleted list

| label9 = Fight song
| data9 = {{{song<includeonly>|</includeonly>}}}

| label10 = {{nowrap|Women's team}}
| data10 = {{{women<includeonly>|</includeonly>}}}

| label11 = {{nowrap|Juniors' team}}
| data11 = {{{junior<includeonly>|</includeonly>}}}

| label12 = Website
| data12 = {{#if:{{{website<includeonly>|</includeonly>}}}|{{URL|1={{{website}}}}}}}

| header13 = {{#if: {{{titles<includeonly>|</includeonly>}}} |<div style="background-color:#EEEEEE; width:100%;">Seniors' general championships</div>}}
| data14 = {{unbulleted list
|1= {{#if: {{{titles<includeonly>|</includeonly>}}} | {{{titles}}}: {{{total<includeonly>|none</includeonly>}}} }}
|1= {{#if: {{{titles<includeonly>|</includeonly>}}} | {{{titles}}}: {{{total<includeonly>|none</includeonly>}}} }}
|2= {{#if: {{{titles2<includeonly>|</includeonly>}}}| {{{titles2}}}: {{{total2<includeonly>|none</includeonly>}}} }}
|2= {{#if: {{{titles2<includeonly>|</includeonly>}}}| {{{titles2}}}: {{{total2<includeonly>|none</includeonly>}}} }}
}}
}}


| header10 = {{#if: {{{jtitles<includeonly>|</includeonly>}}} | <div style="background-color:#ccf; width:100%;">Juniors' general championships</div>}}
| header15 = {{#if: {{{jtitles<includeonly>|</includeonly>}}} | <div style="background-color:#EEEEEE; width:100%;">Juniors' general championships</div>}}
| data11 = {{unbulleted list
| data16 = {{unbulleted list
|1= {{#if: {{{jtitles<includeonly>|</includeonly>}}} | {{{jtitles}}}: {{{jtotal<includeonly>|none</includeonly>}}} }}
|1= {{#if: {{{jtitles<includeonly>|</includeonly>}}} | {{{jtitles}}}: {{{jtotal<includeonly>|none</includeonly>}}} }}
|2 ={{#if: {{{jtitles2<includeonly>|</includeonly>}}}| {{{jtitles2}}}: {{{jtotal2<includeonly>|none</includeonly>}}} }}
|2 ={{#if: {{{jtitles2<includeonly>|</includeonly>}}}| {{{jtitles2}}}: {{{jtotal2<includeonly>|none</includeonly>}}} }}
}}
}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox Philippine collegiate team with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Philippine collegiate team]] with unknown parameter "_VALUE_"|ignoreblank=y| colors | director | former_league | founded | jtitles | jtitles2 | jtotal | jtotal2 | junior | league | location | name | schoolname | size | song | teamlogo | teamlogo_alt | titles | titles2 | total | total2 | venue | website | women }}<noinclude>{{documentation|content=
| data12 = {{#if:{{{website<includeonly>|</includeonly>}}}|<hr />}}
<syntaxhighlight lang="wikitext">
| label13 = Website
| data13 = {{#if:{{{website<includeonly>|</includeonly>}}}|{{URL|1={{{website}}}}}}}

}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox Philippine collegiate team with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Philippine collegiate team]] with unknown parameter "_VALUE_"|ignoreblank=y| colors | founded | jtitles | jtitles2 | jtotal | jtotal2 | junior | league | location | name | schoolname | size | song | teamlogo | titles | titles2 | total | total2 | website | women }}<noinclude>{{documentation|content=
<pre>
{{Infobox Philippine collegiate team
{{Infobox Philippine collegiate team
| name =
| name =
| schoolname =
| schoolname =
| color1 =
| color2 =
| color3 =
| teamlogo =
| teamlogo =
| teamlogo_alt =
| teamlogo_alt =
| size =
| size =
| league =
| league = <!---Main school league--->
| founded =
| founded =
| former_league = <!---Former school league and date of membership--->
| location =
| location = <!---School location--->
| venue = <!---Home arena, stadium or grounds--->
| director = <!---athletic director--->
| colors =
| colors =
| song =
| song =
Line 73: Line 84:
| website =
| website =
}}
}}
</syntaxhighlight>
</pre>
[[Category:Sports infobox templates]]
[[Category:Sports infobox templates|Philippine collegiate team]]
}}</noinclude>
}}</noinclude>

Latest revision as of 02:31, 4 September 2023

[[File:{{{teamlogo}}}|125px|alt={{{teamlogo_alt}}}]]
School{{{schoolname}}}
League{{{league}}}
Joined{{{founded}}}
Former league{{{former_league}}}
Location{{{location}}}
Venue/s{{{venue}}}
Athletic director{{{director}}}
Team colors{{{colors}}}
Fight song{{{song}}}
Women's team{{{women}}}
Juniors' team{{{junior}}}
Website{{{website}}}
Seniors' general championships
  • {{{titles}}}: {{{total}}}
  • {{{titles2}}}: {{{total2}}}
Juniors' general championships
  • {{{jtitles}}}: {{{jtotal}}}
  • {{{jtitles2}}}: {{{jtotal2}}}