Template:Infobox Philippine collegiate team: Difference between revisions
Appearance
Content deleted Content added
m made logo optional |
Add two more parameters to check for unknown parameters |
||
(37 intermediate revisions by 10 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= and |
|||
|- 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|}}}}} }} |
|||
|- |
|||
}} |
|||
{{#if: {{{teamlogo<includeonly>|</includeonly>}}} | |
|||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{teamlogo<includeonly>|</includeonly>}}}|size={{{size|}}}|sizedefault=125px|alt={{{teamlogo_alt<includeonly>|Logo of {{{name|{{PAGENAMEBASE}}}}}</includeonly>}}}}} |
|||
{{!}} class="maptable" colspan="2" align="center" style="padding: 0.4em 0.8em 0.4em 0.8em; vertical-align: middle; border: 0; background:transparent;" {{!}} [[Image:{{{teamlogo}}}|{{{size|125px}}}|{{PAGENAME}} logo]] }} |
|||
|- style="vertical-align: middle;" |
|||
| label1 = School |
|||
|width=40%| '''League''' ||width=60%|{{{league}}} |
|||
| data1 = {{{schoolname<includeonly>|</includeonly>}}} |
|||
|- valign="center" |
|||
|| '''Joined''' || {{{founded}}} |
|||
| label2 = League |
|||
|- style="vertical-align: middle;" |
|||
| data2 = {{{league<includeonly>|</includeonly>}}} |
|||
|| '''Location''' || {{{location}}} |
|||
|- style="vertical-align: middle;" |
|||
| label3 = Joined |
|||
|| '''Team colors''' || {{{colors}}} |
|||
| data3 = {{{founded<includeonly>|</includeonly>}}} |
|||
|- |
|||
{{#if: {{{junior<includeonly>|</includeonly>}}} | |
|||
| label4 = Former league |
|||
{{!!}} '''Juniors' team''' {{!!}} {{{junior}}} }} |
|||
| data4 = {{{former_league<includeonly>|</includeonly>}}} |
|||
|- |
|||
{{#if: {{{women<includeonly>|</includeonly>}}} | |
|||
| label5 = Location |
|||
{{!!}} '''Women's team''' {{!!}} {{{women}}} }} |
|||
| data5 = {{{location<includeonly>|</includeonly>}}} |
|||
|- align="center" style="color:{{{color1}}}; background-color:{{{color2}}}; padding:5px;" |
|||
| colspan="2" | {{#if: {{{titles<includeonly>|</includeonly>}}} | '''Seniors' general championships''' |
|||
| label6 = Venue/s |
|||
{{!}}- align="center" |
|||
| data6 = {{{venue<includeonly>|</includeonly>}}} |
|||
|- align="center" style="color:{{{color1}}}; background-color:{{{color3|{{{color2}}}}}}; padding:5px;" |
|||
| label7 = Athletic director |
|||
| colspan="2" | {{#if: {{{jtitles<includeonly>|</includeonly>}}} | '''Juniors' general championships''' |
|||
| data7 = {{{director<includeonly>|</includeonly>}}} |
|||
{{!}}- align="center" |
|||
{{!}} colspan="2"{{!}} {{{jtitles}}}: {{{jtotal<includeonly>|none</includeonly>}}}<br>{{{jtitles2<includeonly>|</includeonly>}}}{{{jtotal2<includeonly>|</includeonly>}}}}} |
|||
| label8 = Team colors |
|||
|- |
|||
| data8 = {{{colors<includeonly>|</includeonly>}}} |
|||
{{!}} colspan="2" {{!}} <hr /> |
|||
| label9 = Fight song |
|||
{{!}}- |
|||
| data9 = {{{song<includeonly>|</includeonly>}}} |
|||
{{!}} '''Website''' {{!!}} [http://{{{website}}} {{{website}}}]}} |
|||
|- |
|||
| label10 = {{nowrap|Women's team}} |
|||
|}<noinclude> |
|||
| data10 = {{{women<includeonly>|</includeonly>}}} |
|||
[[Category:Sports infobox templates|{{PAGENAME}}]] |
|||
</noinclude> |
|||
| 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>}}} }} |
|||
|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 | |
| |
Juniors' general championships | |
|
Template documentation
{{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 =
}}