Jump to content

Template:Infobox Philippine collegiate team: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
fixed syntax
Add two more parameters to check for unknown parameters
 
(43 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{infobox
{| class="infobox vcard" style="width:23em; font-size: 88%; line-height:1.5em;"
| bodyclass = vcard
|- align="center" style="border:1px; font-size: medium; color:{{{color1}}}; background-color:{{{color2}}}; padding:5px;" |
| aboveclass = fn org
| colspan="2" | '''<span class="fn org">{{{name}}}</span>'''
| above = {{separated entries|separator=&#32;and&nbsp;
|- align="center" border=1px style="background-color:{{{color3|{{{color2}}}}}}; padding:5px;" |
|1={{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
|colspan=2|'''[[{{{schoolname}}}|<span style="color:{{{color1}}}">{{{schoolname}}}</span>]]'''
|2={{#if:{{{name2|}}}| {{nowrap|{{{name2|}}}}} }}
|-
}}
| class="maptable" colspan="2" align="center" style="padding: 0.4em 0.8em 0.4em 0.8em;" |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{teamlogo<includeonly>|</includeonly>}}}|size={{{size|}}}|sizedefault=125px|alt={{{teamlogo_alt<includeonly>|Logo of {{{name|{{PAGENAMEBASE}}}}}</includeonly>}}}}}
{|

| align=center style="vertical-align: middle; border: 0;"|
| label1 = School
{{!}} align=center style="vertical-align: middle; border: 0; background:transparent;" {{!}} [[Image:{{{teamlogo}}}|{{{size|125px}}}|{{PAGENAME}} logo]]
| data1 = {{{schoolname<includeonly>|</includeonly>}}}
|}

|- style="vertical-align: middle;"
| label2 = League
|width=40%| '''League''' ||width=60%|{{{league}}}
| data2 = {{{league<includeonly>|</includeonly>}}}
|- valign="center"

|| '''Joined''' || {{{founded}}}
| label3 = Joined
|- style="vertical-align: middle;"
| data3 = {{{founded<includeonly>|</includeonly>}}}
|| '''Location''' || {{{location}}}

|- style="vertical-align: middle;"
| label4 = Former league
|| '''Team colors''' || {{{colors}}}
| data4 = {{{former_league<includeonly>|</includeonly>}}}
|-

{{#if: {{{junior<includeonly>|</includeonly>}}} |
| label5 = Location
{{!!}} '''Juniors' team''' {{!!}} {{{junior}}} }}
| data5 = {{{location<includeonly>|</includeonly>}}}
|-

{{#if: {{{women<includeonly>|</includeonly>}}} |
| label6 = Venue/s
{{!!}} '''Women's team''' {{!!}} {{{women}}} }}
| data6 = {{{venue<includeonly>|</includeonly>}}}
|-

{{#if: {{{cheer<includeonly>|</includeonly>}}} |
| label7 = Athletic director
{{!!}} '''Staple cheer''' {{!!}} {{{cheer}}} }}
| data7 = {{{director<includeonly>|</includeonly>}}}
|- align="center" style="color:{{{color1}}}; background-color:{{{color2}}}; padding:5px;"

| colspan="2" | {{#if: {{{titles<includeonly>|</includeonly>}}} | '''Seniors' general championships'''
| label8 = Team colors
{{!}}- align="center"
{{!}} colspan="2"{{!}} {{{titles}}}: {{{total<includeonly>|none</includeonly>}}}<br>{{{titles2<includeonly>|</includeonly>}}}{{{total2<includeonly>|</includeonly>}}} }}
| data8 = {{{colors<includeonly>|</includeonly>}}}

|- align="center" style="color:{{{color1}}}; background-color:{{{color2}}}; padding:5px;"
| label9 = Fight song
| colspan="2" | {{#if: {{{jtitles<includeonly>|</includeonly>}}} | '''Juniors' general championships'''
| data9 = {{{song<includeonly>|</includeonly>}}}
{{!}}- align="center"

{{!}} colspan="2"{{!}} {{{jtitles}}}: {{{jtotal<includeonly>|none</includeonly>}}}<br>{{{jtitles2<includeonly>|</includeonly>}}}{{{jtotal2<includeonly>|</includeonly>}}}}}
| label10 = {{nowrap|Women's team}}
|-
{{#if: {{{website<includeonly>|</includeonly>}}} |
| data10 = {{{women<includeonly>|</includeonly>}}}

{{!}} colspan="2" {{!}} <hr />
| label11 = {{nowrap|Juniors' team}}
{{!}}-
| data11 = {{{junior<includeonly>|</includeonly>}}}
{{!}} '''Website''' {{!!}} [http://{{{website}}} {{{website}}}]}}

|-
| label12 = Website
|}<noinclude>
| data12 = {{#if:{{{website<includeonly>|</includeonly>}}}|{{URL|1={{{website}}}}}}}
[[Category:Sports infobox templates|{{PAGENAME}}]]

</noinclude>
| 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>}}} }}
|2= {{#if: {{{titles2<includeonly>|</includeonly>}}}| {{{titles2}}}: {{{total2<includeonly>|none</includeonly>}}} }}
}}

| header15 = {{#if: {{{jtitles<includeonly>|</includeonly>}}} | <div style="background-color:#EEEEEE; width:100%;">Juniors' general championships</div>}}
| data16 = {{unbulleted list
|1= {{#if: {{{jtitles<includeonly>|</includeonly>}}} | {{{jtitles}}}: {{{jtotal<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=
<syntaxhighlight lang="wikitext">
{{Infobox Philippine collegiate team
| name =
| schoolname =
| teamlogo =
| teamlogo_alt =
| size =
| league = <!---Main school league--->
| founded =
| former_league = <!---Former school league and date of membership--->
| location = <!---School location--->
| venue = <!---Home arena, stadium or grounds--->
| director = <!---athletic director--->
| colors =
| song =
| women =
| junior =
| titles =
| total =
| titles2 =
| total2 =
| jtitles =
| jtotal =
| jtitles2 =
| jtotal2 =
| website =
}}
</syntaxhighlight>
[[Category:Sports infobox templates|Philippine collegiate team]]
}}</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}}}