Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) |
Kevin Wang (talk | contribs) |
||
Line 3: | Line 3: | ||
|- 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">'''{{{Name}}}'''</strong> | ||
− | |- style="border-top-width:0" | + | |- |
− | ! align=center colspan=2 style="border-top-width:0" | + | {{if|test={{{Image|}}}|then= |
+ | {{!-}} | ||
+ | style="border-top-width:0" | ||
+ | ! align=center colspan=2 style="border-top-width:0" {{!}} [[Image:{{{Image}}}|200px]] | ||
{{{Caption|}}} | {{{Caption|}}} | ||
+ | {{!-}} | ||
+ | }} | ||
|- | |- | ||
! align=center colspan=2| Noted Subjects: <br> {{{Subjects|n/a}}} | ! align=center colspan=2| Noted Subjects: <br> {{{Subjects|n/a}}} | ||
|- | |- | ||
− | |'''Current Collegiate Team''' | + | {{if|test={{{schoolcur|}}}|then= |
+ | {{!-}} | ||
+ | {{!}}'''Current Collegiate Team'''{{!!}} {{{schoolcur}}} | ||
+ | {{!-}} | ||
+ | }} | ||
|- | |- | ||
− | |'''Past Collegiate Teams''' | + | {{if|test={{{schoolpast|}}}|then= |
+ | {{!-}} | ||
+ | {{!}}'''Past Collegiate Teams'''{{!!}} {{{schoolpast}}} | ||
+ | {{!-}} | ||
+ | }} | ||
|- | |- | ||
− | |'''High School Team''' | + | {{if|test={{{highschool|}}}|then= |
+ | {{!-}} | ||
+ | {{!}}'''High School Team'''{{!!}} {{{highschool}}} | ||
+ | {{!-}} | ||
+ | }} | ||
|- | |- | ||
− | |'''Middle School Team''' | + | {{if|test={{{middleschool|}}}|then= |
+ | {{!-}} | ||
+ | {{!}}'''Middle School Team'''{{!!}} {{{middleschool}}} | ||
+ | {{!-}} | ||
+ | }} | ||
|- | |- | ||
− | + | {{if|test={{{firstname|}}}{{{lastname|}}}{{{naqtstats|}}}|then={{if|test={{{firstname|}}}{{{lastname|}}}|then= | |
+ | {{!-}} | ||
+ | {{!}}'''Stats'''{{!!}}[https://hdwhite.org/qb/stats/player/{{{firstname}}}+{{{lastname}}} HDWhite]}}{{if|test={{{naqtstats|}}}|then={{{naqtstats}}}|else=[https://www.naqt.com/stats/player/search.jsp?PASSBACK=PLAYER_SEARCH&first_name={{{firstname}}}&last_name={{{lastname}}} NAQT page]}} | ||
+ | {{!-}} | ||
+ | |else= | ||
+ | {{!-}} | ||
+ | {{!}}'''Stats'''{{!!}}n/a | ||
+ | {{!-}} | ||
+ | }} | ||
|- | |- | ||
|} | |} | ||
Line 24: | Line 53: | ||
{{Infobox | {{Infobox | ||
|Name = Full Name | |Name = Full Name | ||
− | |Image = | + | |Image = Image (optional) |
− | |Subjects = Subjects | + | |Subjects = Subjects (optional) |
− | |schoolcur = schoolcur | + | |schoolcur = schoolcur (optional) |
− | |schoolpast = schoolpast | + | |schoolpast = schoolpast (optional) |
− | |highschool = highschool | + | |highschool = highschool (optional) |
− | |middleschool = middleschool | + | |middleschool = middleschool (optional) |
|firstname = Full | |firstname = Full | ||
|lastname = Name | |lastname = Name | ||
− | |naqtstats = naqtstats | + | |naqtstats = naqtstats (optional) |
}} | }} | ||
Usage:<pre>{{Infobox | Usage:<pre>{{Infobox | ||
|Name = Full Name | |Name = Full Name | ||
− | |Image = | + | |Image = Image (optional) |
− | |Subjects = Subjects | + | |Subjects = Subjects (optional) |
− | |schoolcur = schoolcur | + | |schoolcur = schoolcur (optional) |
− | |schoolpast = schoolpast | + | |schoolpast = schoolpast (optional) |
− | |highschool = highschool | + | |highschool = highschool (optional) |
− | |middleschool = middleschool | + | |middleschool = middleschool (optional) |
− | |firstname = Full | + | |firstname = Full (optional) |
− | |lastname = Name | + | |lastname = Name (optional) |
− | |naqtstats = naqtstats | + | |naqtstats = naqtstats (optional) |
}}</pre> | }}</pre> | ||
Revision as of 22:55, 23 December 2020
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) |
Stats | HDWhitenaqtstats (optional) |
Usage:
{{Infobox |Name = Full Name |Image = Image (optional) |Subjects = Subjects (optional) |schoolcur = schoolcur (optional) |schoolpast = schoolpast (optional) |highschool = highschool (optional) |middleschool = middleschool (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 }}