Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) m |
Kevin Wang (talk | contribs) |
||
Line 2: | Line 2: | ||
{| border=1 cellpadding=2 cellspacing=0 width=310 class="toccolours" style="float: right; margin: 0 0 0.75em 0.75em; background: #f9f9f9; border: 1px #c6c6c6 solid; border-collapse: collapse; font-size: 85%;" | {| border=1 cellpadding=2 cellspacing=0 width=310 class="toccolours" style="float: right; margin: 0 0 0.75em 0.75em; background: #f9f9f9; border: 1px #c6c6c6 solid; border-collapse: collapse; font-size: 85%;" | ||
|- style="border-bottom-width:0" | |- style="border-bottom-width:0" | ||
− | | align="center" colspan="2" style="border-bottom-width:0" |<strong style="font-size:9pt">'''{{{Name}}}'''</strong> | + | | align="center" colspan="2" style="border-bottom-width:0" |<strong style="font-size:9pt">'''{{#if:{{{Name|}}}|{{{Name}}}|{{#if:{{{1|}}}|{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}}} {{#if:{{{3|}}}|{{{3}}}}}}}'''</strong> |
|- | |- | ||
{{if|test={{{Image|}}}|then= | {{if|test={{{Image|}}}|then= | ||
Line 43: | Line 43: | ||
}} | }} | ||
|- | |- | ||
− | {{if | + | |'''Stats'''|| |
− | + | {{#if:{{{firstname|}}}{{{lastname|}}}{{{naqtstats|}}} | |
− | | | + | <!---->|{{#if:{{{firstname|}}}{{{lastname|}}} |
− | + | <!----><!---->|[https://hdwhite.org/qb/stats/player/{{{firstname}}}+{{{lastname}}} HDWhite]<br> | |
− | + | <!----><!---->{{#if:{{{naqtstats|}}} | |
− | + | <!----><!----><!---->|{{{naqtstats}}} | |
− | + | <!----><!----><!---->|[https://www.naqt.com/stats/player/search.jsp?PASSBACK=PLAYER_SEARCH&first_name={{{firstname}}}&last_name={{{lastname}}} NAQT page] | |
− | + | <!----><!---->}} | |
− | + | <!----><!---->|{{#if:{{{1|}}} | |
− | + | <!----><!----><!---->|{{#if:{{{2|}}} | |
− | + | <!----><!----><!----><!---->|[{{#if:{{{3|}}} | |
− | + | <!----><!----><!----><!----><!---->|https://hdwhite.org/qb/stats/player/{{{1}}}+{{{3}}} | |
− | }} | + | <!----><!----><!----><!----><!---->|https://hdwhite.org/qb/stats/player/{{{1}}}+{{{2}}} |
− | + | <!----><!----><!----><!---->}} HDWhite]<br/> | |
− | {{!-}} | + | <!----><!----><!---->}} |
− | {{ | + | <!----><!---->}}{{{naqtstats}}} |
− | {{!-}} | + | <!---->}} |
− | }} | + | <!---->|{{#if:{{{1|}}} |
− | | | + | <!----><!---->|{{#if:{{{2|}}} |
− | {{!-}} | + | <!----><!----><!---->|[{{#if:{{{3|}}} |
− | {{!}} | + | <!----><!----><!----><!---->|https://hdwhite.org/qb/stats/player/{{{1}}}+{{{3}}} |
− | + | <!----><!----><!----><!---->|https://hdwhite.org/qb/stats/player/{{{1}}}+{{{2}}} | |
+ | <!----><!----><!---->}} HDWhite]<br/> | ||
+ | <!----><!----><!---->[{{#if:{{{3|}}} | ||
+ | <!----><!----><!----><!---->|https://www.naqt.com/stats/player/search.jsp?PASSBACK=PLAYER_SEARCH&first_name={{{1}}}&last_name={{{3}}} | ||
+ | <!----><!----><!----><!---->|https://www.naqt.com/stats/player/search.jsp?PASSBACK=PLAYER_SEARCH&first_name={{{1}}}&last_name={{{2}}} | ||
+ | <!----><!----><!---->}} NAQT page] | ||
+ | <!----><!---->|n/a | ||
+ | <!----><!---->}} | ||
+ | <!---->|n/a | ||
+ | <!---->}} | ||
}} | }} | ||
|- | |- | ||
Line 102: | Line 111: | ||
|Name = Full Name | |Name = Full Name | ||
}} | }} | ||
− | Minimal box:<pre>{{Infobox | + | Minimal box: |
+ | <pre>{{Infobox | ||
|Name = Full Name | |Name = Full Name | ||
}}</pre> | }}</pre> | ||
Line 111: | Line 121: | ||
|lastname = Name | |lastname = Name | ||
}} | }} | ||
− | Box with firstname/lastname but no naqtstats:<pre>{{Infobox | + | Box with firstname/lastname but no naqtstats: |
+ | <pre>{{Infobox | ||
|Name = Full Name | |Name = Full Name | ||
|firstname = Full | |firstname = Full | ||
Line 121: | Line 132: | ||
|naqtstats = naqtstats | |naqtstats = naqtstats | ||
}} | }} | ||
− | Box with naqtstats but no firstname/lastname:<pre>{{Infobox | + | Box with naqtstats but no firstname/lastname: |
+ | <pre>{{Infobox | ||
|Name = Full Name | |Name = Full Name | ||
+ | |naqtstats = naqtstats | ||
+ | }}</pre> | ||
+ | |||
+ | {{Infobox | ||
+ | |Full|Name | ||
+ | }} | ||
+ | Box with full name passed in anonymous parameters. | ||
+ | <pre>{{Infobox | ||
+ | |Full|Name | ||
+ | }}</pre> | ||
+ | |||
+ | {{Infobox | ||
+ | |Full|Middle Initials|Name | ||
+ | }} | ||
+ | Box with full name + middle name passed in anonymous parameters. | ||
+ | <pre>{{Infobox | ||
+ | |Full|Middle Initials|Name | ||
+ | }}</pre> | ||
+ | |||
+ | {{Infobox | ||
+ | |Name=Explicitly specified full name | ||
+ | |Full|Name | ||
+ | }} | ||
+ | Box with full name passed in anonymous parameters and also manually specified. | ||
+ | <pre>{{Infobox | ||
+ | |Name=Explicitly specified full name | ||
+ | |Full|Name | ||
+ | }}</pre> | ||
+ | |||
+ | {{Infobox | ||
+ | |Full|Name | ||
+ | |naqtstats = naqtstats | ||
+ | }} | ||
+ | Box with full name passed in anonymous parameters and naqtstats. | ||
+ | <pre>{{Infobox | ||
+ | |Full|Name | ||
|naqtstats = naqtstats | |naqtstats = naqtstats | ||
}}</pre> | }}</pre> | ||
</noinclude> | </noinclude> |
Revision as of 16:30, 12 March 2021
Full Name | |
200px | |
---|---|
Noted Subjects: Subjects (optional) | |
Current Collegiate Team | schoolcur (optional) |
Past Collegiate Teams | schoolpast (optional) |
High School Team | highschool (optional) |
Middle School Team | middleschool (optional) |
Elementary School Team | elementaryschool (optional) |
Stats |
HDWhite |
Usage:
{{Infobox |Name = Full Name |Image = Image (optional) |Subjects = Subjects (optional) |schoolcur = schoolcur (optional) |schoolpast = schoolpast (optional) |highschool = highschool (optional) |middleschool = middleschool (optional) |elementaryschool = elementaryschool (optional) |firstname = Full (optional) |lastname = Name (optional) |naqtstats = naqtstats (optional) }}
firstname and lastname should be their first and last name as it appears in stats and is used to look up the name on HDWhite. If an explicit link to naqt stats is not provided via naqtstats, it will use the firstname and lastname to search them up on NAQT's player search.
Full Name | |
Noted Subjects: n/a | |
---|---|
Stats |
n/a |
Minimal box:
{{Infobox |Name = Full Name }}
Full Name | |
Noted Subjects: n/a | |
---|---|
Stats |
Box with firstname/lastname but no naqtstats:
{{Infobox |Name = Full Name |firstname = Full |lastname = Name }}
Full Name | |
Noted Subjects: n/a | |
---|---|
Stats |
naqtstats |
Box with naqtstats but no firstname/lastname:
{{Infobox |Name = Full Name |naqtstats = naqtstats }}
Full Name | |
Noted Subjects: n/a | |
---|---|
Stats |
Box with full name passed in anonymous parameters.
{{Infobox |Full|Name }}
Full Middle Initials Name | |
Noted Subjects: n/a | |
---|---|
Stats |
Box with full name + middle name passed in anonymous parameters.
{{Infobox |Full|Middle Initials|Name }}
Explicitly specified full name | |
Noted Subjects: n/a | |
---|---|
Stats |
Box with full name passed in anonymous parameters and also manually specified.
{{Infobox |Name=Explicitly specified full name |Full|Name }}
Full Name | |
Noted Subjects: n/a | |
---|---|
Stats |
HDWhite |
Box with full name passed in anonymous parameters and naqtstats.
{{Infobox |Full|Name |naqtstats = naqtstats }}